From d9067e54b60eb31e6e3610b040a2bbfd81488177 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 30 Nov 2017 13:26:53 +0100 Subject: [PATCH] add getAccounts to appapi --- src/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.js b/src/app.js index 943025a44e..d8af642903 100644 --- a/src/app.js +++ b/src/app.js @@ -535,6 +535,9 @@ function run () { document.querySelector(`.${css.dragbar2}`).style.right = delta + 'px' onResize() }, + getAccounts: (cb) => { + udapp.getAccounts(cb) + }, getSource: (fileName) => { return compiler.getSource(fileName) },