From 3cea49f6f6783f489b9164f136a93d3ef2dd1bc8 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 7 Sep 2016 19:36:59 +0100 Subject: [PATCH] Introduce compile button --- index.html | 1 + src/app.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/index.html b/index.html index ed660a6058a..038bada6043 100644 --- a/index.html +++ b/index.html @@ -91,6 +91,7 @@
+
diff --git a/src/app.js b/src/app.js index 1bd505602ec..82d124c9f1c 100644 --- a/src/app.js +++ b/src/app.js @@ -436,6 +436,10 @@ var run = function () { var renderer = new Renderer(editor, executionContext.web3(), updateFiles, udapp, executionContext, formalVerification.event, compiler.event); // eslint-disable-line + $('#compile').click(function () { + compiler.compile(); + }); + executionContext.event.register('contextChanged', this, function (context) { compiler.compile(); });