diff --git a/backbone.js b/backbone.js index fb75cb9f..2e8be7e5 100644 --- a/backbone.js +++ b/backbone.js @@ -694,9 +694,7 @@ if (!_.isRegExp(route)) route = this._routeToRegExp(route); Backbone.history.route(route, _.bind(function(fragment) { var args = this._extractParameters(route, fragment); - if (callback){ - callback.apply(this, args); - } + callback && callback.apply(this, args); this.trigger.apply(this, ['route:' + name].concat(args)); }, this)); },