Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Delete memoized proxy object when setting to a new value.

  • Loading branch information...
commit 638487fe71fe1723e8e8a6c69873202ce23ae1d1 1 parent d6c97bd
@steveWang steveWang authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/proxy.js
View
1  lib/proxy.js
@@ -37,6 +37,7 @@ exports.wrap = function (entity) {
},
set : function (receiver, name, value) {
var fqn = path + '.' + name;
+ delete entity.proxies[fqn];
if (proto === Array.prototype) {
var len = 1 * entity.scopeTable.arrays[path] || 0;
if (name === 'length') {
Please sign in to comment.
Something went wrong with that request. Please try again.