|
|
@ -222,7 +222,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// APP_MANAGER
|
|
|
|
// APP_MANAGER
|
|
|
|
const appManager = new RemixAppManager([]) |
|
|
|
const appManager = new RemixAppManager({}) |
|
|
|
const workspace = JSON.parse(localStorage.getItem('workspace')) |
|
|
|
const workspace = JSON.parse(localStorage.getItem('workspace')) |
|
|
|
|
|
|
|
|
|
|
|
// SERVICES
|
|
|
|
// SERVICES
|
|
|
@ -262,7 +262,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
networkModule, |
|
|
|
networkModule, |
|
|
|
offsetToLineColumnConverter |
|
|
|
offsetToLineColumnConverter |
|
|
|
]) |
|
|
|
]) |
|
|
|
appManager.activate(['contentImport', 'theme', 'sourceHighlighters', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'udapp', 'network', 'offsetToLineColumnConverter']) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// LAYOUT & SYSTEM VIEWS
|
|
|
|
// LAYOUT & SYSTEM VIEWS
|
|
|
|
const appPanel = new MainPanel() |
|
|
|
const appPanel = new MainPanel() |
|
|
@ -272,7 +271,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
appManager.register([ |
|
|
|
appManager.register([ |
|
|
|
appPanel |
|
|
|
appPanel |
|
|
|
]) |
|
|
|
]) |
|
|
|
appManager.activate(['mainPanel']) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// those views depend on app_manager
|
|
|
|
// those views depend on app_manager
|
|
|
|
const menuicons = new VerticalIcons(appManager) |
|
|
|
const menuicons = new VerticalIcons(appManager) |
|
|
@ -302,8 +300,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
settings |
|
|
|
settings |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
appManager.activate(['menuicons', 'home', 'sidePanel', 'pluginManager', 'fileExplorers', 'settings']) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// CONTENT VIEWS & DEFAULT PLUGINS
|
|
|
|
// CONTENT VIEWS & DEFAULT PLUGINS
|
|
|
|
let compileTab = new CompileTab( |
|
|
|
let compileTab = new CompileTab( |
|
|
|
editor, |
|
|
|
editor, |
|
|
@ -342,6 +338,10 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
...appManager.registeredPlugins() |
|
|
|
...appManager.registeredPlugins() |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appManager.activate(['contentImport', 'theme', 'sourceHighlighters', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'udapp', 'network', 'offsetToLineColumnConverter']) |
|
|
|
|
|
|
|
appManager.activate(['mainPanel']) |
|
|
|
|
|
|
|
appManager.activate(['menuicons', 'home', 'sidePanel', 'pluginManager', 'fileExplorers', 'settings']) |
|
|
|
|
|
|
|
|
|
|
|
// Set workspace after initial activation
|
|
|
|
// Set workspace after initial activation
|
|
|
|
if (Array.isArray(workspace)) appManager.activate(workspace) |
|
|
|
if (Array.isArray(workspace)) appManager.activate(workspace) |
|
|
|
|
|
|
|
|
|
|
|