Permalink
Browse files

* Promises.js: bug Function.get -> $get

  • Loading branch information...
1 parent 6ca1852 commit f79d439d4b4f358a494668a9ba8ecb772d8d21be @swannodette swannodette committed Dec 25, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Promises.js
View
2 Promises.js
@@ -310,7 +310,7 @@ var Promise = new Class({
*/
get: function() {
var args = $A(arguments);
- if(!this.isRealized()) return (new Promise(this, {lazy:this.options.lazy})).op(function(v) { return Function.get.apply(null, [v].extend(args)); });
+ if(!this.isRealized()) return (new Promise(this, {lazy:this.options.lazy})).op(function(v) { return $get.apply(null, [v].extend(args)); });
return Function.get.apply(null, [this.value()].extend(args));
},

0 comments on commit f79d439

Please sign in to comment.