diff --git a/js/jquery.mobile.define.js b/js/jquery.mobile.define.js index ee6d6610..2c644f41 100644 --- a/js/jquery.mobile.define.js +++ b/js/jquery.mobile.define.js @@ -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 ); };