Esanders has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/228290

Change subject: Remove duplicated commands for 'code' and 'strikethrough'
......................................................................

Remove duplicated commands for 'code' and 'strikethrough'

Change-Id: Iee03c564c3cdb22b25b2af66a282d6b3412cdd0d
---
M src/ui/ve.ui.CommandRegistry.js
1 file changed, 0 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/90/228290/1

diff --git a/src/ui/ve.ui.CommandRegistry.js b/src/ui/ve.ui.CommandRegistry.js
index 58562ea..8b551b1 100644
--- a/src/ui/ve.ui.CommandRegistry.js
+++ b/src/ui/ve.ui.CommandRegistry.js
@@ -156,18 +156,6 @@
 );
 ve.ui.commandRegistry.register(
        new ve.ui.Command(
-               'code', 'annotation', 'toggle',
-               { args: [ 'textStyle/code' ], supportedSelections: [ 'linear', 
'table' ] }
-       )
-);
-ve.ui.commandRegistry.register(
-       new ve.ui.Command(
-               'strikethrough', 'annotation', 'toggle',
-               { args: [ 'textStyle/strikethrough' ], supportedSelections: [ 
'linear', 'table' ] }
-       )
-);
-ve.ui.commandRegistry.register(
-       new ve.ui.Command(
                'language', 'window', 'open',
                { args: [ 'language' ], supportedSelections: [ 'linear' ] }
        )

-- 
To view, visit https://gerrit.wikimedia.org/r/228290
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee03c564c3cdb22b25b2af66a282d6b3412cdd0d
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to