Debian Codegraph @

extensions/VisualEditor/modules/ve-mw/ce/nodes/ve.ce.MWPreNode.js

raw symbols SCIP
1 /*!
2 * VisualEditor ContentEditable MWPreNode class.
3 *
4 * @copyright See AUTHORS.txt
5 * @license The MIT License (MIT); see LICENSE.txt
6 */
7
8 /**
9 * ContentEditable MediaWiki pre node.
10 *
11 * @class
12 * @extends ve.ce.MWBlockExtensionNode
13 *
14 * @constructor
15 * @param {ve.dm.MWPreNode} model Model to observe
16 * @param {Object} [config] Configuration options
17 */
18 ve.ce.MWPreNode = function VeCeMWPreNode() {
19 // Parent constructor
20 ve.ce.MWPreNode.super.apply( this, arguments );
21 };
22
23 /* Inheritance */
24
25 OO.inheritClass( ve.ce.MWPreNode, ve.ce.MWBlockExtensionNode );
26
27 /* Static Properties */
28
29 ve.ce.MWPreNode.static.name = 'mwPre';
30
31 ve.ce.MWPreNode.static.tagName = 'pre';
32
33 ve.ce.MWPreNode.static.primaryCommandName = 'mwPre';
34
35 /* Registration */
36
37 ve.ce.nodeFactory.register( ve.ce.MWPreNode );