mediawiki-extensions-Visual.../modules/ve2/ce/ve.ce.Document.js
Trevor Parscal 7b7ff5a503 Added ve.dm.Surface, ve.ce.Surface, ve.ce.Document
Change-Id: I382730e1a9f1abcb4b42499267c8dcaf76fc64e1
2012-05-03 13:21:13 -07:00

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() );
};