daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. MyClass = SC.Object.extend({
  3.  
  4.   name: function() {
  5.     var name = this.getPath('content.name');
  6.     // probably want to do something here
  7.     return name;
  8.   }.property().cacheable(),
  9.  
  10.   nameWillChange: function() {
  11.     this.notifyPropertyChange('name');
  12.   }.observes('*content.name')
  13.  
  14. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top