[Pkg-javascript-commits] [backbone] 160/281: Documentation request in #599

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:07 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 df716504cbe48543c0e91c1407140c0970c76725
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Wed Jan 11 11:56:01 2012 -0500

    Documentation request in #599
---
 index.html | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/index.html b/index.html
index ed4c9e3..b3db070 100644
--- a/index.html
+++ b/index.html
@@ -1484,10 +1484,11 @@ var othello = NYPL.create({
     <p id="Router-extend">
       <b class="header">extend</b><code>Backbone.Router.extend(properties, [classProperties])</code>
       <br />
-      Get started by creating a custom router class. You'll
-      want to define actions that are triggered when certain URL fragments are
+      Get started by creating a custom router class. Define actions that are 
+      triggered when certain URL fragments are
       matched, and provide a <a href="#Router-routes">routes</a> hash
-      that pairs routes to actions.
+      that pairs routes to actions. Note that you'll want to avoid using a 
+      leading slash in your route definitions:
     </p>
 
 <pre>

-- 
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