1053
1053
revisions.Router = Backbone.Router.extend({
1054
1054
initialize: function( options ) {
1055
1055
this.model = options.model;
1060
1057
// Maintain state and history when navigating
1061
1058
this.listenTo( this.model, 'update:diff', _.debounce( this.updateUrl, 250 ) );
1062
1059
this.listenTo( this.model, 'change:compareTwoMode', this.updateUrl );