Correct typo in Job#reset.

This commit is contained in:
John-David Dalton
2014-05-04 15:39:50 -07:00
parent 907ed641bf
commit 1874ad2ff2

View File

@@ -488,7 +488,7 @@ Job.prototype.reset = function(callback) {
this.failed = false;
this.id = this.result = this.url = null;
this.once('start', _.callback(callback, this));
this.once('reset', _.callback(callback, this));
_.defer(_.bind(this.emit, this, 'reset'));
return this;