Commit d348817a authored by yann300's avatar yann300

standard

parent fb511e86
...@@ -448,7 +448,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -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._components.editorpanel.event.register('resize', direction => self._adjustLayout(direction))
self._view.centerpanel.appendChild(self._components.editorpanel.render()) 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 // The event listener needs to be registered as early as possible, because the
// parent will send the message upon the "load" event. // parent will send the message upon the "load" event.
......
...@@ -25,7 +25,7 @@ module.exports = class AnalysisTab { ...@@ -25,7 +25,7 @@ module.exports = class AnalysisTab {
if (count > 0) { if (count > 0) {
const msg = `Static Analysis raised ${count} warning(s) that requires your attention. Click here to show the warning(s).` 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 } 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'}) self._components.registry.put({api: staticanalysis, name: 'staticanalysis'})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment