Move editor.clearAnnotations from the compiler to app

pull/1/head
Alex Beregszaszi 8 years ago
parent 0d532f0090
commit a9da67aa98
  1. 4
      src/app.js
  2. 1
      src/app/compiler.js

@ -522,6 +522,10 @@ var run = function () {
}
})
compiler.event.register('compilationStarted', this, function () {
editor.clearAnnotations()
})
function startdebugging (txHash) {
transactionDebugger.debug(txHash)
selectTab($('ul#options li.debugView'))

@ -38,7 +38,6 @@ function Compiler (editor, handleGithubCall) {
}
var compile = function () {
editor.clearAnnotations()
self.event.trigger('compilationStarted', [])
var input = editor.getValue()

Loading…
Cancel
Save