Merge pull request #387 from ethereum/config-autocompile

Make autocompile a configuration item
pull/1/head
chriseth 8 years ago committed by GitHub
commit f81504c7a3
  1. 5
      src/app.js

@ -524,9 +524,14 @@ var run = function () {
$('#staticanalysisView').append(staticanalysis.render())
var autoCompile = document.querySelector('#autoCompile').checked
if (config.exists('autoCompile')) {
autoCompile = config.get('autoCompile')
$('#autoCompile').checked = autoCompile
}
document.querySelector('#autoCompile').addEventListener('change', function () {
autoCompile = document.querySelector('#autoCompile').checked
config.set('autoCompile', autoCompile)
})
function runCompiler () {

Loading…
Cancel
Save