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

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Dec 21, 2013
1 parent d73f395 commit 7ce3cfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/observe.js
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,10 @@
}

PathObserver.prototype = createObject({
deliverDirtyChecks_: true,
__proto__: Observer.prototype,

deliverDirtyChecks_: true,

connect_: function() {
if (hasObserve)
this.observedSet_ = new ObservedSet(this.boundInternalCallback_);
Expand Down
2 changes: 1 addition & 1 deletion tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ suite('PathObserver Tests', function() {

observer = new PathObserver(model, 'a.b');
observer.open(callback);
_b = 3; // won't be observed.
_b = 3;
assertPathChanges(3, 2);

model.a.b = 4; // will be observed.
Expand Down

0 comments on commit 7ce3cfa

Please sign in to comment.