Skip to content

Commit 93bdfb7

Browse files
committed
https urls for Report widget.
1 parent dc55c91 commit 93bdfb7

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

widgets/Report.js

+3-8
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ define([
1919
// a custom version for loading AMD-style
2020
'./libs/jsPDF/jspdf.debug'
2121

22-
// cannot load the current version from the CDN!
23-
//'//cdnjs.cloudflare.com/ajax/libs/jspdf/1.1.135/jspdf.min.js'
24-
2522
], function (
2623
declare,
2724
_WidgetBase,
@@ -63,18 +60,16 @@ define([
6360
addjsPDFModules: function () {
6461
var modules = [
6562
// load the autotable plugin
66-
//'//cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/2.0.16/jspdf.plugin.autotable.js'
67-
'//cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/2.0.16/jspdf.plugin.autotable.src.js'
63+
'https//cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/2.0.16/jspdf.plugin.autotable.js'
6864
];
6965

7066
switch (this.reportLayout.output.type) {
7167
case 'blob':
7268
case 'bloburi':
7369
case 'bloburl':
7470
case 'save':
75-
modules.push('//cdn.rawgit.com/eligrey/Blob.js/master/Blob.js');
76-
//modules.push('//cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2014-11-29/FileSaver.min.js');
77-
modules.push('//cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2014-11-29/FileSaver.js');
71+
modules.push('https//cdn.rawgit.com/eligrey/Blob.js/master/Blob.js');
72+
modules.push('https//cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2014-11-29/FileSaver.min.js');
7873
break;
7974
default:
8075
}

0 commit comments

Comments
 (0)