aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Introduced a new promise method on deferreds that returns an immutable ↵jaubourg2010-12-311-14/+16
| | | | | | | | | | | | object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.
* | | Removed custom method in isDeferred and when.unknown2010-12-311-9/+4
| | |
* | | Deferred cannot be cancelled by returning false in a callback. Exception in ↵unknown2010-12-311-41/+34
| | | | | | | | | | | | the callback are still propagated and execution of remaining callbacks is still possible.
* | | Capitalized Deferred & _Deferred to clearly mark them as new types, like Event.unknown2010-12-311-6/+6
| | |
* | | jQuery.parseXML extracted from ajax & added to core, needs unit testing.unknown2010-12-311-0/+22
| | |
* | | Removed NFE to make old Safari happy and avoid leaks in IE (as per David ↵jaubourg2010-12-311-2/+2
| | | | | | | | | | | | Murdoch's warning).
* | | Fixed a loop that only worked in webkit.jaubourg2010-12-311-2/+2
| | |
* | | Added deferred to core. Used internally for DOM readyness and ajax callbacks.jaubourg2010-12-311-1/+1
| | |
* | | Removed NFE to make old Safari happy and avoid leaks in IE (as per David ↵jaubourg2010-12-311-2/+2
| | | | | | | | | | | | Murdoch's warning).
* | | Fixed a loop that only worked in webkit.jaubourg2010-12-311-6/+8
| | |
* | | Added deferred to core. Used internally for DOM readyness and ajax callbacks.jaubourg2010-12-311-36/+176
| | |
* | | Clean trailing whitespace from all files.Colin Snover2010-12-301-28/+28
| | |
* | | Update CommonJS module registration to check to see if define is a function ↵Colin Snover2010-12-291-1/+1
| | | | | | | | | | | | instead of just not undefined.
* | | Register as a CommonJS async module if in that kind of environment. Fixes #7102.jrburke2010-12-271-0/+5
|/ /
* | Backing out fb6c038bf00296480234c971a1664ac01ca1479e, was causing ↵jeresig2010-12-091-6/+0
| | | | | | | | jQuery.param tests to fail - unfixes #7413.
* | Merge branch 'explain-map-concat' of https://github.com/ajpiano/jquery into ↵jeresig2010-12-091-0/+1
|\ \ | | | | | | | | | ajpiano-explain-map-concat
| * | Add a comment explaining that jQuery.map flattens arraysadam j. sontag2010-11-271-0/+1
| | |
* | | Merge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413jeresig2010-12-091-0/+6
|\ \ \
| * | | Fixes #7413; isEmptyObject() check to see if obj passes isPlainObjectrwldrn2010-11-091-0/+6
| | | |
* | | | Improve performance of get() for negative indices. Fixes #5476.Anton M2010-11-191-1/+1
|/ / /
* | | Make sure that if an additional load event is triggered (such as an iframe ↵John Resig2010-11-091-8/+11
| | | | | | | | | | | | being dynamically injected in DOM ready) the ready event isn't triggered twice. Fixes #7352.
* | | Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-3/+7
| | | | | | | | | | | | are each done on their own line.
* | | Make sure that the ready event doesn't double-fire when .bind(ready) is ↵jeresig2010-10-221-2/+2
| |/ |/| | | | | used. Fixes #7247.
* | Var wasn't being explicitly declared. Fixes #7226.John Resig2010-10-171-1/+1
|/
* Make sure that opacity is being reset properly on a show animation. ↵jeresig2010-09-271-0/+7
| | | | Additionally expose jQuery.isNaN from the data module.
* Make sure that the body element exists before doing the body selector ↵jeresig2010-09-241-1/+1
| | | | optimization. Fixes #6529.
* Increase the speed of the single setTimeout calls for the ready event.jeresig2010-09-241-2/+2
|
* Merge branch 'master' of github.com:jquery/jqueryjeresig2010-09-231-1/+2
|\
| * Delay the result of the readyState check to give scripts the opportunity to ↵jeresig2010-09-231-1/+2
| | | | | | | | delay ready, as described by @jrburke in 747ba7defd82bffa6c7ccb69e53b834cbfddb62c.
* | Made jQuery.type more consistent with host objects.Robert Katic2010-09-231-2/+10
| |
* | Ensured that arrays are not considered same as plain object on deep ↵Robert Katic2010-09-231-5/+10
|/ | | | extending. Fixes #5991.
* Add some tests for jQuery.isWindow and make sure that we're operating ↵jeresig2010-09-221-1/+1
| | | | against an object before testing.
* Unify the means of detecting a window across the library. Fixes jQuery UI ↵jeresig2010-09-221-2/+7
| | | | bug #5438 and jQuery bugs #6575 and 6088.
* Some minor lint fixes for the RegExp.jeresig2010-09-221-1/+1
|
* Applied the RegExp issues reported by Jeff Robinson here: ↵jeresig2010-09-221-10/+26
| | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.
* Re-work the document scoping.jeresig2010-09-221-3/+0
|
* Fix bug with the readyWait DOM ready addition.John Resig2010-09-211-1/+1
|
* Allow plugins to delay the exeuction of the ready event. Delay the ready ↵John Resig2010-09-201-2/+16
| | | | event by calling: jQuery.readyWait++ and force the event to fire by doing: jQuery.ready(true). Fixes #6781.
* Wrap the core return in parens to fix a confused JSLint.jeresig2010-09-141-1/+1
|
* Make sure that jQuery is being exposed outside of core (this will be ↵jeresig2010-09-091-2/+2
| | | | stripped during the build process). Follow-up to #7011.
* Make sure that the removeEvent and buildFragment private functions are ↵jeresig2010-09-081-1/+1
| | | | exposed (to help with access across modules). The final API for each of these is very much in flux and will likely change before the final release. Fixes #7011.
* Switched to use 'in' for the setInterval/window check as it also skirts ↵John Resig2010-08-271-1/+1
| | | | around the Safari 2 NodeList crasher. See the discussion in 94f35d05199ec1634d9c8c60d10f298f260056bd for more details.
* Blackberry 4.6 is capable of finding elements that are no longer in the DOM ↵John Resig2010-08-271-1/+3
| | | | via getElementById. It only appears to happen when the node has been inside of a cloned Document Fragment. Fixes #6963.
* Use the native isArray whenever possible. See perf test by jdalton here: ↵John Resig2010-08-271-1/+1
| | | | http://jsperf.com/isarray-vs-other Fixes #6825.
* Simplify the logic in $.type, thanks to jdalton for the suggesiton in ↵John Resig2010-08-271-4/+2
| | | | 5d2be7e299131a31cffbd73edea59cde30445608.
* Added some tweaks to $.type to handle null and undefined. Added a bunch of ↵John Resig2010-08-271-1/+5
| | | | unit tests as well.
* Adding in a jQuery.type(obj) method (a simple map to using ↵John Resig2010-08-251-5/+9
| | | | Object.prototype.toString.call). Fixes #3330.
* Tweaked logic for working around Blackberry 4.7 makeArray(RegExp) issue. ↵John Resig2010-08-251-1/+3
| | | | Fixes #6930.
* Fixing getting/setting classes and makeArray(RegExp) for Blackberry 4.7. ↵John Resig2010-08-231-1/+2
| | | | Fixes #6930, #6931.
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-48/+39
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).