aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/core/promise-queue.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-16 15:57:19 -0700
committerNivesh Rajbhandari2012-05-16 15:57:19 -0700
commit95069173e145691b0059f2dcbbaa7332694ed778 (patch)
tree2158ede11ccbc2eb3a12f0b2f3c0233f0ece0a30 /node_modules/montage/core/promise-queue.js
parent727ad95f6828821f0682aa98104783e4bbda78b4 (diff)
parentfd54dabad7cbc27a0efb0957155c00d578912909 (diff)
downloadninja-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.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);