Commit graph

13 commits

Author SHA1 Message Date
dmitriz
95ca2ce47d Prevent create empty item 2017-05-01 13:27:22 +01:00
Gampol T
450570d4c9 fix ui.save not detect escape key
change event from onkeypress to onkeyup because onkeypress cannot detect escape key press
if (e.keyCode === 27)
2017-02-23 17:48:13 +07:00
Gampol T
f6e627a891 fix state.update not destroy when edit text blank
if (state.editing.title === "") should call state.destroy() instead of destroy()
2017-02-23 17:45:25 +07:00
Paul D. Fernhout
7c5e06d2ec Fix todomvc to reflect All/Active/Completed choice 2016-11-14 21:12:34 -05:00
Leo Horie
37735f1772 remove redundant abstraction level in todomvc example 2016-10-28 09:51:42 -04:00
Leo Horie
9ea1cf0ae0 make editor and todomvc example more idiomatic 2016-10-28 00:56:59 -04:00
Leo Horie
7c736b511a rename node to vnode 2016-07-29 22:04:04 -04:00
Isiah Meadows
02cc4ec1d6 Fix whitespace/etc. in examples (#1115) 2016-06-18 03:39:55 -04:00
Leo Horie
5ec06e7c08 init state, fix examples 2016-05-15 11:14:38 -04:00
Leo Horie
a9cad2c45b Merge branch 'rewrite' of github.com:lhorie/mithril.js into rewrite 2016-05-03 23:39:16 -04:00
Leo Horie
3282ef3f77 components, angular dbmon 2016-05-03 23:39:01 -04:00
Stefan Keim
5fe5b5029b correct index
```todos.splice(index, 1)``` in destroy makes the elements shift; therefor loops index has to be aligned has to be corrected
2016-04-27 08:50:54 +02:00
Leo Horie
559369016d initial commit (work in progress) 2016-04-20 20:02:37 -04:00