Added jQuery as a param to the define shim

This commit is contained in:
Ghislain Seguin 2012-01-12 23:19:36 -08:00
parent 323601ad25
commit bc6cfbfb53

View file

@ -1,5 +1,5 @@
// creates the define method on window, only used where async loading
// is not desired in the docs and experiments
window.define = function(){
Array.prototype.slice.call(arguments).pop()();
Array.prototype.slice.call( arguments ).pop()( window.jQuery );
};