mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Cleanup action methods
Changes: * Remove reference to inspector close method, which didn't actually exist * Use more spacy array syntax for all action methods Change-Id: I08ee2d262acc7b39456766fb4a0b490da88ad041
This commit is contained in:
parent
67be7db1eb
commit
3e460a02df
|
@ -30,7 +30,7 @@ ve.inheritClass( ve.ui.AnnotationAction, ve.ui.Action );
|
|||
* @static
|
||||
* @property
|
||||
*/
|
||||
ve.ui.AnnotationAction.static.methods = ['set', 'clear', 'toggle', 'clearAll'];
|
||||
ve.ui.AnnotationAction.static.methods = [ 'set', 'clear', 'toggle', 'clearAll' ];
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ ve.inheritClass( ve.ui.ContentAction, ve.ui.Action );
|
|||
* @static
|
||||
* @property
|
||||
*/
|
||||
ve.ui.ContentAction.static.methods = ['insert', 'remove', 'select'];
|
||||
ve.ui.ContentAction.static.methods = [ 'insert', 'remove', 'select' ];
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ ve.inheritClass( ve.ui.FormatAction, ve.ui.Action );
|
|||
* @static
|
||||
* @property
|
||||
*/
|
||||
ve.ui.FormatAction.static.methods = ['convert'];
|
||||
ve.ui.FormatAction.static.methods = [ 'convert' ];
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ ve.inheritClass( ve.ui.HistoryAction, ve.ui.Action );
|
|||
* @static
|
||||
* @property
|
||||
*/
|
||||
ve.ui.HistoryAction.static.methods = ['undo', 'redo'];
|
||||
ve.ui.HistoryAction.static.methods = [ 'undo', 'redo' ];
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ ve.inheritClass( ve.ui.IndentationAction, ve.ui.Action );
|
|||
* @static
|
||||
* @property
|
||||
*/
|
||||
ve.ui.IndentationAction.static.methods = ['increase', 'decrease'];
|
||||
ve.ui.IndentationAction.static.methods = [ 'increase', 'decrease' ];
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ ve.inheritClass( ve.ui.InspectorAction, ve.ui.Action );
|
|||
* @static
|
||||
* @property
|
||||
*/
|
||||
ve.ui.InspectorAction.static.methods = ['open', 'close'];
|
||||
ve.ui.InspectorAction.static.methods = [ 'open' ];
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ ve.inheritClass( ve.ui.ListAction, ve.ui.Action );
|
|||
* @static
|
||||
* @property
|
||||
*/
|
||||
ve.ui.ListAction.static.methods = ['wrap', 'unwrap'];
|
||||
ve.ui.ListAction.static.methods = [ 'wrap', 'unwrap' ];
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
Loading…
Reference in a new issue