mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Moved the conditional define call within a document.write
This commit is contained in:
parent
eadf804d4b
commit
9f3c58caf6
1 changed files with 1 additions and 1 deletions
|
|
@ -23,6 +23,6 @@
|
|||
document.write( "<script src='" + url + "'></script>" );
|
||||
|
||||
if ( parseInt( version.replace( /\./g, "" ), 10 ) < 170 && window.define && window.define.amd ) {
|
||||
define( "jquery", [], function () { return jQuery; } );
|
||||
document.write( '<script>define( "jquery", [], function () { return jQuery; } );</script>' );
|
||||
}
|
||||
}());
|
||||
Loading…
Reference in a new issue