Permalink
Browse files

Remove unused extensibility.

  • Loading branch information...
1 parent 54bd99b commit efba51d1c055e2f18d9e0e1325eb8fbcac54c967 @fblee fblee committed May 23, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 js/lib/router.js
View
@@ -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)) {

0 comments on commit efba51d

Please sign in to comment.