mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
20 lines
400 B
JavaScript
20 lines
400 B
JavaScript
|
/**
|
||
|
* Creates an es.PreView object.
|
||
|
*
|
||
|
* @class
|
||
|
* @constructor
|
||
|
* @extends {es.DocumentViewLeafNode}
|
||
|
* @param {es.PreModel} model Pre model to view
|
||
|
*/
|
||
|
es.PreView = function( model ) {
|
||
|
// Inheritance
|
||
|
es.DocumentViewLeafNode.call( this, model );
|
||
|
|
||
|
// DOM Changes
|
||
|
this.$.addClass( 'es-preView' );
|
||
|
};
|
||
|
|
||
|
/* Inheritance */
|
||
|
|
||
|
es.extendClass( es.PreView, es.DocumentViewLeafNode );
|