Backbone.js - How to use a custom model property in a template?
问题 This might be a really simple question but I'm having a heck of a time finding an answer. Using backbone, I have this line: Person = Backbone.Model.extend(); I then use that in a collection filled from a URL. For the sake of the example, say I have a first and last name, and I want to do something like: Person = Backbone.Model.extend({ FullName: this.get("firstName") + " " + this.get("lastName") }); I can call that inside backbone using, for example, People.first().FullName(). But if I pass