From d2ba0e91614121287362cfe05044165f4e9fed49 Mon Sep 17 00:00:00 2001 From: doapp-ryanp Date: Thu, 15 Oct 2015 16:26:11 -0500 Subject: [PATCH] todo --- lib/Jaws.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Jaws.js b/lib/Jaws.js index 1784bf7b9..2a7e6e2b9 100644 --- a/lib/Jaws.js +++ b/lib/Jaws.js @@ -198,12 +198,12 @@ class Jaws { return Promise.coroutine(_this._queue[0])() .then(function() { - _this._queue.splice(0, 1); + _this._queue.splice(0, 1); //todo: change to .shift() if (_this._queue.length) return _this._executeQueue(); }) .catch(function(error) { console.log('JAWS Plugin Error: ', error, error.stack); - _this._queue.splice(0, 1); + _this._queue.splice(0, 1); //todo: change to .shift() // Crash, or keep going? if (_this._queue.length) return _this._executeQueue(); });