Commit 596214c9 authored by dmitriz's avatar dmitriz

firebase-angular: Correct directive name

Obviously misprinted.
Miraculously worked overwriting the other `todoBlur` directive, and
"stealing" `todo-escape` attribute.
parent 0c52b217
...@@ -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