Commit 187145ea authored by yann300's avatar yann300

add getAccounts to appapi

parent 955355cd
...@@ -535,6 +535,9 @@ function run () { ...@@ -535,6 +535,9 @@ function run () {
document.querySelector(`.${css.dragbar2}`).style.right = delta + 'px' document.querySelector(`.${css.dragbar2}`).style.right = delta + 'px'
onResize() onResize()
}, },
getAccounts: (cb) => {
udapp.getAccounts(cb)
},
getSource: (fileName) => { getSource: (fileName) => {
return compiler.getSource(fileName) return compiler.getSource(fileName)
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment