add missing API

pull/3094/head
yann300 7 years ago committed by GitHub
parent 2981da8d0c
commit c3c6262eab
  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