mediawiki-extensions-Visual.../modules/ve/ce/nodes/ve.ce.AlienBlockNode.js
Trevor Parscal c2e1350fe0 Remove more periods
Tags don't need periods at the end, these are not complete sentences.

Change-Id: I8efa931862149e892d08b370e70aff8d86a6db7d
2013-03-20 22:55:50 +00:00

35 lines
758 B
JavaScript

/*!
* VisualEditor ContentEditable AlienBlockNode class.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* ContentEditable alien block node.
*
* @class
* @extends ve.ce.AlienNode
* @constructor
* @param {ve.dm.AlienBlockNode} model Model to observe
*/
ve.ce.AlienBlockNode = function VeCeAlienBlockNode( model ) {
// Parent constructor
ve.ce.AlienNode.call( this, model );
// DOM Changes
this.$.addClass( 've-ce-alienBlockNode' );
};
/* Inheritance */
ve.inheritClass( ve.ce.AlienBlockNode, ve.ce.AlienNode );
/* Static Properties */
ve.ce.AlienBlockNode.static.name = 'alienBlock';
/* Registration */
ve.ce.nodeFactory.register( ve.ce.AlienBlockNode );