Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/VisualEditor/lib/ve/src/ui/windowmanagers/ve.ui.SurfaceWindowManager.js
Ðазад
/*! * VisualEditor UserInterface SurfaceWindowManager class. * * @copyright See AUTHORS.txt */ /** * Window manager for desktop inspectors. * * @class * @extends ve.ui.WindowManager * * @constructor * @param {ve.ui.Surface} surface Surface this belongs to * @param {Object} [config] Configuration options * @param {ve.ui.Overlay} [config.overlay] Overlay to use for menus */ ve.ui.SurfaceWindowManager = function VeUiSurfaceWindowManager( surface, config ) { // Properties // Set up surface before calling the parent so we can request // specific surface-related details from within the constructor. this.surface = surface; // Parent constructor ve.ui.SurfaceWindowManager.super.call( this, config ); }; /* Inheritance */ OO.inheritClass( ve.ui.SurfaceWindowManager, ve.ui.WindowManager ); /* Methods */ /** * Override the window manager's directionality method to get the * directionality from the surface. The surface sometimes does not * have a directionality set; fallback to direction from the document. * * @return {string} UI directionality */ ve.ui.SurfaceWindowManager.prototype.getDir = function () { return this.surface.getDir() || // Fallback to parent method ve.ui.SurfaceWindowManager.super.prototype.getDir.call( this ); }; /** * Get surface. * * @return {ve.ui.Surface} Surface this belongs to */ ve.ui.SurfaceWindowManager.prototype.getSurface = function () { return this.surface; };
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка