Dave Methvin
d837f119c3
Support: clean up comments and Support notation
...
Closes gh-1577
2014-06-10 23:28:14 -04:00
Forbes Lindesay
6de1d973a4
Intro: Pass window to intro if available, for browserify
...
Closes gh-1476
2014-01-09 21:27:28 -05:00
Dave Methvin
3118f58c46
Build: Happy New Year! Thanks @marlonlandaverde
2014-01-09 20:51:21 -05:00
Timmy Willison
e0fad093b6
exports/global: Do not attach global variables for most CommonJS environments
...
For CommonJS environments where the global already has a document, it is expected
that if a global is needed, the user can attach the global.
Fixes #14645 .
2013-12-20 18:39:16 -05:00
Michał Gołębiowski
dc649a33e0
Change window to global in the most outer IIFE parameters.
...
In the most outer IIFE it’s not yet known if the global is window or not.
Using the window variable to denote the global was misleading in that case,
especially that the code didn’t make such assumption, requiring to provide
a Web-like window separately. Renaming window to global clears the confusion.
2013-11-17 01:06:44 +01:00
Timmy Willison
8f7db68cbf
Fixes #14549 . Execute the factory immediately when CommonJS is used in the browser.
2013-11-15 17:18:22 -05:00
Oleg
b561f5ab0a
Fix some code style inconsistencies
2013-10-07 03:16:18 +04:00
Timmy Willison
6318ae6ab9
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
2013-08-15 14:15:49 -04:00
Timmy Willison
c93f91e33e
Remove undefined
var declarations
2013-07-08 12:27:33 -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
Dave Methvin
0e2977583c
Fix #13335 . Remove "use strict".
2013-02-01 17:17:39 -05:00
Dave Methvin
c0c1bdde60
Update copyrights used in file headers.
2013-01-11 16:08:09 -05:00
Dave Methvin
0d540c3750
Happy New Year! It's 2013.
2013-01-03 17:41:18 -05:00
jaubourg
9346c0ef99
adds strict rule to jshint options (except for test files). "use strict" is added to the main jQuery closure and some "could-be-unsafe" this
trickery in effects is silenced.
2012-10-18 00:50:01 -04:00
Dave Methvin
060eabc9e8
Finish the license changes, including Sizzle.
2012-08-09 13:44:20 -04:00
Dave Methvin
f661b9ea5e
Update copyright to jQuery Foundation.
2012-07-03 23:09:44 -04:00
timmywil
53eb2305fb
Update copyright years for jQuery and Sizzle
2012-06-26 16:55:40 -04:00
Rick Waldron
7c23b77af2
Strips IIFEs from modules; Always require built jQuery for tests.
2012-06-04 12:48:18 -04:00
John Resig
94ee3e9743
Cache references to navigator and location. Fixes #6690 .
2011-04-16 14:18:56 -07:00
jeresig
6fb3998681
Updating the year in the header.
2011-01-24 16:45:29 -05:00
Colin Snover
3e0cc81504
Clean trailing whitespace from all files.
2010-12-30 00:34:48 -06:00
jeresig
19b5d9e874
Re-work the document scoping.
2010-09-22 08:08:45 -04:00
jeresig
323270f6dc
Update the license URL in the header.
2010-01-25 09:31:40 -05:00
John Resig
25ee9cee26
Update the copyright from 2009 to 2010.
2010-01-03 20:04:24 -05:00
jeresig
61e37d4149
Made a number of spacing changes to bring the code more-inline with the jQuery Core Style Guideline.
2009-12-21 19:58:13 -05:00
jeresig
3fd62eae9d
Switched from using YUI Compressor to Google Compiler. Minified and Gzipped filesize reduced to 22,839 bytes from 26,169 bytes (13% decrease in filesize). Sizzle copyright was merged into the main header (since it's removed automatically). Still passes all unit tests.
2009-12-18 21:23:26 -05:00
John Resig
80913618b0
Made the licensing verbiage a little more explicit. Thanks to Dan Montgomery for the suggestion.
2009-12-09 23:56:47 -08:00
John Resig
bcbd06b66f
Removed the revision info and fixed the date pull to work against git log instead of SVN.
2009-10-23 03:25:40 -04: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
Ariel Flesler
0c1653249a
jquery intro: looks nicer when built
2009-01-05 12:09:04 +00:00
John Resig
192d6cd4a3
Moved the copyright to the intro file, added a ! so that it passes through YUIMin untouched, and changed the Date and Revision so that they're now generated automatically based upon all of jQuery rather than just the core file.
2009-01-04 23:34:18 +00:00
John Resig
f53aa62fd3
Only bind .ready() once per instance of jQuery - and only bind if the ready() method is actually called (nothing is bound if window/load is used).
2007-08-22 06:51:41 +00:00
John Resig
c8bd6e0a4a
You can now assign jQuery to random namespaces - very cool. (Bug #1393 )
2007-08-21 07:00:06 +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
5e964a4a73
Fix for bug #983 (Packed jQuery doesn't have a license at the top of the file.)
2007-05-20 16:42:42 +00:00
Jörn Zaefferer
2ad5faf3a1
typo
2007-01-09 21:21:01 +00:00
John Resig
dbee06de85
Fixed a bunch of endline issues.
2006-10-10 01:59:20 +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