Commit Graph

16 Commits

Author SHA1 Message Date
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
Timmy Willison
1f67d07c60 Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768. 2013-07-04 14:00:26 -04:00
Michał Gołębiowski
e80117adb4 Fixes #13760. Pass window, not this to the main IIFE. Closes gh-1238 2013-04-10 17:27:31 -04:00
isaacs
a128355b25 Support node-like module loaders. Closes gh-1103 2013-02-20 21:31:06 -05:00
jrburke
8bc60bab5d Landing pull request 586. Create exports.js for exporting jQuery to window and AMD. Fixes #10687.
More Details:
 - https://github.com/jquery/jquery/pull/586
 - http://bugs.jquery.com/ticket/10687
2011-11-14 12:13:25 -05:00
Rick Waldron
d00e29a65e Cleanup spacing in outro.js. Fixes #10601 2011-10-27 15:33:37 -04:00
Greg Hazel
13ceb0f56b Landing pull request 410. Moves jQuery attachment comment to outro.
More Details:
 - https://github.com/jquery/jquery/pull/410
2011-06-14 15:51:03 -04:00
Alex Sexton
c50b74372c Moved jQuery global leak to end of file so accidental gEBCN overrides in prototype don't get caught up in confusion. Fixed tests to reference jQuery variable instead of $ (best practice). Fixes #8033 2011-01-23 21:19:33 -06:00
jeresig
8effe3a7de Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least). 2010-03-23 12:12:16 -04:00
John Resig
bddd1837bb Moved exposing window.jQuery and window.$ to the end of the jQuery file (helps some compatibility cases with older version of Prototype). Fixes ticket #4834. 2009-08-10 21:22:31 +00:00
John Resig
a0451f162e Did some light reordering of the jQuery definition. Moved window and undefined to exist in intro/outro. 2009-05-20 21:12:08 +00:00
John Resig
b6d920cf05 Fix for a selector speed regression (calling a simple selector many times resulted in a significant speed down). This has been fixed by breaking the RegExps out into the global scope. This required that a closure be implemented around the full jQuery script (which is now the case). Some simple changes were made in addition to the RegExp one, allowing for some greater flexibility on our part - and hopefully better compression.
Speed results:
http://dev.jquery.com/~john/ticket/1351/ vs.
http://dev.jquery.com/~john/ticket/1351/113.html vs.
http://dev.jquery.com/~john/ticket/1351/112.html
2007-08-21 05:43:44 +00:00
John Resig
39b0976e3e Removed unnecessary uses of typeof undefined. 2007-01-12 03:53:55 +00:00
John Resig
dbee06de85 Fixed a bunch of endline issues. 2006-10-10 01:59:20 +00:00
Jörn Zaefferer
065be00c4a Added linebreak for better readability when adding more files 2006-09-23 08:20:04 +00:00
Jörn Zaefferer
770a92a594 Fixed bug #147, required some (ugly) modifications: changed function jQuery(...){} to jQuery = function(...){}, necessary because IE parses all function name(){} declarations before executing inline code; added intro.js and outro.js to both build.xml (tested) and Makefile (not tested) to include "if(typeof window.jQuery == "undefined") { ... } 2006-09-15 14:51:55 +00:00