addyosmani/todomvc — pull request #516 by stephenplusplus (2013-04-03 20:26:29+00:00)
Title: olives upgraded to bower.

#475 - upgraded Olives to the bower-y way.

A couple things came up this time, that I thought I should ask about.

1) I had to register both `olives` and `emily` with bower.

2) The file structure that came down from them was just a clone of the github repo, so the src files were in `/components/emily/build/`, `/components/olives/build/`, and `/components/olives/src/`. I kept them in those folders, as opposed to just flattening the directory, since if someone were to check out the project and run a `bower install`, the paths from `index.html` would be incorrect.

3) I'm not too experienced with using require... as an example from the file `/js/ui/Input.js`:

```javascript
define('Todos/Input', [
// It uses the Olives' OObject and the Event Plugin to listen to dom events and connect them to methods
'components/olives/src/OObject',
'components/olives/src/Event.plugin'
],
```

Something about explicitly saying `/components/olives/src/____` felt weird.

I'm happy to make any changes, or if I really screwed it up beyond repair, feel free to trash the PR. I won't be offended! I was a little out of my comfort zone on this one.