Skip to content

Commit

Permalink
The apparently missing debug arguments creates a call to undefined in…
Browse files Browse the repository at this point in the history
… that function
  • Loading branch information
marchant authored and petkaantonov committed Mar 1, 2015
1 parent 53f30cf commit 9112e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ Promise.defer = function() {
};

Promise._makeSelfResolutionError = makeSelfResolutionError;
require("./method")(Promise, INTERNAL, tryConvertToPromise, apiRejection);
require("./method")(Promise, INTERNAL, tryConvertToPromise, apiRejection, debug);
require("./bind")(Promise, INTERNAL, tryConvertToPromise, debug);
require("./cancel")(Promise, PromiseArray, apiRejection, debug);
require("./direct_resolve")(Promise);
Expand Down

0 comments on commit 9112e57

Please sign in to comment.