From 969a21db800f3e13bd737860941230b9d5a1523f Mon Sep 17 00:00:00 2001 From: lianahus Date: Thu, 12 Aug 2021 12:39:38 +0200 Subject: [PATCH] linter --- .../src/app/components/plugin-manager-component.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/remix-ide/src/app/components/plugin-manager-component.js b/apps/remix-ide/src/app/components/plugin-manager-component.js index 1e6f2c8813..7d166eb5ec 100644 --- a/apps/remix-ide/src/app/components/plugin-manager-component.js +++ b/apps/remix-ide/src/app/components/plugin-manager-component.js @@ -138,17 +138,17 @@ class PluginManagerComponent extends ViewPlugin { }) } - activateP(name) { + activateP (name) { this.appManager.activatePlugin(name) _paq.push(['trackEvent', 'manager', 'activate', name]) } - deactivateP(name) { + deactivateP (name) { this.call('manager', 'deactivatePlugin', name) _paq.push(['trackEvent', 'manager', 'deactivate', name]) } - renderItem(profile) { + renderItem (profile) { const displayName = (profile.displayName) ? profile.displayName : profile.name const doclink = profile.documentation ? yo`` : yo`` @@ -207,7 +207,7 @@ class PluginManagerComponent extends ViewPlugin { /** * Add a local plugin to the list of plugins */ - async openLocalPlugin() { + async openLocalPlugin () { try { const profile = await this.localPlugin.open(this.appManager.getAll()) if (!profile) return @@ -224,7 +224,7 @@ class PluginManagerComponent extends ViewPlugin { } } - render() { + render () { // Filtering helpers const isFiltered = (profile) => (profile.displayName ? profile.displayName : profile.name).toLowerCase().includes(this.filter) const isNotRequired = (profile) => !this.appManager.isRequired(profile.name) @@ -291,13 +291,13 @@ class PluginManagerComponent extends ViewPlugin { return rootView } - reRender() { + reRender () { if (this.views.root) { yo.update(this.views.root, this.render()) } } - filterPlugins({ target }) { + filterPlugins ({ target }) { this.filter = target.value.toLowerCase() this.reRender() }