From 17e2e93f522a404055eb2cbea59c950057fbebe6 Mon Sep 17 00:00:00 2001 From: Rafael Weinstein Date: Tue, 14 Jan 2014 11:59:22 -0800 Subject: [PATCH] dont bother to push value after addObserved (happens soon after via check_) --- src/observe.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/observe.js b/src/observe.js index bf44da8..5fa82a1 100644 --- a/src/observe.js +++ b/src/observe.js @@ -957,9 +957,8 @@ if (this.state_ != UNOPENED && this.state_ != RESETTING) throw Error('Cannot add observers once started.'); - var value = observer.open(this.deliver, this); + observer.open(this.deliver, this); this.observed_.push(observerSentinel, observer); - this.value_.push(value); }, startReset: function() {