From 26bc448b7c1a12570bd9ed2eedbbb67f34ffef9c Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 4 Jul 2018 17:34:14 +0200 Subject: [PATCH] standard --- src/app.js | 1 - src/app/tabs/analysis-tab.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index 3a60350960..5737abea32 100644 --- a/src/app.js +++ b/src/app.js @@ -448,7 +448,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org self._components.editorpanel.event.register('resize', direction => self._adjustLayout(direction)) self._view.centerpanel.appendChild(self._components.editorpanel.render()) - var editor = self._components.editorpanel.getEditor() // The event listener needs to be registered as early as possible, because the // parent will send the message upon the "load" event. diff --git a/src/app/tabs/analysis-tab.js b/src/app/tabs/analysis-tab.js index 313fb577d6..f7a28c60a8 100644 --- a/src/app/tabs/analysis-tab.js +++ b/src/app/tabs/analysis-tab.js @@ -25,7 +25,7 @@ module.exports = class AnalysisTab { if (count > 0) { const msg = `Static Analysis raised ${count} warning(s) that requires your attention. Click here to show the warning(s).` const settings = { type: 'staticAnalysisWarning', click: () => self._deps.rightHandPanel.focusOn('staticanalysisView'), useSpan: true } - self.event.trigger('newStaticAnaysisWarningMessage', [msg, settings]) + self.event.trigger('newStaticAnaysisWarningMessage', [msg, settings]) } }) self._components.registry.put({api: staticanalysis, name: 'staticanalysis'})