Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updating the intro graf for the Router.

  • Loading branch information...
commit b1822a7b788845cd0741a7676e204aac2561d43d 1 parent 29b60e5
@jashkenas jashkenas authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 index.html
View
12 index.html
@@ -1446,10 +1446,14 @@ <h2 id="Collection">Backbone.Collection</h2>
<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>
Please sign in to comment.
Something went wrong with that request. Please try again.