From a055a907deefbe2b053623710ff2106f364f7a3b Mon Sep 17 00:00:00 2001 From: Mali Hoppe Date: Tue, 18 Nov 2014 23:02:05 +0100 Subject: [PATCH] pass shallow copy of updates to deliverChangeRecords method --- Object.observe.poly.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Object.observe.poly.js b/Object.observe.poly.js index 4dfd77f..d8c6891 100644 --- a/Object.observe.poly.js +++ b/Object.observe.poly.js @@ -271,20 +271,21 @@ if(!Object.observe){ }]); }; self.queueUpdates = function Notifier_queueUpdates(updates){ - var self = this, i = 0, l = updates.length||0, update; + var self = this, i = 0, l = updates.length||0, update, updatesCopy; for(i=0; i