Skip to content

Commit

Permalink
Fixes jashkenas#2431, jashkenas#2452, a little bit lex talionis, but …
Browse files Browse the repository at this point in the history
…appropriate, I think.
  • Loading branch information
jashkenas committed Apr 4, 2013
1 parent 165849e commit afb9dfc
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,16 @@ <h2 id="downloads">

<p>
Backbone's only hard dependency is
<a href="http://underscorejs.org/">Underscore.js</a> <small>( >= 1.4.3)</small>.
<b><a href="http://underscorejs.org/">Underscore.js</a></b>.
For RESTful persistence, history support via <a href="#Router">Backbone.Router</a>
and DOM manipulation with <a href="#View">Backbone.View</a>, include
<a href="https://github.com/douglascrockford/JSON-js">json2.js</a>, and either
<a href="http://jquery.com">jQuery</a> <small>( >= 1.7.0)</small> or
<a href="http://zeptojs.com/">Zepto</a>.
<b><a href="http://jquery.com">jQuery</a></b>, and
<b><a href="https://github.com/douglascrockford/JSON-js">json2.js</a></b> for older
Internet Explorer support.
<i>(Mimics of the Underscore and jQuery APIs, such as
<a href="http://lodash.com">Lo-Dash</a> and
<a href="http://zeptojs.com">Zepto</a>, will
also tend to work, with varying degrees of compatibility.)</i>
</p>

<h2 id="introduction">Introduction</h2>
Expand Down Expand Up @@ -2183,9 +2187,9 @@ <h2 id="Router">Backbone.Router</h2>
</p>

<p>
Trailing slashes are treated as part of the URL, and (correctly) treated
Trailing slashes are treated as part of the URL, and (correctly) treated
as a unique route when accessed. <tt>docs</tt> and <tt>docs/</tt> will fire
different callbacks. If you can't avoid generating both types of URLs, you
different callbacks. If you can't avoid generating both types of URLs, you
can define a <tt>"docs(/)"</tt> matcher to capture both cases.
</p>

Expand Down

0 comments on commit afb9dfc

Please sign in to comment.