[Pkg-javascript-commits] [backbone] 01/281: updating the intro graf for the Router.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:01:50 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 b1822a7b788845cd0741a7676e204aac2561d43d
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Wed Aug 10 09:33:39 2011 -0400

    updating the intro graf for the Router.
---
 index.html | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html
index b992f6b..16585a5 100644
--- a/index.html
+++ b/index.html
@@ -1446,10 +1446,14 @@ var othello = NYPL.create({
     <h2 id="Router">Backbone.Router</h2>
 
     <p>
-      Web applications often choose to change their URL fragment (<tt>#fragment</tt>)
-      in order to provide shareable, bookmarkable URLs for an Ajax-heavy application.
-      <b>Backbone.Router</b> provides methods for routing client-side URL
-      fragments, and connecting them to actions and events.
+      Web applications often provide linkable, bookmarkable, shareable URLs for
+      imporant locations in the app. Until recently, hash fragments 
+      (<tt>#page</tt>) were used to provide these permalinks, but with the 
+      arrival of the History API, it's now possible to use standard URLs (<tt>/page</tt>).
+      <b>Backbone.Router</b> provides methods for routing client-side pages, and
+      connecting them to actions and events. For browsers which don't yet support
+      the History API, the Router handles graceful fallback and transparent 
+      translation to the fragment version of the URL.
     </p>
 
     <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