Skip to content

Instantly share code, notes, and snippets.

@screeley
Created February 25, 2013 19:16
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 screeley/5032391 to your computer and use it in GitHub Desktop.
Save screeley/5032391 to your computer and use it in GitHub Desktop.
App.OneController = Em.ObjectController.extend({
content: {}
});
App.TwoController = Em.ObjectController.extend({
needs: ['one'],
onChange: function(){
}.observes('controller.one.aProperty')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment