mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
20 lines
417 B
JavaScript
20 lines
417 B
JavaScript
/**
|
|
* Creates an es.ParagraphView object.
|
|
*
|
|
* @class
|
|
* @constructor
|
|
* @extends {es.DocumentViewLeafNode}
|
|
* @param {es.ParagraphModel} model Paragraph model to view
|
|
*/
|
|
es.ParagraphView = function( model ) {
|
|
// Inheritance
|
|
es.DocumentViewLeafNode.call( this, model );
|
|
|
|
// DOM Changes
|
|
this.$.addClass( 'es-paragraphView' );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
es.extendClass( es.ParagraphView, es.DocumentViewLeafNode );
|