Comparing version 1.0.1 to 1.0.2
@@ -21,5 +21,7 @@ /* | ||
Queue.prototype.__defineGetter__('length', function() { | ||
Object.defineProperty(Queue.prototype, 'length', { get: length }); | ||
function length() { | ||
return this.pending + this.jobs.length; | ||
}); | ||
} | ||
@@ -26,0 +28,0 @@ // expose selected array methods |
{ | ||
"name": "queue", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "An async job queue with adjustable concurrency", | ||
@@ -5,0 +5,0 @@ "author": "Jesse Tane <jesse.tane@gmail.com>", |
8219
228