Skip to content

Instantly share code, notes, and snippets.

@amokan
Last active August 29, 2015 14:02
Show Gist options
  • Save amokan/3814f364cd9751e8b665 to your computer and use it in GitHub Desktop.
Save amokan/3814f364cd9751e8b665 to your computer and use it in GitHub Desktop.
inject-something.js

Steps to reproduce problem with ember-cli v0.0.32

  • Create a new project - ember new foo-app
  • Verify it runs/builds - ember server
  • Add inject-something.js into app/initializers
  • Try to run/build again - ember server
  • You should get a Error: Line 3: Unexpected token : output

Obviously the initializer above does nothing, but something changed between v0.0.28/29 and v0.0.32 related to this as all of my initializers cause build problems.

export default {
name: 'inject-something',
initialize: function(container, app) {
// explode
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment