diff options
author | Valerio Virgillito | 2012-05-16 15:23:48 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-16 15:23:48 -0700 |
commit | 13ae16997d4bbca14e255d5989d1c44a76eac72c (patch) | |
tree | d9ebb1dcc6bebee4cb910b950ecb67c1a2d593cd /node_modules/montage/core/promise-queue.js | |
parent | 99f16ae08fbb0a6dfe6008c9833f2253b18c19e5 (diff) | |
download | ninja-13ae16997d4bbca14e255d5989d1c44a76eac72c.tar.gz |
montage v.0.10 integration
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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); |