Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/VisualEditor/lib/ve/src/ui/commands/ve.ui.ClearAnnotationCommand.js
Ðазад
/*! * VisualEditor UserInterface ClearAnnotationCommand class. * * @copyright See AUTHORS.txt */ /** * UserInterface clear all annotations command. * * @class * @extends ve.ui.Command * * @constructor */ ve.ui.ClearAnnotationCommand = function VeUiClearAnnotationCommand() { // Parent constructor ve.ui.ClearAnnotationCommand.super.call( this, 'clear', 'annotation', 'clearAll', { supportedSelections: [ 'linear', 'table' ] } ); }; /* Inheritance */ OO.inheritClass( ve.ui.ClearAnnotationCommand, ve.ui.Command ); /* Methods */ /** * @inheritdoc */ ve.ui.ClearAnnotationCommand.prototype.isExecutable = function ( fragment ) { // Parent method return ve.ui.ClearAnnotationCommand.super.prototype.isExecutable.apply( this, arguments ) && fragment.hasAnnotations(); }; /* Registration */ ve.ui.commandRegistry.register( new ve.ui.ClearAnnotationCommand() );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка