[Pkg-javascript-commits] [backbone] 166/281: clarifying paragraph for #843
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:08 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 3cbd7909f1415b3512b69e41405bcd97ebf78533
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Wed Jan 11 15:46:45 2012 -0500
clarifying paragraph for #843
---
index.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index b3db070..de304f7 100644
--- a/index.html
+++ b/index.html
@@ -411,8 +411,9 @@
<a href="#Model">Models</a>, which can be created, validated, destroyed,
and saved to the server. Whenever a UI action causes an attribute of
a model to change, the model triggers a <i>"change"</i> event; all
- the <a href="#View">Views</a> that display the model's data are notified of the
- event, causing them to re-render. You don't have to write the glue
+ the <a href="#View">Views</a> that display the model's state can be notified of the
+ change, so that they are able to respond accordingly, re-rendering themselves with
+ the new information. In a finished Backbone app, you don't have to write the glue
code that looks into the DOM to find an element with a specific <i>id</i>,
and update the HTML manually
— when the model changes, the views simply update themselves.
--
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