%PDF- %PDF-
Direktori : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/dm/nodes/ |
Current File : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/dm/nodes/ve.dm.BlockquoteNode.js |
/*! * VisualEditor DataModel BlockquoteNode class. * * @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /** * DataModel Blockquote node. * * @class * @extends ve.dm.BranchNode * @constructor * @param {ve.dm.LeafNode[]} [children] Child nodes to attach * @param {Object} [element] Reference to element in linear model */ ve.dm.BlockquoteNode = function VeDmBlockquoteNode() { // Parent constructor ve.dm.BlockquoteNode.super.apply( this, arguments ); }; /* Inheritance */ OO.inheritClass( ve.dm.BlockquoteNode, ve.dm.BranchNode ); /* Static Properties */ ve.dm.BlockquoteNode.static.name = 'blockquote'; ve.dm.BlockquoteNode.static.canContainContent = true; ve.dm.BlockquoteNode.static.matchTagNames = [ 'blockquote' ]; /* Registration */ ve.dm.modelRegistry.register( ve.dm.BlockquoteNode );