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 | 1x 4x 1x 1x 1x | /*! * VisualEditor ContentEditable MetaItem class. * * @copyright See AUTHORS.txt */ /** * ContentEditable meta item node. * * @class * @extends ve.ce.LeafNode * @constructor * @param {ve.dm.MetaItem} model Model to observe * @param {Object} [config] Configuration options */ ve.ce.MetaItem = function VeCeMetaItem( model, config ) { // Call parent constructor with explicit DOM node-less $element ve.ce.MetaItem.super.call( this, model, ve.extendObject( {}, config, { $element: $() } ) ); }; /* Inheritance */ OO.inheritClass( ve.ce.MetaItem, ve.ce.LeafNode ); /* Static Properties */ ve.ce.MetaItem.static.name = 'meta'; ve.ce.nodeFactory.register( ve.ce.MetaItem ); |