[Pkg-javascript-commits] [backbone] 176/281: Fixes #823, mention 'attributes'
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.9.0
in repository backbone.
commit 4d29dfc3889b55a38e9e67ed22415a0d2ab5a61e
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Thu Jan 12 16:16:34 2012 -0500
Fixes #823, mention 'attributes'
---
index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 353d9d3..845b6dd 100644
--- a/index.html
+++ b/index.html
@@ -1819,7 +1819,7 @@ var DocumentRow = Backbone.View.extend({
as <tt>this.options</tt>, for future reference. There are several special
options that, if passed, will be attached directly to the view:
<tt>model</tt>, <tt>collection</tt>,
- <tt>el</tt>, <tt>id</tt>, <tt>className</tt>, and <tt>tagName</tt>.
+ <tt>el</tt>, <tt>id</tt>, <tt>className</tt>, <tt>tagName</tt> and <tt>attributes</tt>.
If the view defines an <b>initialize</b> function, it will be called when
the view is first created. If you'd like to create a view that references
an element <i>already</i> in the DOM, pass in the element as an option:
@@ -1843,7 +1843,7 @@ new DocumentRow({
fashion, views can be rendered at any time, and inserted into the DOM all
at once, in order to get high-performance UI rendering with as few
reflows and repaints as possible. <tt>this.el</tt> is created from the
- view's <tt>tagName</tt>, <tt>className</tt>, and <tt>id</tt> properties,
+ view's <tt>tagName</tt>, <tt>className</tt>, <tt>id</tt> and <tt>attributes</tt> properties,
if specified. If not, <b>el</b> is an empty <tt>div</tt>.
</p>
--
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