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

Commit

Permalink
Observable.reset -> Observable.discardChanges
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Dec 12, 2013
1 parent 0a09c0c commit 5c904e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NodeBind.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@

function eventHandler() {
observable.setValue(input[property]);
observable.reset();
observable.discardChanges();
(postEventFn || noop)(input);
Platform.performMicrotaskCheckpoint();
}
Expand Down Expand Up @@ -315,7 +315,7 @@

if (select && select.value != oldValue) {
selectBinding.setValue(select.value);
selectBinding.reset();
selectBinding.discardChanges();
Platform.performMicrotaskCheckpoint();
}
}
Expand Down

0 comments on commit 5c904e7

Please sign in to comment.