Merge pull request #1385 from ethereum/commitreorg

Commits reorganisation
pull/3094/head
yann300 6 years ago committed by GitHub
commit f2f770d3bd
  1. 8
      src/app/tabs/compile-tab.js

@ -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) {

Loading…
Cancel
Save