Skip to content

Instantly share code, notes, and snippets.

@alexspeller
Created March 17, 2014 15:57
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 alexspeller/9602036 to your computer and use it in GitHub Desktop.
Save alexspeller/9602036 to your computer and use it in GitHub Desktop.
App.initializer
name: 'someInitializer'
after: 'store'
initialize: (container, application) ->
container.register 'authManager:main', App.AuthManager
application.inject 'route', 'authManager', 'authManager:main'
application.inject 'authManager', 'store', 'store:main'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment