mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-24 14:27:56 -05:00
remove an extraneous this.options
This commit is contained in:
@@ -772,7 +772,7 @@
|
||||
// an existing route, and `false` otherwise.
|
||||
start : function(options) {
|
||||
if (historyStarted) throw new Error("Backbone.history has already been started");
|
||||
this.options = _.extend({}, {root: '/'}, options);
|
||||
this.options = _.extend({}, {root: '/'}, this.options, options);
|
||||
this._wantsPushState = !!this.options.pushState;
|
||||
this._hasPushState = !!(this.options.pushState && window.history && window.history.pushState);
|
||||
var fragment = this.getFragment();
|
||||
|
||||
Reference in New Issue
Block a user