Skip to content

Commit

Permalink
fix invalid sendKey call
Browse files Browse the repository at this point in the history
  • Loading branch information
jbplayground committed Mar 29, 2015
1 parent 00d1d44 commit 53161d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/todomvc/todo-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ TodoItem.render = function render(todo, parentHandles) {
// invoked at patch time
'ev-focus': todo.editing ? FocusHook() : null,
'ev-keydown': hg.sendKey(
todo.channels.cancelEdit, ESCAPE),
todo.channels.cancelEdit, null, {key: ESCAPE}),
'ev-event': hg.sendSubmit(todo.channels.finishEdit),
'ev-blur': hg.sendValue(todo.channels.finishEdit)
})
Expand Down

0 comments on commit 53161d0

Please sign in to comment.