Skip to content

Commit

Permalink
fixed regression #152
Browse files Browse the repository at this point in the history
  • Loading branch information
ericz committed Oct 25, 2011
1 parent 57c00b8 commit 7b1e6c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/client/now.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 7b1e6c5

Please sign in to comment.