From 689585a10ce008290888b75c34e25239b3e0c9bb Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 29 Aug 2019 13:00:15 +0200 Subject: [PATCH] standard --- src/app/editor/SourceHighlighters.js | 3 --- src/app/tabs/test-tab.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/editor/SourceHighlighters.js b/src/app/editor/SourceHighlighters.js index 1c3e0d736c..bf44e50c27 100644 --- a/src/app/editor/SourceHighlighters.js +++ b/src/app/editor/SourceHighlighters.js @@ -1,9 +1,6 @@ 'use strict' const SourceHighlighter = require('./sourceHighlighter') -import { Plugin } from '@remixproject/engine' -import * as packageJson from '../../../package.json' - // EditorApi: // - methods: ['highlight', 'discardHighlight'], diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 94da249b24..9c106f88d7 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -19,7 +19,7 @@ const profile = { } module.exports = class TestTab extends ViewPlugin { - constructor (fileManager, filePanel, compileTab, appManager, renderer, editor) { + constructor (fileManager, filePanel, compileTab, appManager, renderer) { super(profile) this.compileTab = compileTab this._view = { el: null } @@ -120,7 +120,7 @@ module.exports = class TestTab extends ViewPlugin { updateFinalResult (_errors, result, filename) { this.testsSummary.hidden = false if (_errors) { - _errors.forEach((err) => this.renderer.error(err.formattedMessage || err.message, this.testsSummary, {type: err.severity}) ) + _errors.forEach((err) => this.renderer.error(err.formattedMessage || err.message, this.testsSummary, {type: err.severity})) return } this.testsSummary.appendChild(yo`
${filename}
`)