diff --git a/lib/all.js b/lib/all.js index 4e2ea1a..9875532 100644 --- a/lib/all.js +++ b/lib/all.js @@ -3,13 +3,13 @@ * Licensed under the MIT license. */ -var events = require('events'); var util = require('util'); var WaitForMultiple = require('./multiple'); function WaitForAll(options) { WaitForMultiple.call(this, options); + this.emittedArguments = []; } util.inherits(WaitForAll, WaitForMultiple); diff --git a/lib/any.js b/lib/any.js index da996e2..f66c692 100644 --- a/lib/any.js +++ b/lib/any.js @@ -3,7 +3,6 @@ * Licensed under the MIT license. */ -var events = require('events'); var util = require('util'); var WaitForMultiple = require('./multiple');