Permalink
Browse files

* Promises.js: mooshell support

  • Loading branch information...
1 parent 796cb8f commit e33ac30e5e42a6d02955ba1eefa198ed2b486be4 @swannodette swannodette committed Mar 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Promises.js
View
@@ -140,7 +140,7 @@ var Promise = new Class({
var json = ($type(r) == 'object') ? r : ((!req.options.bare) ? JSON.decode(r) : r),
v;
if(Promise.deref !== null) {
- var temp = Function.get.apply(null, [json].concat(Promise.deref.split(".")));
+ var temp = $get.apply(null, [json].concat(Promise.deref.split(".")));
if(temp !== null && temp !== undefined) {
v = temp;
}

0 comments on commit e33ac30

Please sign in to comment.