[Pkg-javascript-commits] [backbone] 271/281: Fixes #892 ... make .route() chainable.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:21 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 ac580caffa214602552194ed57198eb3db5dda81
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Mon Jan 30 11:03:16 2012 -0500

    Fixes #892 ... make .route() chainable.
---
 backbone.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backbone.js b/backbone.js
index 14eb056..2661972 100644
--- a/backbone.js
+++ b/backbone.js
@@ -731,6 +731,7 @@
         this.trigger.apply(this, ['route:' + name].concat(args));
         Backbone.history.trigger('route', this, name, args);
       }, this));
+      return this;
     },
 
     // Simple proxy to `Backbone.history` to save a fragment into the history.

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