diff options
author | Jose Antonio Marquez | 2012-05-16 15:42:37 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-16 15:42:37 -0700 |
commit | 857aafee732b6a85fa155ff4a05d1b8fde48f09d (patch) | |
tree | e06d330caee280aa05aec46391979e9abdcf974c /node_modules/montage/core/promise-queue.js | |
parent | 5cc5d29736d8bf253e3a168cdd6443e839ffb23c (diff) | |
parent | fd54dabad7cbc27a0efb0957155c00d578912909 (diff) | |
download | ninja-857aafee732b6a85fa155ff4a05d1b8fde48f09d.tar.gz |
Merge branch 'refs/heads/Ninja-DOM-Architecture' into Document
Diffstat (limited to 'node_modules/montage/core/promise-queue.js')
-rw-r--r-- | node_modules/montage/core/promise-queue.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/montage/core/promise-queue.js b/node_modules/montage/core/promise-queue.js index 11eeb788..87959c5c 100644 --- a/node_modules/montage/core/promise-queue.js +++ b/node_modules/montage/core/promise-queue.js | |||
@@ -42,7 +42,7 @@ exports.PromiseQueue = Montage.create(Montage, { | |||
42 | close: { | 42 | close: { |
43 | value: function (reason, error, rejection) { | 43 | value: function (reason, error, rejection) { |
44 | var end = { | 44 | var end = { |
45 | head: rejections || Promise.reject(reason, error) | 45 | head: rejection || Promise.reject(reason, error) |
46 | }; | 46 | }; |
47 | end.tail = end; | 47 | end.tail = end; |
48 | this._ends.resolve(end); | 48 | this._ends.resolve(end); |