Merge pull request #1385 from ethereum/commitreorg

Commits reorganisation
pull/1/head
yann300 6 years ago committed by GitHub
commit 90032a8c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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 updateAutoCompile (event) { self._opts.config.set('autoCompile', self._view.autoCompile.checked) }
function compile (event) { self._api.runCompiler() } function compile (event) { self._api.runCompiler() }
function hideWarnings (event) {
self._opts.config.set('hideWarnings', self._view.hideWarningsBox.checked)
self._api.runCompiler()
}
function getContractProperty (property) { function getContractProperty (property) {
const select = self._view.contractNames const select = self._view.contractNames
if (select.children.length > 0 && select.selectedIndex >= 0) { if (select.children.length > 0 && select.selectedIndex >= 0) {
@ -234,10 +238,6 @@ module.exports = class CompileTab {
function copyBytecode () { function copyBytecode () {
copyContractProperty('bytecode') copyContractProperty('bytecode')
} }
function hideWarnings (event) {
self._opts.config.set('hideWarnings', self._view.hideWarningsBox.checked)
self._api.runCompiler()
}
function details () { function details () {
const select = self._view.contractNames const select = self._view.contractNames
if (select.children.length > 0 && select.selectedIndex >= 0) { if (select.children.length > 0 && select.selectedIndex >= 0) {

Loading…
Cancel
Save