Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f79d439d4b4f358a494668a9ba8ecb772d8d21be 1 parent 6ca1852
David Nolen swannodette authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Promises.js
2  Promises.js
View
@@ -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));
},
Please sign in to comment.
Something went wrong with that request. Please try again.