Explorar el Código

update todomvc with new key filter syntax

Evan You hace 10 años
padre
commit
460ff95984
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/todomvc/index.html

+ 1 - 1
examples/todomvc/index.html

@@ -14,7 +14,7 @@
 					autofocus autocomplete="off"
 					placeholder="What needs to be done?"
 					v-model="newTodo"
-					on-keyup="addTodo | key 'enter'">
+					on-keyup:enter="addTodo">
 			</header>
 			<section class="main" v-show="todos.length" v-cloak>
 				<input class="toggle-all" type="checkbox" v-model="allDone">