Created
April 5, 2012 18:16
-
-
Save cymen/2312962 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
presenterData: function () { | |
var attributes = _.clone(this.model.attributes); | |
var that = this; | |
attributes.display_name = function() { | |
// logic here to return name as combination of fields | |
} | |
return attributes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment