Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MyClass = SC.Object.extend({
- name: function() {
- var name = this.getPath('content.name');
- // probably want to do something here
- return name;
- }.property().cacheable(),
- nameWillChange: function() {
- this.notifyPropertyChange('name');
- }.observes('*content.name')
- });
Add Comment
Please, Sign In to add comment