From c345ab1419ea5741561cb7cf071524243a589131 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Tue, 29 May 2018 15:39:32 +0100 Subject: [PATCH] Indentation --- .../common/materialicons/Discord.vue | 2 +- .../components/common/materialicons/Star.vue | 2 +- tests/ext/plugins/Example 4/index.js | 20 +++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/src/ui/components/common/materialicons/Discord.vue b/client/src/ui/components/common/materialicons/Discord.vue index 71d79a36..4a08a66a 100644 --- a/client/src/ui/components/common/materialicons/Discord.vue +++ b/client/src/ui/components/common/materialicons/Discord.vue @@ -16,7 +16,7 @@ diff --git a/client/src/ui/components/common/materialicons/Star.vue b/client/src/ui/components/common/materialicons/Star.vue index 541adfe2..eb9eb8ec 100644 --- a/client/src/ui/components/common/materialicons/Star.vue +++ b/client/src/ui/components/common/materialicons/Star.vue @@ -16,7 +16,7 @@ diff --git a/tests/ext/plugins/Example 4/index.js b/tests/ext/plugins/Example 4/index.js index 7cc502ca..4c8e49e4 100644 --- a/tests/ext/plugins/Example 4/index.js +++ b/tests/ext/plugins/Example 4/index.js @@ -1,13 +1,13 @@ module.exports = (Plugin, { Logger, Settings, Modals, BdMenu: { BdMenuItems }, Api }) => class extends Plugin { - async onstart() { + async onstart() { this.keybindEvent = this.keybindEvent.bind(this); - // Some array event examples - const arraySetting = this.settings.getSetting('default', 'array-1'); - Logger.log('Array setting', arraySetting); - arraySetting.on('item-added', event => Logger.log('Item', event.item, 'was added to the array setting')); - arraySetting.on('item-updated', event => Logger.log('Item', event.item, 'of the array setting was updated', event)); - arraySetting.on('item-removed', event => Logger.log('Item', event.item, 'removed from the array setting')); + // Some array event examples + const arraySetting = this.settings.getSetting('default', 'array-1'); + Logger.log('Array setting', arraySetting); + arraySetting.on('item-added', event => Logger.log('Item', event.item, 'was added to the array setting')); + arraySetting.on('item-updated', event => Logger.log('Item', event.item, 'of the array setting was updated', event)); + arraySetting.on('item-removed', event => Logger.log('Item', event.item, 'removed from the array setting')); // Keybind setting examples const keybindSetting = this.settings.getSetting('default', 'keybind-1'); @@ -62,14 +62,14 @@ module.exports = (Plugin, { Logger, Settings, Modals, BdMenu: { BdMenuItems }, A Api, plugin: Api.plugin }; } }); - } + } - onstop() { + onstop() { const keybindSetting = this.settings.getSetting('default', 'keybind-1'); keybindSetting.off('keybind-activated', this.keybindEvent); BdMenuItems.removeAll(); - } + } keybindEvent(event) { Logger.log('Keybind pressed', event);