Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused extensibility.

  • Loading branch information...
commit efba51d1c055e2f18d9e0e1325eb8fbcac54c967 1 parent 54bd99b
@fblee fblee authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 js/lib/router.js
View
5 js/lib/router.js
@@ -13,7 +13,6 @@ components.RapportiveRouter = function (options) {
this.routes = options.routes;
}
this._bindRoutes();
- this.initialize.apply(this, arguments);
};
// Cached regular expressions for matching named param parts and splatted
@@ -25,10 +24,6 @@ var escapeRegExp = /[\-\[\]{}()+?.,\\\^$|#\s]/g;
// Set up all inheritable **Backbone.Router** properties and methods.
_.extend(components.RapportiveRouter.prototype, /*Events, */ {
- // Initialize is an empty function by default. Override it with your own
- // initialization logic.
- initialize: function () {},
-
// Instead of #route(path, name, callback), we take name and callbacks in the 'options'
reversible_route: function (route, options) {
if (!_.isRegExp(route)) {
Please sign in to comment.
Something went wrong with that request. Please try again.