Skip to content

Instantly share code, notes, and snippets.

@screeley
Created February 25, 2013 19:16
Show Gist options
  • Save screeley/5032391 to your computer and use it in GitHub Desktop.
Save screeley/5032391 to your computer and use it in GitHub Desktop.

Revisions

  1. screeley created this gist Feb 25, 2013.
    9 changes: 9 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    App.OneController = Em.ObjectController.extend({
    content: {}
    });
    App.TwoController = Em.ObjectController.extend({
    needs: ['one'],
    onChange: function(){

    }.observes('controller.one.aProperty')
    });