stride.js
function emitDone(rawArgs) {
		if(EventEmitter.listenerCount(emitter, "done") > 0) {
			var args = new Array(rawArgs.length + 1);
			args[0] = "done";
			for(var i = 0; i < rawArgs.length; i++)
				args[i + 1] = rawArgs[i];
			process.nextTick(function() {
				emitter.emit.apply(emitter, args);
			});
		}
	}
function emitDone(rawArgs) {
		if(EventEmitter.listenerCount(emitter, "done") > 0) {
			var args = new Array(rawArgs.length + 1);
			args[0] = "done";
			for(var i = 0; i < rawArgs.length; i++)
				args[i + 1] = rawArgs[i];
			process.nextTick(function() {
				emitter.emit.apply(emitter, args);
			});
		}
	}
function emitDone ( rawArgs ) { if ( EventEmitter . listenerCount ( emitter , "done" ) > 0 ) { var args = new Array ( rawArgs . length + 1 ) ; args [ 0 ] = "done" ; for ( var i = 0 ; i < rawArgs . length ; i ++ ) args [ i + 1 ] = rawArgs [ i ] ; process . nextTick ( function ( ) { emitter . emit . apply ( emitter , args ) ; } ) ; } }
Add function to the end to emit "done" event
Add function to the end to emit done event