mediawiki-extensions-Visual.../modules/ve2/ce/ve.ce.Document.js

13 lines
273 B
JavaScript
Raw Normal View History

/**
* ContentEditable document.
*
* @class
* @constructor
* @param model {ve.dm.Document} Model to observe
*/
ve.ce.Document = function( model ) {
// Properties
this.documentModel = model;
this.documentNode = new ve.ce.DocumentNode( model.getDocumentNode() );
};