aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/core/promise-queue.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-16 15:42:37 -0700
committerJose Antonio Marquez2012-05-16 15:42:37 -0700
commit857aafee732b6a85fa155ff4a05d1b8fde48f09d (patch)
treee06d330caee280aa05aec46391979e9abdcf974c /node_modules/montage/core/promise-queue.js
parent5cc5d29736d8bf253e3a168cdd6443e839ffb23c (diff)
parentfd54dabad7cbc27a0efb0957155c00d578912909 (diff)
downloadninja-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.js2
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);