• jaubourg's avatar
    Simplified the way a Promise is tested for (removed promiseMarker). Removed... · 7b1e873c
    jaubourg authored
    Simplified the way a Promise is tested for (removed promiseMarker). Removed 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.
    7b1e873c
core.js 25.2 KB