Skip to content

Instantly share code, notes, and snippets.

@j-mcnally
Created May 9, 2014 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j-mcnally/80a11a47011a1946d744 to your computer and use it in GitHub Desktop.
Save j-mcnally/80a11a47011a1946d744 to your computer and use it in GitHub Desktop.
Application JS - Reopen ES6 modules
`import Resolver from 'ember/resolver';`
Ember.MODEL_FACTORY_INJECTIONS = true
class App extends Ember.Application
LOG_ACTIVE_GENERATION: true
LOG_MODULE_RESOLVER: true
LOG_TRANSITIONS: true,
# LOG_TRANSITIONS_INTERNAL: true,
LOG_VIEW_LOOKUPS: true
modulePrefix: "dewey-chrome" # TODO: loaded via config
Resolver: Resolver
Ember.SimpleAuth.Authenticators.Devise.reopen
serverTokenEndpoint: 'http://localhost:3000/api/v1/tokens'
`export default App;`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment