diff --git a/cirru/menu.cirru b/cirru/menu.cirru index ee7a1f7..74bbbd6 100644 --- a/cirru/menu.cirru +++ b/cirru/menu.cirru @@ -13,4 +13,4 @@ body#app .category.done (:v-on "click: (view='done')") span.count $ :v-model done.length = done - #list (@partial now.cirru) (@partial work.cirru) (@partial my.cirru) $ @partial done.cirru \ No newline at end of file + #list (@partial now.cirru) (@partial my.cirru) $ @partial done.cirru \ No newline at end of file diff --git a/cirru/work.cirru b/cirru/work.cirru deleted file mode 100644 index 53f4277..0000000 --- a/cirru/work.cirru +++ /dev/null @@ -1,10 +0,0 @@ -#work (:v-if "view == 'work'") - #add (:v-on "click: newIn('work')") $ = + - .empty (:v-if "work.length == 0") - span $ = No work tasks - .task (:v-repeat work) - input.title (:v-model title) $ :v-on "keydown: stop | key enter" - input.content (:v-model content) $ :v-on "keydown: stop | key enter" - .handlers - span.button (:v-on "click: focus('work', $index)") $ = focus - span.button (:v-on= "click: move($index, 'work', 'now')") $ = work \ No newline at end of file diff --git a/coffee/app.coffee b/coffee/app.coffee deleted file mode 100644 index 7cdd9fe..0000000 --- a/coffee/app.coffee +++ /dev/null @@ -1,5 +0,0 @@ - -window.onbeforeunload = -> - storage.menu = exports.menu.$data - delete storage.edit - localStorage.setItem 'todolist-storage', (JSON.stringify storage) \ No newline at end of file diff --git a/coffee/menu.coffee b/coffee/main.coffee similarity index 100% rename from coffee/menu.coffee rename to coffee/main.coffee diff --git a/package.json b/package.json index bdaedcd..5d7edd2 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "cirru-html": "~0.1.7", "shelljs": "~0.2.6", "devtools-reloader-station": "0.0.4", - "browserify": "~3.41.0" + "browserify": "~3.41.0", + "exorcist": "~0.1.6" } }