Make WordPress Core

Changeset 24607


Ignore:
Timestamp:
07/09/2013 08:15:55 AM (11 years ago)
Author:
koopersmith
Message:

Revisions: Remove unnecessary router property. See #24425.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/revisions.js

    r24606 r24607  
    44    var revisions;
    55
    6     revisions = wp.revisions = { model: {}, view: {}, controller: {}, router: {} };
     6    revisions = wp.revisions = { model: {}, view: {}, controller: {} };
    77
    88    // Link settings.
     
    203203            this.listenTo( this, 'change:from', this.updateDiff );
    204204            this.listenTo( this, 'change:to', this.updateDiff );
    205             this.revisionsRouter = new revisions.router.Router({ model: this });
     205            this.revisionsRouter = new revisions.Router({ model: this });
    206206        },
    207207
     
    792792    // The revisions router
    793793    // takes URLs with #hash fragments and routes them
    794     revisions.router.Router = Backbone.Router.extend({
     794    revisions.Router = Backbone.Router.extend({
    795795        initialize: function( options ) {
    796796            this.model = options.model;
Note: See TracChangeset for help on using the changeset viewer.