From 5c904e7b48e98e9283f148674ec85bf41080edab Mon Sep 17 00:00:00 2001 From: Rafael Weinstein Date: Thu, 12 Dec 2013 11:26:06 -0800 Subject: [PATCH] Observable.reset -> Observable.discardChanges --- src/NodeBind.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NodeBind.js b/src/NodeBind.js index aca78cc..2122fcf 100644 --- a/src/NodeBind.js +++ b/src/NodeBind.js @@ -202,7 +202,7 @@ function eventHandler() { observable.setValue(input[property]); - observable.reset(); + observable.discardChanges(); (postEventFn || noop)(input); Platform.performMicrotaskCheckpoint(); } @@ -315,7 +315,7 @@ if (select && select.value != oldValue) { selectBinding.setValue(select.value); - selectBinding.reset(); + selectBinding.discardChanges(); Platform.performMicrotaskCheckpoint(); } }