Unverified Commit c967ba97 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #862 from ethereum/AnalyzerCompilationIssue

Analyzer compilation issue
parents 64086a20 5131f348
...@@ -28,7 +28,7 @@ class AnalysisTab extends ViewPlugin { ...@@ -28,7 +28,7 @@ class AnalysisTab extends ViewPlugin {
} }
render () { render () {
if (!this.staticanalysis) this.staticanalysis = new StaticAnalysis(this.registry, this) this.staticanalysis = new StaticAnalysis(this.registry, this)
this.staticanalysis.event.register('staticAnaysisWarning', (count) => { this.staticanalysis.event.register('staticAnaysisWarning', (count) => {
if (count > 0) { if (count > 0) {
this.emit('statusChanged', { key: count, title: `${count} warning${count === 1 ? '' : 's'}`, type: 'warning' }) this.emit('statusChanged', { key: count, title: `${count} warning${count === 1 ? '' : 's'}`, type: 'warning' })
......
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