mediawiki-extensions-Visual.../modules/ve-mw/dm/models/ve.dm.MWTemplatePlaceholderModel.js
Thiemo Kreuz 920550560d Remove redundant ve.dm.MWTemplatePlaceholderModel.isEmpty
This method already exists in the ve.dm.MWTransclusionPartModel
base class where it does the exact same.

Bug: T274551
Change-Id: I19d5914ed9b4b435c83ea4d64019bc46ce1ce8fd
2021-08-03 14:40:50 +02:00

26 lines
776 B
JavaScript

/*!
* VisualEditor DataModel MWTemplatePlaceholderModel class.
*
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Represents a not yet realized template invocation as long as the user is still searching for a
* template name. Meant to be an item in a {@see ve.dm.MWTransclusionModel}.
*
* @class
* @extends ve.dm.MWTransclusionPartModel
*
* @constructor
* @param {ve.dm.MWTransclusionModel} transclusion
*/
ve.dm.MWTemplatePlaceholderModel = function VeDmMWTemplatePlaceholderModel() {
// Parent constructor
ve.dm.MWTemplatePlaceholderModel.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.MWTemplatePlaceholderModel, ve.dm.MWTransclusionPartModel );