mediawiki-extensions-Visual.../modules/ve-mw/ce/nodes/ve.ce.MWLanguageVariantHiddenNode.js
Ed Sanders d42a0772bb Move verbose copyright message to AUTHORS.txt
Avoids having to update the date in every file every year,
which we stopped doing.

Change-Id: I7bf7aa0937eef911e00772470091753a7b06fd3d
2023-12-01 16:07:39 +00:00

39 lines
1 KiB
JavaScript

/*!
* VisualEditor ContentEditable MWLanguageVariantHiddenNode class.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* ContentEditable MediaWiki language variant hidden node.
*
* @class
* @extends ve.ce.MWLanguageVariantNode
*
* @constructor
* @param {ve.dm.MWLanguageVariantHiddenNode} model Model to observe
* @param {Object} [config] Configuration options
*/
ve.ce.MWLanguageVariantHiddenNode = function VeCeMWLanguageVariantHiddenNode() {
// Parent constructor
ve.ce.MWLanguageVariantHiddenNode.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.ce.MWLanguageVariantHiddenNode, ve.ce.MWLanguageVariantNode );
ve.ce.MWLanguageVariantHiddenNode.static.name = 'mwLanguageVariantHidden';
ve.ce.MWLanguageVariantHiddenNode.static.tagName = 'span';
ve.ce.MWLanguageVariantHiddenNode.prototype.appendHolder = function () {
// No holder for a hidden node.
return null;
};
/* Registration */
ve.ce.nodeFactory.register( ve.ce.MWLanguageVariantHiddenNode );