diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 14:15:49 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 15:49:49 -0400 |
commit | 217cbb7109b7a5bbacd3170e90607ca5972fc1cd (patch) | |
tree | 4deb7b42f248f7ea73398dc329584899b5573413 /src/jquery.js | |
parent | 144837afdfab98d6a9f753bc4ccc1feede410101 (diff) | |
download | jquery-217cbb7109b7a5bbacd3170e90607ca5972fc1cd.tar.gz jquery-217cbb7109b7a5bbacd3170e90607ca5972fc1cd.zip |
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Conflicts:
Gruntfile.js
README.md
src/ajax.js
src/ajax/xhr.js
src/attributes.js
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/selector-native.js
src/traversing.js
test/unit/core.js
test/unit/data.js
Diffstat (limited to 'src/jquery.js')
-rw-r--r-- | src/jquery.js | 38 |
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); + +}); |