Skip to content

Commit

Permalink
Uses the string `timeouted' for the failure value of a timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
robotlolita committed Apr 15, 2012
1 parent f0abf64 commit e74f401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.js
Expand Up @@ -115,7 +115,7 @@ var PromiseP = Promise.derive({
this.timer = setTimeout( function() {
this.client.abort()
this.flush('timeouted')
.fail(Promise.TIMEOUTED) }.bind(this)
.fail('timeouted') }.bind(this)
, delay * 1000 )
return this }

Expand Down

0 comments on commit e74f401

Please sign in to comment.