Moved the conditional define call within a document.write

This commit is contained in:
Ghislain Seguin 2012-01-22 22:43:28 -08:00
parent eadf804d4b
commit 9f3c58caf6

View file

@ -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>' );
}
}());