mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
13 lines
273 B
JavaScript
13 lines
273 B
JavaScript
|
/**
|
||
|
* 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() );
|
||
|
};
|