envone / ember-runner

EmberJS preview and build tool for Node.JS
MIT License
50 stars 6 forks source link

Fixed issue when attempt to run with an empty ember_runner_config.json file #35

Closed paynerc closed 12 years ago

paynerc commented 12 years ago

Previously, if you passed in an empty ember_runner_config.json file, ember-runner would fail when trying to access devBuildInfo.vendors.distributions and devBuildInfo.server.proxy

/usr/local/lib/node_modules/ember-runner/index.js:193
if (devBuildInfo.vendors.distributions) {
                        ^
TypeError: Cannot read property 'distributions' of undefined
paynerc commented 12 years ago

This pull request now also addresses issue #41, which will take into account folder names when generating the template keys for placement into the Ember.TEMPLATES hash.