mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-11 09:51:01 +00:00
Added jQuery as a param to the define shim
This commit is contained in:
parent
323601ad25
commit
bc6cfbfb53
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue