From 34ce8a8feb690b83caeb0bfc89baca07f157c380 Mon Sep 17 00:00:00 2001 From: Ghislain Seguin Date: Wed, 23 Nov 2011 10:34:04 -0800 Subject: [PATCH] Added jQuery AMD shim to support jQuery < 1.7 --- js/jquery.amd.shim.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 js/jquery.amd.shim.js diff --git a/js/jquery.amd.shim.js b/js/jquery.amd.shim.js new file mode 100644 index 00000000..c93be3d6 --- /dev/null +++ b/js/jquery.amd.shim.js @@ -0,0 +1,3 @@ +if ( typeof define === "function" && define.amd && !define.amd.jQuery ) { + define( "jquery", [], function () { return jQuery; } ); +} \ No newline at end of file