aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-08-15 14:15:49 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-08-15 14:15:49 -0400
commit6318ae6ab90d4b450dfadf32ab95fe52ed6331cb (patch)
tree50b247fed8569e909e380b281e9145bd1458a39e /src/jquery.js
parent7627b8b6d9ef6e57dbd20a55b946bd1991c1223e (diff)
downloadjquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.tar.gz
jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.zip
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Diffstat (limited to 'src/jquery.js')
-rw-r--r--src/jquery.js38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/jquery.js b/src/jquery.js
new file mode 100644
index 000000000..ce3ad8e2f
--- /dev/null
+++ b/src/jquery.js
@@ -0,0 +1,38 @@
+define([
+ "./core",
+ "./selector",
+ "./callbacks",
+ "./deferred",
+ "./core/ready",
+ "./traversing",
+ "./data",
+ "./queue",
+ "./queue/delay",
+ "./attributes",
+ "./event",
+ "./event/alias",
+ "./manipulation",
+ "./manipulation/_evalUrl",
+ "./wrap",
+ "./css",
+ "./css/hidden-visible-selectors",
+ "./serialize",
+ "./ajax",
+ "./ajax/xhr",
+ "./ajax/script",
+ "./ajax/jsonp",
+ "./ajax/load",
+ "./effects",
+ "./effects/animated-selector",
+ "./offset",
+ "./dimensions",
+ "./support",
+ "./deprecated"
+], function( jQuery ) {
+
+// Expose jQuery and $ identifiers, even in
+// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
+// and CommonJS for browser emulators (#13566)
+return (window.jQuery = window.$ = jQuery);
+
+});