mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
1ae5c13cb9
New changes: 5b448fa [BREAKING CHANGE] Merge Mobile/DesktopSurface into Surface 2d8959b Localisation updates from https://translatewiki.net. 7eee772 Follow-up 2d8959b: Fix build for added language 'io' f0dcedb ve.dm.TableMatrix: Really indent ASCII-art comments Change-Id: I62708f7caeb03b16cd318aab0b0ee3c674e75a26
32 lines
727 B
JavaScript
32 lines
727 B
JavaScript
/*!
|
|
* VisualEditor UserInterface MediaWiki MobileSurface class.
|
|
*
|
|
* @copyright 2011-2017 VisualEditor Team and others; see http://ve.mit-license.org
|
|
*/
|
|
|
|
/**
|
|
* @class
|
|
* @extends ve.ui.Surface
|
|
*
|
|
* @constructor
|
|
* @param {HTMLDocument|Array|ve.dm.LinearData|ve.dm.Document} dataOrDoc Document data to edit
|
|
* @param {Object} [config] Configuration options
|
|
*/
|
|
ve.ui.MWMobileSurface = function VeUiMWMobileSurface() {
|
|
// Parent constructor
|
|
ve.ui.MWMobileSurface.super.apply( this, arguments );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
OO.inheritClass( ve.ui.MWMobileSurface, ve.ui.Surface );
|
|
|
|
/* Methods */
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
ve.ui.MWMobileSurface.prototype.createContext = function () {
|
|
return new ve.ui.MWMobileContext( this );
|
|
};
|