Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/VisualEditor/lib/ve/src/dm/ve.dm.LeafNode.js
Ðазад
/*! * VisualEditor DataModel LeafNode class. * * @copyright See AUTHORS.txt */ /** * DataModel leaf node. * * Leaf nodes can not have any children. * * @abstract * @extends ve.dm.Node * @mixes ve.LeafNode * * @constructor * @param {Object} [element] Reference to element in linear model */ ve.dm.LeafNode = function VeDmLeafNode() { // Mixin constructor ve.LeafNode.call( this ); // Parent constructor ve.dm.LeafNode.super.apply( this, arguments ); }; /* Inheritance */ OO.inheritClass( ve.dm.LeafNode, ve.dm.Node ); OO.mixinClass( ve.dm.LeafNode, ve.LeafNode ); /* Static properties */ ve.dm.LeafNode.static.childNodeTypes = []; ve.dm.LeafNode.static.isDiffedAsLeaf = true; /* Methods */ /** * Get the annotations that apply to the node. * * Annotations are grabbed directly from the linear model, so they are updated live. If the linear * model element doesn't have a .annotations property, an empty array is returned. * * @return {number[]} Annotation set indexes in the index-value store */ ve.dm.LeafNode.prototype.getAnnotations = function () { return this.element.annotations || []; };
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка