aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | 2773: first pass adding node/jQuery object support to jQuery.fn.find; unit ↵timmywil2011-03-161-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | tests added
* | | | | | | Merge branch 'attrhooks.1.6'jeresig2011-04-101-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/core.js src/support.js
| * | | | | | | Continuing IE7 testing, conditional attr fixes and hooks with feature ↵timmywil2011-04-031-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | testing. Will figure out a way to shorten after the test suite passes.
* | | | | | | Fixes #8814. Clean up inArray.Rick Waldron2011-04-101-8/+4
| | | | | | |
* | | | | | | Merge branch 'master' of github.com:jquery/jqueryDave Methvin2011-04-071-17/+10
|\ \ \ \ \ \ \
| * | | | | | | Rewrite of globalEval. Uses window.execScript or window.eval with a trick to ↵jaubourg2011-04-071-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ensure proper context. Unit tests added.
* | | | | | | | Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ ↵Dave Methvin2011-04-071-7/+11
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | / jQuery.ready(true) logic. Fix problem where jQuery.ready may trigger twice, causing the (unsupported) document.onready to run twice. Fixes #8803 .
* | | | | | | Skip id regex check when large html strings are passed to the jQuery ↵carpie2011-04-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | constructor (#7990).
* | | | | | | Merge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321Dave Methvin2011-04-051-1/+1
|\ \ \ \ \ \ \
| * | | | | | | 4321 jQuery('#') returns empty jquery objectrwldrn2011-01-011-1/+0
| | | | | | | |
| * | | | | | | 4321 returns empty jquery objectrwldrn2011-01-011-1/+2
| | | | | | | |
* | | | | | | | Remove extra else in parseJSONDan Heberden2011-04-051-2/+1
| | | | | | | |
* | | | | | | | Bug 7587; Enhancement/1.6 Feature: Bypass regexp filter on $.parseJSON and ↵Dan Heberden2011-04-051-8/+10
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | use native thrown exceptions if window.JSON.parse is available
* | | | | | | Moves Deferred-related code into a separate module. Context handling has ↵jaubourg2011-03-031-172/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization).
* | | | | | | Fix for #8421. Makes sure resolveWith can be called with only one parameter.jaubourg2011-03-031-0/+2
| |/ / / / / |/| | | | |
* | | | | | Revert "Fixes #8353. Adds a catch block in resolveWith so that the finally ↵jaubourg2011-02-241-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | block gets executed in IE7 and IE6." This reverts commit cacea6f7e778d42cda56066a6b1da8fb163410cc.
* | | | | | Refactors jQuery.when to avoid unnecessary recursion and limit function ↵jaubourg2011-02-231-18/+28
| | | | | | | | | | | | | | | | | | | | | | | | calls as much as possible.
* | | | | | Fixes #8353. Adds a catch block in resolveWith so that the finally block ↵jaubourg2011-02-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | gets executed in IE7 and IE6.
* | | | | | Makes the promise method of Deferreds a bit more readable by not using the ↵jaubourg2011-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | variable declared as parameter trick anymore.
* | | | | | Revert "Adds an invert method to promises that returns a "inverted" promise ↵jaubourg2011-02-181-34/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved." This reverts commit 4e975430510f443ef76a90d077bc8956fb8b8cc0.
* | | | | | Fix some whitespace issues.Anton M2011-02-151-1/+1
| | | | | |
* | | | | | Merge branch 'fix8033' of https://github.com/SlexAxton/jquery into ↵jeresig2011-02-141-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | SlexAxton-fix8033
| * | | | | Moved jQuery global leak to end of file so accidental gEBCN overrides in ↵Alex Sexton2011-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | prototype don't get caught up in confusion. Fixed tests to reference jQuery variable instead of $ (best practice). Fixes #8033
* | | | | | Fixes #8098. Use the fast document.head when available. Don't set unneeded ↵Mathias Bynens2011-02-021-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | "script.type = text/javascript".
* | | | | | Adds an invert method to promises that returns a "inverted" promise that is ↵jaubourg2011-01-311-8/+34
| | | | | | | | | | | | | | | | | | | | | | | | resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved.
* | | | | | Rename jQuery.subclass() to jQuery.sub().jeresig2011-01-311-1/+1
| | | | | |
* | | | | | Make sure subclass is a proper subclass not just subclassing the fn methods. ↵Digitalxero2011-01-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #7979.
* | | | | | Remove unneeded and confusing variable definition for better readability.gnarf2011-01-271-3/+2
| | | | | |
* | | | | | #8044 Removes unnec. rnonword varRick Waldron2011-01-251-3/+0
|/ / / / /
* | | | | Fixes some coding style issues in core.js. In jQuery.fn.ready(), simplifies ↵jaubourg2011-01-231-46/+26
| | | | | | | | | | | | | | | | | | | | the whole code (for better backward compatibility) and removes redefinition of the function itself (in order not to clash with proxying). Also, in jQuery.when(), removes unnecessary closure and early rejection test and makes use of then instead of done/fail (better interoperability).
* | | | | Merge branch '8013p' of https://github.com/rwldrn/jquery into rwldrn-8013pjeresig2011-01-211-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Cleaned up; fixes per reviewrwldrn2011-01-201-1/+1
| | | | |
* | | | | Merge branch 'master' of github.com:jquery/jqueryjeresig2011-01-201-7/+7
|\ \ \ \ \
| * \ \ \ \ Merge branch 'master' of github.com:jquery/jqueryjaubourg2011-01-201-62/+16
| |\ \ \ \ \
| * | | | | | Renames Deferred's fire and fireReject methods as resolveWith and rejectWith ↵jaubourg2011-01-201-7/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | respectively.
* | | | | | Bring jQuery('#id') and jQuery('body') logic back into core (while leaving ↵jeresig2011-01-201-18/+57
| |/ / / / |/| | | | | | | | | | | | | | it in Sizzle at the same time). Was causing too much of a performance hit to leave it all to Sizzle.
* | | | | Fix typo in regex tweak from previous commit.jeresig2011-01-201-1/+1
| | | | |
* | | | | Move jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. ↵jeresig2011-01-201-62/+16
|/ / / / | | | | | | | | | | | | Additionally add in a new catch for Sizzle('.class') (avoid using qSA and use getElementsByClassName instead, where applicable).
* | | | Remove an unused regex and optimize character escape regex usage.Anton M2011-01-191-7/+2
| | | |
* | | | Defer scriptEval test until first use to prevent Content Security Policy ↵Brandon Sterne2011-01-171-1/+1
| | | | | | | | | | | | | | | | inline-script violations from occuring. Fixes #7371.
* | | | Put the split to get the list of promise methods out of the promise method ↵jaubourg2011-01-161-4/+9
| | | | | | | | | | | | | | | | itself and also switched from jQuery.each to a while loop to remove as much overhead as possible. Thanks go to scott_gonzalez for reminding me of this.
* | | | Implements joined jQuery.when statements. Makes it so calling jQuery.when ↵jaubourg2011-01-161-11/+36
| | | | | | | | | | | | | | | | with no parameter returns a resolved promise. Ensures promise method on promises supports the promise(obj) signature. Ensures a deferred and its promise always return the same promise (itself for the promise). Unit tests provided.
* | | | added jQuery.subclassJared Grippe2011-01-141-5/+26
| | | |
* | | | Ensure that buildFragment clones elements properly in all browsers. Fixes ↵Colin Snover2011-01-091-1/+1
| | | | | | | | | | | | | | | | #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.
* | | | Renamed "complete" to "done" in order to avoid conflicts with jXHR.complete.jaubourg2011-01-061-8/+8
| | | |
* | | | Fixed mixing of tabs & spaces to make JSLint happier.jaubourg2011-01-061-4/+4
| | | |
* | | | Cleaning up trailing whitespace again.Colin Snover2011-01-051-32/+32
| | | |
* | | | Revert "Register as a CommonJS async module if in that kind of environment. ↵wycats2011-01-051-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7102." This reverts commit 6ffa730721a8ebcd128f3dc202706e46d9cfe249. Conflicts: src/core.js
* | | | "then" renamed "complete" and new "then" method defined using "complete" and ↵jaubourg2011-01-051-20/+24
|/ / / | | | | | | | | | "fail" internally. The API is still symetrical (complete/fail), still promotes AOP but is also now Promise/A compliant. Changed unit tests and ajax module accordingly.
* | | Simplified the way a Promise is tested for (removed promiseMarker). Removed ↵jaubourg2010-12-311-29/+19
| | | | | | | | | | | | isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.