|
|
|
@ -135,7 +135,7 @@ class App { |
|
|
|
|
document.body.appendChild(self._view.splashScreen) |
|
|
|
|
|
|
|
|
|
// setup storage
|
|
|
|
|
var configStorage = new Storage('config-v0.8:') |
|
|
|
|
const configStorage = new Storage('config-v0.8:') |
|
|
|
|
|
|
|
|
|
// load app config
|
|
|
|
|
const config = new Config(configStorage) |
|
|
|
@ -400,16 +400,18 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
|
await appManager.activatePlugin(['home', 'sidePanel', 'hiddenPanel', 'pluginManager', 'fileExplorers', 'settings', 'contextualListener', 'scriptRunner', 'terminal', 'fetchAndCompile']) |
|
|
|
|
|
|
|
|
|
// Set workspace after initial activation
|
|
|
|
|
if (Array.isArray(workspace)) await appManager.activatePlugin(workspace) |
|
|
|
|
if (Array.isArray(workspace)) { |
|
|
|
|
await appManager.activatePlugin(workspace) |
|
|
|
|
} else { |
|
|
|
|
// activate solidity plugin
|
|
|
|
|
appManager.ensureActivated('solidity') |
|
|
|
|
appManager.ensureActivated('udapp') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Load and start the service who manager layout and frame
|
|
|
|
|
const framingService = new FramingService(sidePanel, menuicons, mainview, this._components.resizeFeature) |
|
|
|
|
framingService.start() |
|
|
|
|
|
|
|
|
|
// preactivate solidity plugin
|
|
|
|
|
appManager.ensureActivated('solidity') |
|
|
|
|
appManager.ensureActivated('udapp') |
|
|
|
|
|
|
|
|
|
// get the file list from the parent iframe
|
|
|
|
|
loadFileFromParent(fileManager) |
|
|
|
|
|
|
|
|
|