diff --git a/package.json b/package.json index f0d8c16..aed87f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-types", - "version": "5.0.40", + "version": "5.0.41", "description": "Generic JavaScript types and type extensions...", "main": "main.js", "scripts": { diff --git a/runner.js b/runner.js index ea5b359..22cabb8 100644 --- a/runner.js +++ b/runner.js @@ -458,16 +458,16 @@ object.Constructor('Queue', Array, { // ...this is not and will not be done on polling as that would // introduce issues -- queue can change between task runs... (revise!) push: function(...tasks){ - res = object.parentCall(Queue.prototype.push, this, ...tasks) + var res = object.parentCall(Queue.prototype.push, this, ...tasks) this.trigger('tasksAdded', tasks) return res }, unsift: function(...tasks){ - res = object.parentCall(Queue.prototype.unshift, this, ...tasks) + var res = object.parentCall(Queue.prototype.unshift, this, ...tasks) this.trigger('tasksAdded', tasks) return res }, splice: function(...args){ var l = this.length - res = object.parentCall(Queue.prototype.splice, this, ...args) + var res = object.parentCall(Queue.prototype.splice, this, ...args) var tasks = args.slice(2) tasks.length > 0 && this.trigger('tasksAdded', tasks)