diff options
author | Nivesh Rajbhandari | 2012-05-16 15:57:19 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-16 15:57:19 -0700 |
commit | 95069173e145691b0059f2dcbbaa7332694ed778 (patch) | |
tree | 2158ede11ccbc2eb3a12f0b2f3c0233f0ece0a30 /node_modules/montage/core/promise-queue.js | |
parent | 727ad95f6828821f0682aa98104783e4bbda78b4 (diff) | |
parent | fd54dabad7cbc27a0efb0957155c00d578912909 (diff) | |
download | ninja-95069173e145691b0059f2dcbbaa7332694ed778.tar.gz |
Merge branch 'refs/heads/dom-architecture-master' into Dom-Architecture
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); |