mediawiki-extensions-Syntax.../modules/ve-syntaxhighlight/ve.dm.MWInlineSyntaxHighlightNode.js
Ed Sanders 963859f8c9 VE integration: Remove copyright dates
Change-Id: I424e7bb7ac64297b55a47db058605f528084c35e
2024-02-29 15:13:03 +00:00

36 lines
934 B
JavaScript

/*!
* VisualEditor DataModel MWInlineSyntaxHighlightNode class.
*
* @copyright VisualEditor Team and others
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* DataModel MediaWiki inline syntax highlight node.
*
* @class
*
* @constructor
*/
ve.dm.MWInlineSyntaxHighlightNode = function VeDmMWInlineSyntaxHighlightNode() {
// Parent method
ve.dm.MWInlineExtensionNode.super.apply( this, arguments );
// Mixin method
ve.dm.MWSyntaxHighlightNode.call( this );
};
OO.inheritClass( ve.dm.MWInlineSyntaxHighlightNode, ve.dm.MWInlineExtensionNode );
OO.mixinClass( ve.dm.MWInlineSyntaxHighlightNode, ve.dm.MWSyntaxHighlightNode );
ve.dm.MWInlineSyntaxHighlightNode.static.name = 'mwInlineSyntaxHighlight';
ve.dm.MWInlineSyntaxHighlightNode.static.tagName = 'code';
ve.dm.MWInlineSyntaxHighlightNode.static.isContent = true;
/* Registration */
ve.dm.modelRegistry.register( ve.dm.MWInlineSyntaxHighlightNode );