From 49acf17321299f58af767aea8bd562524fea7653 Mon Sep 17 00:00:00 2001 From: Ryan Niemeyer Date: Thu, 5 Jan 2012 00:28:56 -0600 Subject: [PATCH 1/2] Add "Mark all as complete" checkbox bound to a writeable computed observable and minor code cleanup. --- todo-example/knockoutjs/index.html | 4 ++++ todo-example/knockoutjs/js/todos.js | 35 ++++++++++++++++++++--------- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/todo-example/knockoutjs/index.html b/todo-example/knockoutjs/index.html index 2ab918158f..032becce78 100644 --- a/todo-example/knockoutjs/index.html +++ b/todo-example/knockoutjs/index.html @@ -15,6 +15,10 @@

Todos

+
+ + +