Created
January 27, 2011 22:53
-
-
Save kuon/799474 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contact: function() { | |
var query = SC.Query.local(AccountingModel.Contact, 'id=%@'.fmt(this.get('contact_id'))); | |
return this.get('store').find(query).firstObject(); | |
}.property().cacheable(), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment