mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-26 23:31:02 +00:00
e0de881a8a
JSHint and various git tools complain about this, so let's just do away with them altogether Change-Id: I731866bd21f1ee0088fb0a71df3abf92692aca23
20 lines
380 B
JavaScript
20 lines
380 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 );
|