Unverified Commit 90032a8c authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #1385 from ethereum/commitreorg

Commits reorganisation
parents fd691845 1aeacf50
......@@ -204,6 +204,10 @@ module.exports = class CompileTab {
}
function updateAutoCompile (event) { self._opts.config.set('autoCompile', self._view.autoCompile.checked) }
function compile (event) { self._api.runCompiler() }
function hideWarnings (event) {
self._opts.config.set('hideWarnings', self._view.hideWarningsBox.checked)
self._api.runCompiler()
}
function getContractProperty (property) {
const select = self._view.contractNames
if (select.children.length > 0 && select.selectedIndex >= 0) {
......@@ -234,10 +238,6 @@ module.exports = class CompileTab {
function copyBytecode () {
copyContractProperty('bytecode')
}
function hideWarnings (event) {
self._opts.config.set('hideWarnings', self._view.hideWarningsBox.checked)
self._api.runCompiler()
}
function details () {
const select = self._view.contractNames
if (select.children.length > 0 && select.selectedIndex >= 0) {
......
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