2014-10-20 19:43:03 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor UserInterface MediaWiki MobileSurface class.
|
|
|
|
*
|
2017-01-03 16:58:33 +00:00
|
|
|
* @copyright 2011-2017 VisualEditor Team and others; see http://ve.mit-license.org
|
2014-10-20 19:43:03 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @class
|
|
|
|
* @extends ve.ui.MobileSurface
|
|
|
|
*
|
|
|
|
* @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.MobileSurface );
|
|
|
|
|
|
|
|
/* Methods */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
|
|
|
ve.ui.MWMobileSurface.prototype.createContext = function () {
|
2015-04-09 23:47:15 +00:00
|
|
|
return new ve.ui.MWMobileContext( this );
|
2014-10-20 19:43:03 +00:00
|
|
|
};
|