From bc6cfbfb53170c6f27c6b15cce0da6467a079cd4 Mon Sep 17 00:00:00 2001 From: Ghislain Seguin Date: Thu, 12 Jan 2012 23:19:36 -0800 Subject: [PATCH] Added jQuery as a param to the define shim --- js/jquery.mobile.define.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); };