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

Commit 5c904e7

Browse files
committed
Observable.reset -> Observable.discardChanges
1 parent 0a09c0c commit 5c904e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NodeBind.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202

203203
function eventHandler() {
204204
observable.setValue(input[property]);
205-
observable.reset();
205+
observable.discardChanges();
206206
(postEventFn || noop)(input);
207207
Platform.performMicrotaskCheckpoint();
208208
}
@@ -315,7 +315,7 @@
315315

316316
if (select && select.value != oldValue) {
317317
selectBinding.setValue(select.value);
318-
selectBinding.reset();
318+
selectBinding.discardChanges();
319319
Platform.performMicrotaskCheckpoint();
320320
}
321321
}

0 commit comments

Comments
 (0)