From ce059570c2c83cd7c90384fd487d817c7dfc11e2 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 14 Feb 2011 15:43:07 -0500 Subject: [PATCH] .get -> .escape in the docs --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index 04fe46ea..9f441cbf 100644 --- a/backbone.js +++ b/backbone.js @@ -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);