Commit 4617087f authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #671 from basarat/patch-1

Update todoEscape.js
parents d7378797 0d982b25
......@@ -5,7 +5,7 @@
* Directive that executes an expression when the element it is applied to gets
* an `escape` keydown event.
*/
todomvc.directive('todoBlur', function () {
todomvc.directive('todoEscape', function () {
var ESCAPE_KEY = 27;
return function (scope, elem, attrs) {
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