Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 1x 311x 1x 1x 1x 1x 1x 1x 90x 1x | /*!
* VisualEditor DataModel AlienMetaItem class.
*
* @copyright See AUTHORS.txt
*/
/**
* DataModel alien meta item.
*
* @class
* @extends ve.dm.MetaItem
* @constructor
* @param {Object} element Reference to element in linmod
*/
ve.dm.AlienMetaItem = function VeDmAlienMetaItem() {
// Parent constructor
ve.dm.AlienMetaItem.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.AlienMetaItem, ve.dm.MetaItem );
/* Static Properties */
ve.dm.AlienMetaItem.static.name = 'alienMeta';
ve.dm.AlienMetaItem.static.matchTagNames = [ 'meta', 'link' ];
ve.dm.AlienMetaItem.static.allowedRdfaTypes = null;
ve.dm.AlienMetaItem.static.preserveHtmlAttributes = false;
ve.dm.AlienMetaItem.static.toDomElements = function ( dataElement, doc, converter ) {
return ve.copyDomElements( converter.getStore().value( dataElement.originalDomElementsHash ) || [], doc );
};
/* Registration */
ve.dm.modelRegistry.register( ve.dm.AlienMetaItem );
|