mediawiki-extensions-Visual.../modules/ve-mw/ui/ve.ui.MWMobileSurface.js
Roan Kattouw 95bffa22a0 Stop using this.$
Has been a backwards-compatibility alias since OOjs UI 0.7.0.

Change-Id: I17d7c03e9d1b9fa991d88444d22abfd403269ee0
2015-04-14 02:54:01 +01:00

32 lines
739 B
JavaScript

/*!
* VisualEditor UserInterface MediaWiki MobileSurface class.
*
* @copyright 2011-2015 VisualEditor Team and others; see http://ve.mit-license.org
*/
/**
* @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 () {
return new ve.ui.MWMobileContext( this );
};