mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Added jQuery AMD shim to support jQuery < 1.7
This commit is contained in:
parent
d280d6ac9d
commit
a4fc1f6f9d
1 changed files with 3 additions and 0 deletions
3
js/jquery.amd.shim.js
Normal file
3
js/jquery.amd.shim.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
if ( typeof define === "function" && define.amd && !define.amd.jQuery ) {
|
||||
define( "jquery", [], function () { return jQuery; } );
|
||||
}
|
||||
Loading…
Reference in a new issue