addyosmani/todomvc — pull request #529 by stephenplusplus (2013-04-10 02:05:09+00:00)
Title: troopjs updated to use bower.

Updated the Troop.js example to use Bower. The changes:

* Updated troopjs-bundle, it's now the non-minified version.
* Added in the "escape-to-cancel" functionality.
* Went through some code styling cleanup.

I'm not sure you'll be a fan of the way I defined the modules.

How I did it:
```javascript
define([
'troopjs-core/component/widget',
'jquery'],
function CountModule(Widget, $) {
...
});
```
I like that, as opposed to:
```javascript
define(['troopjs-core/component/widget', 'jquery'], function CountModule(Widget, $) {
...
});
```

or:
```javascript
define([
'troppjs-core/component/widget',
'jquery'
], function CountModule(Widget, $) {
...
});
```

That, or any other style you prefer, I'm happy to change them to.