mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 12:27:49 +00:00
Correct typo in Job#reset.
This commit is contained in:
@@ -488,7 +488,7 @@ Job.prototype.reset = function(callback) {
|
|||||||
this.failed = false;
|
this.failed = false;
|
||||||
this.id = this.result = this.url = null;
|
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'));
|
_.defer(_.bind(this.emit, this, 'reset'));
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Reference in New Issue
Block a user