diff --git a/src/app.js b/src/app.js index 544161b789..cde6fbbca4 100644 --- a/src/app.js +++ b/src/app.js @@ -168,6 +168,7 @@ module.exports = App function run () { var self = this + // ----------------- UniversalDApp ----------------- var transactionContextAPI = { getAddress: (cb) => { @@ -199,6 +200,7 @@ function run () { startdebugging(txResult.transactionHash) }) + // ----------------- Tx listener ----------------- var transactionReceiptResolver = { _transactionReceipts: {}, @@ -400,30 +402,6 @@ function run () { } var renderer = new Renderer(rendererAPI) - // ----------------- StaticAnalysis ----------------- - - var staticAnalysisAPI = { - renderWarning: (label, warningContainer, type) => { - return renderer.error(label, warningContainer, type) - }, - offsetToLineColumn: (location, file) => { - return offsetToLineColumnConverter.offsetToLineColumn(location, file, compiler.lastCompilationResult) - } - } - - var udapp = new UniversalDApp({ - api: { - logMessage: (msg) => { - self._components.editorpanel.log({ type: 'log', value: msg }) - } - }, - opt: { removable: false, removable_instances: true } - }) - udapp.reset({}, transactionContextAPI) - udapp.event.register('debugRequested', this, function (txResult) { - startdebugging(txResult.transactionHash) - }) - // ---------------- Righthand-panel -------------------- var rhpAPI = { config: config,