From d3a252e5478f0616e84fff95d567daff8359c4a4 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Mon, 5 Sep 2011 16:02:14 -0400 Subject: [PATCH] eliminating the change event handler. --- web-world/examples/todo/todo.rkt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/web-world/examples/todo/todo.rkt b/web-world/examples/todo/todo.rkt index b950811..d7999ca 100644 --- a/web-world/examples/todo/todo.rkt +++ b/web-world/examples/todo/todo.rkt @@ -75,13 +75,9 @@ (define the-view - (let* ([v1 (view-bind (view-focus (->view index.html) "add-button") + (view-bind (view-focus (->view index.html) "add-button") "click" - on-add)] - [v2 (view-bind (view-focus v1 "next-item") - "change" - on-add)]) - v2)) + on-add)) (big-bang (list (new-item "milk")