mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
1798a478e7
Change-Id: I9dbb7094f86338ea2e725ad29f66e9e4ca2b52ed
20 lines
381 B
JavaScript
20 lines
381 B
JavaScript
/**
|
|
* ContentEditable document.
|
|
*
|
|
* @class
|
|
* @extends {ve.Document}
|
|
* @constructor
|
|
* @param model {ve.dm.Document} Model to observe
|
|
*/
|
|
ve.ce.Document = function( model ) {
|
|
// Inheritance
|
|
ve.Document.call( this, new ve.ce.DocumentNode( model.getDocumentNode() ) );
|
|
|
|
// Properties
|
|
this.model = model;
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
ve.extendClass( ve.ce.Document, ve.Document );
|