mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-08 03:00:26 -04:00
Fixes #892 ... make .route() chainable.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user