Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
post cr cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Dec 12, 2013
1 parent 04285a4 commit 717d642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/observe.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@
if (!this.hasObservers_)
return;

for (var i = 0; i < this.observed_.length; i = i + 2) {
for (var i = 0; i < this.observed_.length; i += 2) {
if (this.observed_[i] === observerSentinel)
this.observed_[i + 1].deliver();
}
Expand All @@ -826,7 +826,7 @@
this.observedSet_.reset();

var oldValues;
for (var i = 0; i < this.observed_.length; i = i + 2) {
for (var i = 0; i < this.observed_.length; i += 2) {
var pathOrObserver = this.observed_[i+1];
var object = this.observed_[i];
var value = object === observerSentinel ?
Expand Down

0 comments on commit 717d642

Please sign in to comment.