Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unused event triggers

  • Loading branch information...
commit a87a4e5edf9a71952ce6dda67e14dae14ce2b86d 1 parent 9f8caa1
@fblee fblee authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 js/lib/router.js
View
4 js/lib/router.js
@@ -42,8 +42,6 @@ _.extend(components.RapportiveRouter.prototype, /*Events, */ {
enter: _.bind(function (fragment) {
var args = this._extractParameters(route, fragment);
options.enter.apply(this, args);
- this.trigger.apply(this, ['route:' + options.name].concat(args));
- components.history.trigger('route', this, options.name, args);
}, this),
exit: _.bind(function (exiting_from_fragment) {
@@ -72,8 +70,6 @@ _.extend(components.RapportiveRouter.prototype, /*Events, */ {
if (callback) {
callback.apply(this, args);
}
-// this.trigger.apply(this, ['route:' + name].concat(args));
- // components.history.trigger('route', this, name, args);
}, this));
return this;
},
Please sign in to comment.
Something went wrong with that request. Please try again.