Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplified the way a Promise is tested for (removed promiseMarker). Removed ↵ | jaubourg | 2010-12-31 | 1 | -15/+11 |
| | | | | 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. | ||||
* | Introduced a new promise method on deferreds that returns an immutable ↵ | jaubourg | 2010-12-31 | 1 | -27/+23 |
| | | | | 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. | unknown | 2010-12-31 | 1 | -22/+3 |
| | |||||
* | Deferred cannot be cancelled by returning false in a callback. Exception in ↵ | unknown | 2010-12-31 | 1 | -74/+7 |
| | | | | 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. | unknown | 2010-12-31 | 1 | -20/+20 |
| | |||||
* | Added deferred to core. Used internally for DOM readyness and ajax callbacks. | jaubourg | 2010-12-31 | 1 | -0/+250 |
| | |||||
* | Register as a CommonJS async module if in that kind of environment. Fixes #7102. | jrburke | 2010-12-27 | 1 | -22/+24 |
| | |||||
* | Backing out fb6c038bf00296480234c971a1664ac01ca1479e, was causing ↵ | jeresig | 2010-12-09 | 1 | -11/+4 |
| | | | | jQuery.param tests to fail - unfixes #7413. | ||||
* | Merge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413 | jeresig | 2010-12-09 | 1 | -4/+11 |
|\ | |||||
| * | Fixes #7413; isEmptyObject() check to see if obj passes isPlainObject | rwldrn | 2010-11-09 | 1 | -4/+11 |
| | | |||||
* | | Improve performance of get() for negative indices. Fixes #5476. | Anton M | 2010-11-19 | 1 | -5/+5 |
|/ | |||||
* | Test jQuery.type also with document. | Robert Katic | 2010-09-23 | 1 | -1/+2 |
| | |||||
* | Made jQuery.type more consistent with host objects. | Robert Katic | 2010-09-23 | 1 | -1/+5 |
| | |||||
* | Added some tests for #5991. | Robert Katic | 2010-09-23 | 1 | -1/+5 |
| | |||||
* | Ensured that arrays are not considered same as plain object on deep ↵ | Robert Katic | 2010-09-23 | 1 | -2/+1 |
| | | | | extending. Fixes #5991. | ||||
* | Add some tests for jQuery.isWindow and make sure that we're operating ↵ | jeresig | 2010-09-22 | 1 | -0/+19 |
| | | | | against an object before testing. | ||||
* | Make sure that jQuery works even when the individual modules are loaded ↵ | jeresig | 2010-09-08 | 1 | -1/+2 |
| | | | | separately AND jQuery.noConflict(true) is used. Fixes #7011. | ||||
* | Added some tweaks to $.type to handle null and undefined. Added a bunch of ↵ | John Resig | 2010-08-27 | 1 | -0/+23 |
| | | | | unit tests as well. | ||||
* | Fixing getting/setting classes and makeArray(RegExp) for Blackberry 4.7. ↵ | John Resig | 2010-08-23 | 1 | -15/+28 |
| | | | | Fixes #6930, #6931. | ||||
* | Replace usage of the removed global reset() method with QUnit.reset(). | jzaefferer | 2010-07-28 | 1 | -2/+2 |
| | |||||
* | Adjust isPlainObject test to run in an iframe. | jeresig | 2010-03-24 | 1 | -1/+1 |
| | |||||
* | Landing a faster trim method. Based upon the work by Travis Hardiman and ↵ | jeresig | 2010-03-09 | 1 | -6/+12 |
| | | | | DBJDBJ. More details here: http://forum.jquery.com/topic/faster-jquery-trim Fixes #2279, #4452, and #4835. | ||||
* | Make sure leading whitespace is trimmed for parseJSON. Fixes #6031. | jeresig | 2010-02-13 | 1 | -2/+4 |
| | |||||
* | Landing some minor perf optimization to jQuery(). | jeresig | 2010-01-28 | 1 | -1/+1 |
| | |||||
* | Make empty strings (and other non-string values) simply return null from ↵ | jeresig | 2010-01-23 | 1 | -0/+25 |
| | | | | parseJSON. Also added some parseJSON tests. Fixes #5859. | ||||
* | Moved add() tests from core to traversing. | jeresig | 2010-01-23 | 1 | -55/+0 |
| | |||||
* | Make sure that disconnected nodes aren't sorted/uniqued. Fixes #5791. | jeresig | 2010-01-13 | 1 | -4/+9 |
| | |||||
* | Fixed typo in logic, also disabled function setters in this case to allow ↵ | jeresig | 2010-01-12 | 1 | -1/+7 |
| | | | | the functions to passthrough and bind. | ||||
* | Make sure to do a deep copy on arrays. #5750 | Filipe Fortes | 2010-01-07 | 1 | -2/+7 |
| | |||||
* | Merging in jQuery.proxy() branch. | jeresig | 2010-01-05 | 1 | -0/+19 |
|\ | |||||
| * | Added in jQuery.proxy(obj, name), like the method described in Secrets of ↵ | jeresig | 2009-12-31 | 1 | -0/+19 |
| | | | | | | | | the JavaScript Ninja and in Dojo's Hitch, and added in some unit tests. | ||||
* | | Rewrite of jQuery.browser to become engine-centric, rather than ↵ | jeresig | 2010-01-05 | 1 | -33/+19 |
|/ | | | | browser-centric. Also attempt to determine the engine version in a smarter fashion, less prone to error. Finally, enhanced the test suite with 255 useragent strings from http://user-agent-string.info/download for testing. jQuery.browser.safari is now deprecated, use jQuery.browser.webkit instead. | ||||
* | Fixed the spacing from the last commit. | jeresig | 2009-12-18 | 1 | -11/+11 |
| | |||||
* | Disabled the passthrough .attr(method_name) functionality. You can now use ↵ | jeresig | 2009-12-18 | 1 | -1/+17 |
| | | | | it if you do: .attr({method_name: value}, true) OR as an easy initialization method: jQuery('<div/>', {html: '...', id: 'test'}). | ||||
* | Made isPlainObject() supporting null, undefined, and window values on IE ↵ | Robert Katic | 2009-12-19 | 1 | -1/+14 |
| | | | | too. Also added some related tests. Fixes #5669. | ||||
* | Make sure that dynamically-created elements don't have a parent. Fixes #5638. | John Resig | 2009-12-10 | 1 | -1/+4 |
| | |||||
* | Moved some methods around inbetween core.js and traversing.js. Core methods ↵ | John Resig | 2009-12-10 | 1 | -31/+79 |
| | | | | shouldn't rely upon other modules (e.g. the selector engine) wherever possible. | ||||
* | Rewrote .merge() (faster and less obtuse now). Fixed #5610. | John Resig | 2009-12-09 | 1 | -1/+5 |
| | |||||
* | Switched jQuery() to represent jQuery([]) instead of jQuery(document). | John Resig | 2009-12-09 | 1 | -1/+1 |
| | |||||
* | Renamed isObjectLiteral to isPlainObject (makes more sense, per the ↵ | John Resig | 2009-12-06 | 1 | -8/+8 |
| | | | | suggestion of Michael Geary). | ||||
* | Added some isObjectLiteral tests. | jeresig | 2009-12-02 | 1 | -0/+45 |
| | |||||
* | Fixes $.trim for closes #4980 | Yehuda Katz | 2009-11-30 | 1 | -0/+11 |
| | |||||
* | Generic jQuery.merge and safer jQuery.makeArray(nodeList). | Robert Katic | 2009-11-26 | 1 | -2/+6 |
| | | | | | | | | * Made jQuery.marge more generic supporting null and undefined values, and supporting array like objects as results. Fixes #5527. * Made jQuery.makeArray(nodeList) more safer using jQuery.merge internally. Fixes #5528. * Added a second "results" argument to jQuery.makeArray for internal usage to avoid intermediary arrays in init. | ||||
* | Corrected some minor errors made by me (rkatic) in last commits. | Robert Katic | 2009-11-13 | 1 | -3/+3 |
| | |||||
* | Forgotten to update the number of jQuery.extend related tests. | Robert Katic | 2009-11-12 | 1 | -1/+1 |
| | |||||
* | Made jQuery.extend(true, ...) to extend recursively only 'object literal' ↵ | Robert Katic | 2009-11-12 | 1 | -3/+7 |
| | | | | values. | ||||
* | Made isObjectLiteral to work correctly with custom objects with empty ↵ | Robert Katic | 2009-11-12 | 1 | -1/+5 |
| | | | | prototypes. | ||||
* | Made jQuery('<div/>') and jQuery('<div></div>') use the same code path ↵ | John Resig | 2009-11-11 | 1 | -1/+4 |
| | | | | (making the second one faster). Fixes #5293. | ||||
* | Added a method to myKlass. | rkatic | 2009-11-09 | 1 | -0/+2 |
| | | | | If an object's prototype is "empty", then isObject returns true! | ||||
* | Make .add() take an optional context and - if a context is specified in the ↵ | John Resig | 2009-11-07 | 1 | -0/+12 |
| | | | | root selector - use that as the base context. |