Skip to content

Commit c8de582

Browse files
committed
made jsqlmyadmin work on local files, cordova
1 parent f203c16 commit c8de582

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

plugins/jSQLMyAdmin/userscript.jSQLMyAdmin.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,30 @@ void(function () {
2828
if (typeof window.jSQL === 'undefined'){
2929
resources.push({
3030
// jSQL edge
31-
js: ['//gitcdn.xyz/repo/Pamblam/jSQL/master/jSQL.min.js'],
31+
js: ['https://gitcdn.xyz/repo/Pamblam/jSQL/master/jSQL.min.js'],
3232
css: []
3333
});
3434
}
3535
if(typeof jQuery === 'undefined') resources.push({
36-
js: ['//code.jquery.com/jquery-2.2.4.js'],
36+
js: ['https://code.jquery.com/jquery-2.2.4.js'],
3737
css: []
3838
});
3939
if(typeof jQuery === 'undefined' || !jQuery.ui) resources.push({
40-
js: ['//code.jquery.com/ui/1.12.0/jquery-ui.min.js'],
41-
css: ['//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css'],
40+
js: ['https://code.jquery.com/ui/1.12.0/jquery-ui.min.js'],
41+
css: ['https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css'],
4242
});
4343
if(typeof jQuery === 'undefined' || !$.fn.dataTableExt) resources.push({
44-
js: ['//cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js',
45-
'//cdn.datatables.net/1.10.13/js/dataTables.jqueryui.min.js'],
46-
css: ['//cdn.datatables.net/1.10.13/css/dataTables.jqueryui.min.css'],
44+
js: ['https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js',
45+
'https://cdn.datatables.net/1.10.13/js/dataTables.jqueryui.min.js'],
46+
css: ['https://cdn.datatables.net/1.10.13/css/dataTables.jqueryui.min.css'],
4747
});
4848
if(typeof CodeMirror === "undefined") resources.push({
49-
js: ['//cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/codemirror.js',
50-
'//cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/mode/sql/sql.js',
51-
'//cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/addon/hint/show-hint.js',
52-
'//cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/addon/hint/sql-hint.js'],
53-
css: ['//cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/codemirror.css',
54-
'//cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/addon/hint/show-hint.css'],
49+
js: ['https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/codemirror.js',
50+
'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/mode/sql/sql.js',
51+
'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/addon/hint/show-hint.js',
52+
'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/addon/hint/sql-hint.js'],
53+
css: ['https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/codemirror.css',
54+
'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/addon/hint/show-hint.css'],
5555
});
5656

5757
showjSQLLoader();

0 commit comments

Comments
 (0)