From 13ae16997d4bbca14e255d5989d1c44a76eac72c Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 16 May 2012 15:23:48 -0700 Subject: montage v.0.10 integration Signed-off-by: Valerio Virgillito --- node_modules/montage/core/promise-queue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/montage/core/promise-queue.js') 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, { close: { value: function (reason, error, rejection) { var end = { - head: rejections || Promise.reject(reason, error) + head: rejection || Promise.reject(reason, error) }; end.tail = end; this._ends.resolve(end); -- cgit v1.2.3