I am building an EmberJS application with the great help of ember-cli
, which is great, but I have an error and I cannot find what I am doing wrong.
Here is
I got this from locks on #emberjs IRC.
https://github.com/ef4/ember-browserify
In your project:
npm install --save-dev ember-browserify
npm install --save-dev underscore
In your controller:
import _ from "npm:underscore";
Then you can use _. For example: _.each([1,2,3], alert);
. I took everything out I had manually added to brocfile and package.json. Apparently this will do it for you. Crazy!