Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Being pedantic is my thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Dec 16, 2019
1 parent 0444f54 commit ceb4e46
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 33 deletions.
28 changes: 14 additions & 14 deletions src/specialcharacters.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ import '../theme/specialcharacters.css';
* @extends module:core/plugin~Plugin
*/
export default class SpecialCharacters extends Plugin {
/**
* @inheritDoc
*/
static get requires() {
return [ SpecialCharactersUI ];
}

/**
* @inheritDoc
*/
static get pluginName() {
return 'SpecialCharacters';
}

/**
* @inheritDoc
*/
Expand All @@ -41,20 +55,6 @@ export default class SpecialCharacters extends Plugin {
this._groups = new Map();
}

/**
* @inheritDoc
*/
static get requires() {
return [ SpecialCharactersUI ];
}

/**
* @inheritDoc
*/
static get pluginName() {
return 'SpecialCharacters';
}

/**
* Adds a collection of special characters to specified group. A title of a special character must be unique.
*
Expand Down
4 changes: 1 addition & 3 deletions src/specialcharactersarrows.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default class SpecialCharactersArrows extends Plugin {
* @inheritDoc
*/
static get requires() {
return [
SpecialCharacters
];
return [ SpecialCharacters ];
}

/**
Expand Down
4 changes: 1 addition & 3 deletions src/specialcharacterscurrency.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default class SpecialCharactersCurrency extends Plugin {
* @inheritDoc
*/
static get requires() {
return [
SpecialCharacters
];
return [ SpecialCharacters ];
}

/**
Expand Down
4 changes: 1 addition & 3 deletions src/specialcharacterslatin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default class SpecialCharactersLatin extends Plugin {
* @inheritDoc
*/
static get requires() {
return [
SpecialCharacters
];
return [ SpecialCharacters ];
}

/**
Expand Down
4 changes: 1 addition & 3 deletions src/specialcharactersmathematical.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default class SpecialCharactersMathematical extends Plugin {
* @inheritDoc
*/
static get requires() {
return [
SpecialCharacters
];
return [ SpecialCharacters ];
}

/**
Expand Down
4 changes: 1 addition & 3 deletions src/specialcharacterstext.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default class SpecialCharactersText extends Plugin {
* @inheritDoc
*/
static get requires() {
return [
SpecialCharacters
];
return [ SpecialCharacters ];
}

/**
Expand Down
8 changes: 4 additions & 4 deletions src/specialcharactersui.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ export default class SpecialCharactersUI extends Plugin {
/**
* @inheritDoc
*/
static get pluginName() {
return 'SpecialCharactersUI';
static get requires() {
return [ Typing ];
}

/**
* @inheritDoc
*/
static get requires() {
return [ Typing ];
static get pluginName() {
return 'SpecialCharactersUI';
}

/**
Expand Down

0 comments on commit ceb4e46

Please sign in to comment.