[Pkg-javascript-commits] [backbone] 80/211: .get -> .escape in the docs
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:00:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.5.0
in repository backbone.
commit ce059570c2c83cd7c90384fd487d817c7dfc11e2
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Mon Feb 14 15:43:07 2011 -0500
.get -> .escape in the docs
---
backbone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backbone.js b/backbone.js
index 04fe46e..9f441cb 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list