- 23 Sep, 2013 1 commit
-
-
Romain Courteaud authored
Cancel allow to manually interrupt a promise execution. The promise becomes rejected with a CancellationError. var xhr, promise; promise = RSVP.Promise( // Resolver function function (done, fail) { xhr = new XMLHttpRequest(); xhr.open("GET", url); xhr.send(); }, // Canceller function function () { xhr.abort(); }, ) promise.cancel();
-
- 04 Sep, 2013 4 commits
-
-
Stefan Penner authored
Fix npm integration
-
Cyril Fluck authored
-
Stefan Penner authored
version bump
-
Cyril Fluck authored
-
- 30 Aug, 2013 1 commit
-
-
Stefan Penner authored
-
- 29 Aug, 2013 2 commits
-
-
Stefan Penner authored
fixing tests for rethrow in IE 6,7,8 as well as phantom/node
-
Alex Navasardyan authored
-
- 25 Aug, 2013 3 commits
-
-
Stefan Penner authored
-
Stefan Penner authored
Rsvp#rethrow
-
Alex Navasardyan authored
Rethrow makes sure that any exception in your promise chain won't swallowed: getJSON('/posts.json') .then(handlePost) .fail(RSVP.rethrow) You can also to chain it further, like so: getJSON('/posts.json') .then(handlePost) .fail(RSVP.rethrow) .then(null, handleRejection)
-
- 05 Aug, 2013 1 commit
-
-
Stefan Penner authored
-
- 02 Aug, 2013 4 commits
-
-
Stefan Penner authored
adding promise#fail
-
Alex Navasardyan authored
-
Alex Navasardyan authored
-
Alex Navasardyan authored
-
- 21 Jul, 2013 1 commit
-
-
Stefan Penner authored
-
- 19 Jul, 2013 3 commits
-
-
Stefan Penner authored
-
Stefan Penner authored
- toString.call([]) angers IE, use Object.prototype.toString instead - getPrototypeOf polyfil
-
Stefan Penner authored
toString.call([]) fails while the Object.prototype.toString.call([]) works
-
- 18 Jul, 2013 1 commit
-
-
Stefan Penner authored
upload passing builds to s3
-
- 04 Jul, 2013 1 commit
-
-
Stefan Penner authored
async: use three args for addEventListener
-
- 03 Jul, 2013 1 commit
-
-
James A. Rosen authored
The third argument for `addEventListener` and `removeEventListener` is supposed to be optional, defaulting to `false`, but some browsers (notably older versions of FireFox) require it. See https://github.com/thinkpixellab/PxLoader/issues/5 and https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.removeEventListener
-
- 01 Jul, 2013 1 commit
-
-
Stanley Stuart authored
-
- 30 Jun, 2013 2 commits
-
-
Stefan Penner authored
some a+ 1.1 spec fixes.
-
Stefan Penner authored
with a `TypeError' as the reason.
-
- 29 Jun, 2013 14 commits
-
-
Stefan Penner authored
-
Stefan Penner authored
-
Stefan Penner authored
Fix callback assimilation
-
Stefan Penner authored
Run reduce tests only in node
-
Teddy Zeenny authored
-
Stefan Penner authored
-
Stefan Penner authored
Add multiple resolve test
-
Teddy Zeenny authored
-
Stefan Penner authored
-
Stefan Penner authored
This was handled for some code paths but not all.
-
Stefan Penner authored
-
Stefan Penner authored
Removed the double try/catch
-
Stefan Penner authored
-
Stefan Penner authored
This allows the VM to optimize correctly.
-