define jquery module if loading jQuery < 1.7

This commit is contained in:
Ghislain Seguin 2012-01-19 17:55:05 -08:00
parent 6abfc8688e
commit b760b6cf65

View file

@ -20,5 +20,9 @@
break;
}
document.write( "<script src='"+url+"'></script>" );
document.write( "<script src='" + url + "'></script>" );
if ( parseInt( version.replace( /\./g, "" ), 10 ) < 170 && window.define && window.define.amd ) {
define( "jquery", [], function () { return jQuery; } );
}
}());