Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build: code style fixes after all those reverts | Oleg Gaidarenko | 2015-12-22 | 1 | -120/+119 |
| | |||||
* | Revert "Deferred: Backwards-compatible standards interoperability" | Oleg Gaidarenko | 2015-12-22 | 1 | -636/+251 |
| | | | | This reverts commit 34f25631795e0641cc706012cfe5a88dacdedfec. | ||||
* | Revert "Deferred: add .catch handler" | Oleg Gaidarenko | 2015-12-22 | 1 | -37/+0 |
| | | | | This reverts commit ef77f83db86b806425203d1e5ecbcc119d7b9c32. | ||||
* | Tests: further improvements QUnit 2.0 migration | Oleg Gaidarenko | 2015-09-08 | 1 | -2/+4 |
| | | | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb Ref c8d15a2f9f108e90d3651c31e4abf45415a30fde | ||||
* | Tests: Partially use new qunit interface | Oleg Gaidarenko | 2015-09-07 | 1 | -98/+98 |
| | | | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Ref b930d14ce64937e9478405eee2828d4da091d2cb Fixes gh-2540 | ||||
* | Build: Update jscs and lint files | Oleg Gaidarenko | 2015-09-07 | 1 | -215/+215 |
| | | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056 | ||||
* | Deferred: pass lint in new catch tests | Timmy Willison | 2015-07-06 | 1 | -4/+4 |
| | |||||
* | Deferred: add .catch handler | Timmy Willison | 2015-07-06 | 1 | -0/+36 |
| | | | | Fixes gh-2102 | ||||
* | Deferred: Always handle progress callbacks before done/fail | Richard Gibson | 2015-04-22 | 1 | -0/+48 |
| | | | | | | | | Fixes gh-2013 Fixes gh-2010 Closes gh-2210 (cherry picked from commit 002240a6eb1cee2fcd886d5cf44893eb67f246f1) | ||||
* | Deferred: Backwards-compatible standards interoperability | Richard Gibson | 2015-03-20 | 1 | -82/+418 |
| | | | | | | | Fixes gh-1722 Closes gh-1996 (cherry picked from commit 555a50d340706e3e1e0de09231050493d0ad841e) | ||||
* | Deferred: Fix $.when with resolved deferred and progress callbacks | Nicolas HENRY | 2014-12-25 | 1 | -0/+22 |
| | | | | Ref ab20d9d24f0a95df382c02e9ef3dcc4adb86e4f1 | ||||
* | No ticket: add assertions for jQuery.when( array ). Close gh-1312. ↵ | Daniel Herman | 2013-08-19 | 1 | -2/+4 |
| | | | | (cherry-picked from 584a4af9c8633b35fe49152c81977de03f885826) | ||||
* | Update jshintrc to conform to new style guide. Conform to onevar and unused ↵ | Timmy Willison | 2013-04-09 | 1 | -16/+12 |
| | | | | | | | | | | | | | | | | in tests. Fixes #13755. Conflicts: src/.jshintrc src/data.js test/unit/attributes.js test/unit/core.js test/unit/data.js test/unit/event.js test/unit/manipulation.js test/unit/queue.js test/unit/traversing.js test/unit/wrap.js | ||||
* | Propagate context of returned deferred object in Deferred.then(). Fixes #13160. | nanto | 2013-01-08 | 1 | -1/+17 |
| | |||||
* | Deferred: .resolve(), .reject() and .notify() now set the callback context ↵ | jaubourg | 2012-12-07 | 1 | -3/+3 |
| | | | | to the promise instance rather than the deferred instance ; .then() has also been amended. Fixes #11405. | ||||
* | Fixing style for deferred.js unit tests. Close gh-973. | Erick Ruiz de Chavez | 2012-10-16 | 1 | -79/+81 |
| | | | | Close jquery/2012-dev-summit/#56 | ||||
* | deferred.promise(obj) should work with non-objects. Fixes #12521. Much ↵ | jaubourg | 2012-09-13 | 1 | -1/+18 |
| | | | | needed unit tests added! | ||||
* | Make unit tests friendly to Closure Compiler. Closes gh-845. | Chad Killingsworth | 2012-07-05 | 1 | -5/+6 |
| | | | | | | Conflicts: test/unit/effects.js test/unit/offset.js | ||||
* | Unit tests are linted and passing. | Rick Waldron | 2012-06-21 | 1 | -10/+14 |
| | |||||
* | Preserves context objects when multiple Deferreds are passed to $.when(). ↵ | jaubourg | 2012-05-12 | 1 | -6/+20 |
| | | | | Context is an array containing the original contexts in order. When non-observable value is given, associated context is undefined. In case only a single non-observable value is given, context is the global object (thanks so much Function.prototype.apply!). Fixes #11749. | ||||
* | Fix #11736. Remove deprecated Deferred.isResolved/isRejected. | Dave Methvin | 2012-05-11 | 1 | -3/+1 |
| | |||||
* | Makes Deferred implementation truly Promise/A compliant. Unit tests amended. ↵ | jaubourg | 2012-04-02 | 1 | -33/+37 |
| | | | | Actually few changes required in jQuery's own source and we gained 8 bytes minified gzipped \o/. | ||||
* | Have Deferred.always return the object onto which it is currently attached ↵ | jaubourg | 2011-11-09 | 1 | -0/+13 |
| | | | | to enable true chainability. Fixes #10723. Unit tests added. | ||||
* | Fix #10691. Remove all instances of equals() and same(), as these are ↵ | Mike Sherov | 2011-11-06 | 1 | -3/+3 |
| | | | | deprecated in QUnit. | ||||
* | Removes isPending and introduces state as a means to retrieve the ↵ | jaubourg | 2011-10-11 | 1 | -4/+6 |
| | | | | Deferred/Promise state. Unit tests amended. | ||||
* | isProgressing becomes isPending. Unit tests added. | jaubourg | 2011-10-04 | 1 | -1/+4 |
| | |||||
* | $.Callbacks, $.Topic and notify/progress on $.Deferred. | jaubourg | 2011-09-19 | 1 | -117/+100 |
| | |||||
* | Fixes #9446. Context is properly propagated using pipe. If context was the ↵ | jaubourg | 2011-07-01 | 1 | -0/+27 |
| | | | | original deferred, then context is updated to next deferred in the chain. Unit tests added. | ||||
* | Fixes #9104. Returning null or undefined in a pipe callback shouldn't end up ↵ | jaubourg | 2011-05-09 | 1 | -2/+10 |
| | | | | throwing an exception. Silly, silly, me. | ||||
* | Renames chain as pipe. | jaubourg | 2011-04-08 | 1 | -16/+16 |
| | |||||
* | Adds always and chain methods to deferreds. | jaubourg | 2011-04-07 | 1 | -126/+252 |
| | |||||
* | Moves Deferred-related code into a separate module. Context handling has ↵ | jaubourg | 2011-03-03 | 1 | -0/+222 |
been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization). |