Page MenuHomeWickedGov Phorge

ve.dm.CommentMetaItem.js
No OneTemporary

Size
837 B
Referenced Files
None
Subscribers
None

ve.dm.CommentMetaItem.js

/*!
* VisualEditor DataModel CommentMetaItem class.
*
* @copyright See AUTHORS.txt
*/
/**
* @class
* @extends ve.dm.MetaItem
*
* @constructor
* @param {Object} element Reference to element in linmod
*/
ve.dm.CommentMetaItem = function VeDmCommentMetaItem() {
// Parent constructor
ve.dm.CommentMetaItem.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.CommentMetaItem, ve.dm.MetaItem );
/* Static Properties */
ve.dm.CommentMetaItem.static.name = 'commentMeta';
ve.dm.CommentMetaItem.static.matchTagNames = [];
ve.dm.CommentMetaItem.static.preserveHtmlAttributes = false;
ve.dm.CommentMetaItem.static.toDomElements = function ( dataElement, doc ) {
return [ doc.createComment( dataElement.attributes.text ) ];
};
/* Registration */
ve.dm.modelRegistry.register( ve.dm.CommentMetaItem );

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 09:14 (1 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/58/13430302b8270c8e4cb38daa9ade
Default Alt Text
ve.dm.CommentMetaItem.js (837 B)

Event Timeline