%PDF- %PDF-
Direktori : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/ce/nodes/ |
Current File : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/ce/nodes/ve.ce.InternalItemNode.js |
/*! * VisualEditor InternalItemNode class. * * @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org */ /** * ContentEditable internal item node. * * @class * @extends ve.ce.BranchNode * @constructor * @param {ve.dm.InternalItemNode} model Model to observe * @param {Object} [config] Configuration options */ ve.ce.InternalItemNode = function VeCeInternalItemNode() { // Parent constructor ve.ce.InternalItemNode.super.apply( this, arguments ); this.$element.addClass( 've-ce-internalItemNode' ); }; /* Inheritance */ OO.inheritClass( ve.ce.InternalItemNode, ve.ce.BranchNode ); /* Static Properties */ ve.ce.InternalItemNode.static.name = 'internalItem'; ve.ce.InternalItemNode.static.tagName = 'span'; /* Registration */ ve.ce.nodeFactory.register( ve.ce.InternalItemNode );