From 396be94ef20df5c619823ca0489b634a2c5680f6 Mon Sep 17 00:00:00 2001 From: serapath Date: Sun, 20 May 2018 00:46:58 -0400 Subject: [PATCH] CompileTab: refactor element compileContainer --- src/app/tabs/compile-tab.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 72ca228e88..4c04d8cae2 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -22,7 +22,8 @@ module.exports = class CompileTab { autoCompile: null, compileButton: null, warnCompilationSlow: null, - compileIcon: null + compileIcon: null, + compileContainer: null } self.data = { autoCompile: self._opts.config.get('autoCompile'), @@ -127,7 +128,7 @@ module.exports = class CompileTab { self._view.compileButton = yo`
${self._view.compileIcon} Start to compile
` self._view.autoCompile = yo`` if (self.data.autoCompile) self._view.autoCompile.setAttribute('checked', '') - var compileContainer = yo` + self._view.compileContainer = yo`
${self._view.compileButton} @@ -150,7 +151,7 @@ module.exports = class CompileTab {
` var el = yo`
- ${compileContainer} + ${self._view.compileContainer} ${contractEl} ${errorContainer}
`