mirror of
https://github.com/bower/bower.git
synced 2026-02-11 14:34:58 -05:00
Minor fixes.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
var Q = require('q');
|
||||
var util = require('util');
|
||||
var events = require('events');
|
||||
var mout = require('mout');
|
||||
|
||||
var Worker = function (defaultConcurrency, types) {
|
||||
@@ -12,8 +10,6 @@ var Worker = function (defaultConcurrency, types) {
|
||||
this._executing = [];
|
||||
};
|
||||
|
||||
util.inherits(Worker, events.EventEmitter);
|
||||
|
||||
// -----------------
|
||||
|
||||
Worker.prototype.enqueue = function (func, type) {
|
||||
@@ -76,7 +72,7 @@ Worker.prototype._processEntry = function (entry) {
|
||||
var allFree = entry.types.every(this._hasSlot, this);
|
||||
var promise;
|
||||
|
||||
// If there is a free slot for every tag
|
||||
// If there is a free slot for every type
|
||||
if (allFree) {
|
||||
// For each type
|
||||
entry.types.forEach(function (type) {
|
||||
|
||||
Reference in New Issue
Block a user