mediawiki-extensions-Visual.../modules/es/views/es.PreView.js

20 lines
381 B
JavaScript
Raw Normal View History

2011-11-10 11:51:42 +00:00
/**
* 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 );