| 1 | /*! |
| 2 | * VisualEditor ContentEditable MWTransclusionInlineNode class. |
| 3 | * |
| 4 | * @copyright See AUTHORS.txt |
| 5 | * @license The MIT License (MIT); see LICENSE.txt |
| 6 | */ |
| 7 | |
| 8 | /** |
| 9 | * ContentEditable MediaWiki transclusion inline node. |
| 10 | * |
| 11 | * @class |
| 12 | * @extends ve.ce.MWTransclusionNode |
| 13 | * @constructor |
| 14 | * @param {ve.dm.MWTransclusionInlineNode} model Model to observe |
| 15 | */ |
| 16 | ve.ce.MWTransclusionInlineNode = function VeCeMWTransclusionInlineNode( model ) { |
| 17 | // Parent constructor |
| 18 | ve.ce.MWTransclusionInlineNode.super.call( this, model ); |
| 19 | }; |
| 20 | |
| 21 | /* Inheritance */ |
| 22 | |
| 23 | OO.inheritClass( ve.ce.MWTransclusionInlineNode, ve.ce.MWTransclusionNode ); |
| 24 | |
| 25 | /* Static Properties */ |
| 26 | |
| 27 | ve.ce.MWTransclusionInlineNode.static.name = 'mwTransclusionInline'; |
| 28 | |
| 29 | ve.ce.MWTransclusionInlineNode.static.tagName = 'span'; |
| 30 | |
| 31 | /* Registration */ |
| 32 | |
| 33 | ve.ce.nodeFactory.register( ve.ce.MWTransclusionInlineNode ); |