stefanpenner/ember-inflector — pull request #50 by mattmarcum (2014-11-07 23:27:46+00:00)
Title: Feature/addonize

A quick and dirty - but usable - ember-addon version of ember-inflector

- I built ember-inflector and commited the `dist/` folder
- I added the `ember-addon` to the `package.json` keywords
- I added a simple `index.js` to the root with a `treeFor` and `included` function to pull in the `ember-inflect.named-amd.js` built library
- I stripped `loader.js` out of the original ember-inflector build because it was causing problems with the `ember-cli` build

This works enough to get ember-inflector pulled into an ember-cli app. Obs it needs a lot of work to be a `good` ember-addon. I needed this for a project that I'm working on right now. Let me know what you want changed and I make the changes.

The one thing I'm not too keen on is that you need to import ember-inflect into one of your files, and the ember-inflector will add itself to the `Ember` object... i.e. Ember.String.pluralize. I guess I'm going to import it once in my app.js, since if you import it all over the place it will just be re-setting itself up all the time.