add missing API

pull/1/head
yann300 7 years ago committed by GitHub
parent c93ec612c7
commit 8c8a4d0f11
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