Revisions: Remove redundant tagNames. Props markjaquith, see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24602 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2013-07-09 07:14:23 +00:00
parent 9e5fb3311f
commit 8e85892a3f
1 changed files with 0 additions and 9 deletions

View File

@ -223,7 +223,6 @@ window.wp = window.wp || {};
// The frame view. This contains the entire page. // The frame view. This contains the entire page.
revisions.view.Frame = wp.Backbone.View.extend({ revisions.view.Frame = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions', className: 'revisions',
template: wp.template('revisions-frame'), template: wp.template('revisions-frame'),
@ -285,7 +284,6 @@ window.wp = window.wp || {};
// The control view. // The control view.
// This contains the revision slider, previous/next buttons, the meta info and the compare checkbox. // This contains the revision slider, previous/next buttons, the meta info and the compare checkbox.
revisions.view.Controls = wp.Backbone.View.extend({ revisions.view.Controls = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions-controls', className: 'revisions-controls',
initialize: function() { initialize: function() {
@ -327,7 +325,6 @@ window.wp = window.wp || {};
// The tickmarks view // The tickmarks view
// This contains the slider tickmarks. // This contains the slider tickmarks.
revisions.view.Tickmarks = wp.Backbone.View.extend({ revisions.view.Tickmarks = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions-tickmarks', className: 'revisions-tickmarks',
template: wp.template('revisions-tickmarks'), template: wp.template('revisions-tickmarks'),
@ -359,7 +356,6 @@ window.wp = window.wp || {};
// The meta view. // The meta view.
// This contains the revision meta, and the restore button. // This contains the revision meta, and the restore button.
revisions.view.Meta = wp.Backbone.View.extend({ revisions.view.Meta = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions-meta', className: 'revisions-meta',
template: wp.template('revisions-meta'), template: wp.template('revisions-meta'),
@ -386,7 +382,6 @@ window.wp = window.wp || {};
// The checkbox view. // The checkbox view.
// Encapsulates all of the configuration for the compare checkbox. // Encapsulates all of the configuration for the compare checkbox.
revisions.view.Checkbox = wp.Backbone.View.extend({ revisions.view.Checkbox = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions-checkbox', className: 'revisions-checkbox',
template: wp.template( 'revisions-checkbox' ), template: wp.template( 'revisions-checkbox' ),
@ -436,7 +431,6 @@ window.wp = window.wp || {};
// The tooltip view. // The tooltip view.
// Encapsulates the tooltip. // Encapsulates the tooltip.
revisions.view.Tooltip = wp.Backbone.View.extend({ revisions.view.Tooltip = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions-tooltip', className: 'revisions-tooltip',
template: wp.template( 'revisions-tooltip' ), template: wp.template( 'revisions-tooltip' ),
@ -474,7 +468,6 @@ window.wp = window.wp || {};
// The buttons view. // The buttons view.
// Encapsulates all of the configuration for the previous/next buttons. // Encapsulates all of the configuration for the previous/next buttons.
revisions.view.Buttons = wp.Backbone.View.extend({ revisions.view.Buttons = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions-buttons', className: 'revisions-buttons',
template: wp.template( 'revisions-buttons' ), template: wp.template( 'revisions-buttons' ),
@ -542,7 +535,6 @@ window.wp = window.wp || {};
// The slider view. // The slider view.
// Encapsulates all of the configuration for the jQuery UI slider into a view. // Encapsulates all of the configuration for the jQuery UI slider into a view.
revisions.view.Slider = wp.Backbone.View.extend({ revisions.view.Slider = wp.Backbone.View.extend({
tagName: 'div',
className: 'wp-slider', className: 'wp-slider',
events: { events: {
@ -788,7 +780,6 @@ window.wp = window.wp || {};
// The diff view. // The diff view.
// This is the view for the current active diff. // This is the view for the current active diff.
revisions.view.Diff = wp.Backbone.View.extend({ revisions.view.Diff = wp.Backbone.View.extend({
tagName: 'div',
className: 'revisions-diff', className: 'revisions-diff',
template: wp.template('revisions-diff'), template: wp.template('revisions-diff'),