Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo in promise.call

  • Loading branch information...
commit 1a72fb98bde1cfac3cc5be9937849a54468c1d6e 1 parent 30299d3
@glongman glongman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  promise.js
View
2  promise.js
@@ -95,7 +95,7 @@ Promise.prototype.put = function(propertyName, value){
Promise.prototype.call = function(functionName /*, args */){
return this.then(function(value){
- return value[propertyName].apply(value, Array.prototype.slice.call(arguments, 1));
+ return value[functionName].apply(value, Array.prototype.slice.call(arguments, 1));
});
};
Please sign in to comment.
Something went wrong with that request. Please try again.