pull/3386/head
filip mertens 2 years ago
parent c5db556d31
commit 49e967e87b
  1. 13
      apps/remix-ide/src/app.js

@ -119,8 +119,6 @@ class AppComponent {
this.engine = new RemixEngine() this.engine = new RemixEngine()
this.engine.register(appManager); this.engine.register(appManager);
const matomoDomains = { const matomoDomains = {
'remix-alpha.ethereum.org': 27, 'remix-alpha.ethereum.org': 27,
'remix-beta.ethereum.org': 25, 'remix-beta.ethereum.org': 25,
@ -450,7 +448,11 @@ class AppComponent {
if ( if (
this.appManager.pluginLoader.current === 'queryParams' && this.appManager.pluginLoader.current === 'queryParams' &&
this.workspace.length > 0 this.workspace.length > 0
) { this.menuicons.select(this.workspace[this.workspace.length - 1]) } ) {
this.menuicons.select(this.workspace[this.workspace.length - 1])
} else {
this.appManager.call('tabs', 'focus', 'home')
}
} }
if (params.call) { if (params.call) {
@ -484,19 +486,16 @@ class AppComponent {
} }
} }
} }
}) })
.catch(console.error) .catch(console.error)
} }
const loadedElement = document.createElement('span') const loadedElement = document.createElement('span')
loadedElement.setAttribute('data-id', 'apploaded') loadedElement.setAttribute('data-id', 'apploaded')
document.body.appendChild(loadedElement) document.body.appendChild(loadedElement)
}) })
// activate solidity plugin // activate solidity plugin
this.appManager.activatePlugin(['solidity', 'udapp', 'deploy-libraries', 'link-libraries', 'openzeppelin-proxy']) this.appManager.activatePlugin(['solidity', 'udapp', 'deploy-libraries', 'link-libraries', 'openzeppelin-proxy'])
// Load and start the service who manager layout and frame
} }
} }

Loading…
Cancel
Save