mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Remove useless ve-ce-mw*Node classes from GCN subclasses"
This commit is contained in:
commit
fdfc7c6386
|
@ -122,9 +122,6 @@ ve.ce.MWInlineExtensionNode = function VeCeMWInlineExtensionNode( model, config
|
|||
|
||||
// Mixin constructors
|
||||
ve.ce.MWExtensionNode.call( this );
|
||||
|
||||
// DOM changes
|
||||
this.$element.addClass( 've-ce-mwInlineExtensionNode' );
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
@ -151,9 +148,6 @@ ve.ce.MWBlockExtensionNode = function VeCeMWBlockExtensionNode( model, config )
|
|||
|
||||
// Mixin constructors
|
||||
ve.ce.MWExtensionNode.call( this );
|
||||
|
||||
// DOM changes
|
||||
this.$element.addClass( 've-ce-mwBlockExtensionNode' );
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
|
@ -34,17 +34,6 @@ ve.ce.MWGalleryNode.static.primaryCommandName = 'gallery';
|
|||
|
||||
/* Methods */
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.ce.MWGalleryNode.prototype.onSetup = function () {
|
||||
// Parent method
|
||||
ve.ce.MWGalleryNode.super.prototype.onSetup.call( this );
|
||||
|
||||
// DOM changes
|
||||
this.$element.addClass( 've-ce-mwGalleryNode' );
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc ve.ce.GeneratedContentNode
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue