Commit 80b3bba5 authored by Sam Saccone's avatar Sam Saccone

Merge pull request #1562 from dmitriz/my-firebase-angularjs

firebase-angular: Correct directive name -- `todoEscape`
parents 0c52b217 596214c9
...@@ -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