Commit 0d982b25 authored by basarat's avatar basarat

Update todoEscape.js

I think you meant escape :)
parent d7378797
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* Directive that executes an expression when the element it is applied to gets * Directive that executes an expression when the element it is applied to gets
* an `escape` keydown event. * an `escape` keydown event.
*/ */
todomvc.directive('todoBlur', function () { todomvc.directive('todoEscape', function () {
var ESCAPE_KEY = 27; var ESCAPE_KEY = 27;
return function (scope, elem, attrs) { return function (scope, elem, attrs) {
elem.bind('keydown', function (event) { elem.bind('keydown', function (event) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment