Merge pull request #1317 from ethereum/yann300-patch-10

add missing API (newAccount)
pull/1/head
yann300 7 years ago committed by GitHub
commit 56a86d9db4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/app.js

@ -698,6 +698,9 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// ---------------- Righthand-panel -------------------- // ---------------- Righthand-panel --------------------
var rhpAPI = { var rhpAPI = {
newAccount: (pass, cb) => {
udapp.newAccount(pass, cb)
},
setEditorSize (delta) { setEditorSize (delta) {
$('#righthand-panel').css('width', delta) $('#righthand-panel').css('width', delta)
self._view.centerpanel.style.right = delta + 'px' self._view.centerpanel.style.right = delta + 'px'

Loading…
Cancel
Save