addyosmani/todomvc — pull request #536 by stephenplusplus (2013-04-17 18:41:44+00:00)
Title: batman updated to use bower. about time, batman.

#475

Batman has been updated with Bower. I also registered batman.js with Bower.

I tweaked the readme to add info on how to (get|use) coffeescript and npm to compile the code.

There was also a mini-bug in the app. While editing a todo, the keyup event was waiting for the enter key. When enter was struck, the code manually called the "toggleEditingMode" function, which was also being called by the blur() event. Instead of double-firing, I changed it to, pseudo: if (enterKey) input.blur() which allows the blur event to call the "toggleEditingMode" function as usual.

Batman!