Perform esacaping in the templates.
Use new best practices.
This commit is contained in:
@@ -23,8 +23,8 @@ function(ListItemEditorView, _) {
|
||||
|
||||
getTemplateOptions: function() {
|
||||
return {
|
||||
id: this.model.escape('id'),
|
||||
name: this.model.escape('name'),
|
||||
id: this.model.get('id'),
|
||||
name: this.model.get('name'),
|
||||
index: this.model.collection.indexOf(this.model),
|
||||
isNew: this.model.isNew(),
|
||||
usage: this.model.get('usage'),
|
||||
|
||||
Reference in New Issue
Block a user