.get -> .escape in the docs

This commit is contained in:
Jeremy Ashkenas
2011-02-14 15:43:07 -05:00
parent 3619844543
commit ce059570c2

View File

@@ -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);