Changeset 24607
- Timestamp:
- 07/09/2013 08:15:55 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/revisions.js
r24606 r24607 4 4 var revisions; 5 5 6 revisions = wp.revisions = { model: {}, view: {}, controller: {} , router: {}};6 revisions = wp.revisions = { model: {}, view: {}, controller: {} }; 7 7 8 8 // Link settings. … … 203 203 this.listenTo( this, 'change:from', this.updateDiff ); 204 204 this.listenTo( this, 'change:to', this.updateDiff ); 205 this.revisionsRouter = new revisions. router.Router({ model: this });205 this.revisionsRouter = new revisions.Router({ model: this }); 206 206 }, 207 207 … … 792 792 // The revisions router 793 793 // takes URLs with #hash fragments and routes them 794 revisions. router.Router = Backbone.Router.extend({794 revisions.Router = Backbone.Router.extend({ 795 795 initialize: function( options ) { 796 796 this.model = options.model;
Note: See TracChangeset
for help on using the changeset viewer.