Skip to content

Instantly share code, notes, and snippets.

@marceldegraaf
Created July 10, 2013 10:04
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 marceldegraaf/5965124 to your computer and use it in GitHub Desktop.
Save marceldegraaf/5965124 to your computer and use it in GitHub Desktop.
Ember "needs" in namespaced controllers
App.Namespace.BarController = Ember.Controller.extend
needs: [ 'foo' ] # <= this raises a "missing dependencies" exception
App.Namespace.FooController = Ember.Controller.extend
App.Namespace = Ember.Namespace.create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment