Permalink
Browse files

fixed regression #152

  • Loading branch information...
1 parent 57c00b8 commit 7b1e6c51f6a9630fa71cef60a4ddfe3552fe6464 @ericz ericz committed Oct 25, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/client/now.js
View
@@ -225,14 +225,15 @@
return newVal;
}
fqnMap.set(fqn, newVal);
+ val = newVal;
if (typeof newVal === 'function') {
newVal = {fqn: fqn};
}
var toReplace = {};
toReplace[fqn] = newVal;
socket.emit('rv', toReplace);
}
- return (val = newVal);
+ return newVal;
}
if (Object.defineProperty) {

0 comments on commit 7b1e6c5

Please sign in to comment.