mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-23 05:48:10 -05:00
.get -> .escape in the docs
This commit is contained in:
@@ -802,7 +802,7 @@
|
||||
// For small amounts of DOM Elements, where a full-blown template isn't
|
||||
// needed, use **make** to manufacture elements, one at a time.
|
||||
//
|
||||
// var el = this.make('li', {'class': 'row'}, this.model.get('title'));
|
||||
// var el = this.make('li', {'class': 'row'}, this.model.escape('title'));
|
||||
//
|
||||
make : function(tagName, attributes, content) {
|
||||
var el = document.createElement(tagName);
|
||||
|
||||
Reference in New Issue
Block a user