mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
13 lines
348 B
JavaScript
13 lines
348 B
JavaScript
es.ClearButtonTool = function( toolbar ) {
|
|
es.ButtonTool.call( this, toolbar, 'clear' );
|
|
};
|
|
|
|
es.ClearButtonTool.prototype.updateState = function( selection, annotations ) {
|
|
};
|
|
|
|
es.ClearButtonTool.prototype.onClick = function() {
|
|
};
|
|
|
|
es.ToolbarView.tools.clear = es.ClearButtonTool;
|
|
|
|
es.extendClass( es.ClearButtonTool, es.ButtonTool ); |