From cfc27d89f1ff841ec9edd0c27d34b5111b098d4c Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 12 Aug 2013 15:04:02 -0400 Subject: [PATCH] separate storage in todos example, expose some utils methods --- examples/todomvc/index.html | 5 +-- examples/todomvc/js/app.js | 52 +++++++++++++----------------- examples/todomvc/js/todoStorage.js | 11 +++++++ src/main.js | 38 ++++++++++++++++------ src/scope.js | 2 +- src/seed.js | 8 +++-- src/text-parser.js | 1 + src/utils.js | 22 +++++++++---- 8 files changed, 87 insertions(+), 52 deletions(-) create mode 100644 examples/todomvc/js/todoStorage.js diff --git a/examples/todomvc/index.html b/examples/todomvc/index.html index e0af231ca..f529ecf77 100644 --- a/examples/todomvc/index.html +++ b/examples/todomvc/index.html @@ -6,7 +6,7 @@ -
+