mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
17 lines
292 B
JavaScript
17 lines
292 B
JavaScript
/**
|
|
* Creates an es.SurfaceModel object.
|
|
*
|
|
* @class
|
|
* @constructor
|
|
* @param {es.DocumentModel} doc Document model to create surface for
|
|
*/
|
|
es.SurfaceModel = function( doc ) {
|
|
this.doc = doc;
|
|
};
|
|
|
|
/* Methods */
|
|
|
|
es.SurfaceModel.prototype.getDocument = function() {
|
|
return this.doc;
|
|
};
|