|
|
@ -364,8 +364,11 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
pluginManagerComponent.setApp(appManager) |
|
|
|
pluginManagerComponent.setApp(appManager) |
|
|
|
pluginManagerComponent.setStore(appStore) |
|
|
|
pluginManagerComponent.setStore(appStore) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Need to have Home initialized before VerticalIconComponent render to access profile of it for icon
|
|
|
|
|
|
|
|
const landingPage = new LandingPage(appManager, appStore) |
|
|
|
|
|
|
|
|
|
|
|
// ----------------- Vertical Icon ----------------------------
|
|
|
|
// ----------------- Vertical Icon ----------------------------
|
|
|
|
const verticalIconsComponent = new VerticalIconsComponent('swapPanel', appStore) |
|
|
|
const verticalIconsComponent = new VerticalIconsComponent('swapPanel', appStore, landingPage.profile) |
|
|
|
const swapPanelApi = new SwapPanelApi(swapPanelComponent, verticalIconsComponent) // eslint-disable-line
|
|
|
|
const swapPanelApi = new SwapPanelApi(swapPanelComponent, verticalIconsComponent) // eslint-disable-line
|
|
|
|
const mainPanelApi = new SwapPanelApi(mainPanelComponent, verticalIconsComponent) // eslint-disable-line
|
|
|
|
const mainPanelApi = new SwapPanelApi(mainPanelComponent, verticalIconsComponent) // eslint-disable-line
|
|
|
|
const verticalIconsApi = new VerticalIconsApi(verticalIconsComponent) // eslint-disable-line
|
|
|
|
const verticalIconsApi = new VerticalIconsApi(verticalIconsComponent) // eslint-disable-line
|
|
|
@ -373,7 +376,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
|
|
|
|
|
|
|
|
self._components.editorpanel.init() |
|
|
|
self._components.editorpanel.init() |
|
|
|
self._components.fileManager.init() |
|
|
|
self._components.fileManager.init() |
|
|
|
|
|
|
|
|
|
|
|
self._view.mainpanel.appendChild(self._components.editorpanel.render()) |
|
|
|
self._view.mainpanel.appendChild(self._components.editorpanel.render()) |
|
|
|
self._view.iconpanel.appendChild(verticalIconsComponent.render()) |
|
|
|
self._view.iconpanel.appendChild(verticalIconsComponent.render()) |
|
|
|
self._view.swappanel.appendChild(swapPanelComponent.render()) |
|
|
|
self._view.swappanel.appendChild(swapPanelComponent.render()) |
|
|
@ -406,8 +408,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
appManager |
|
|
|
appManager |
|
|
|
) |
|
|
|
) |
|
|
|
let analysis = new AnalysisTab(registry) |
|
|
|
let analysis = new AnalysisTab(registry) |
|
|
|
let debug = new DebuggerTab() |
|
|
|
let debug = new DebuggerTab()
|
|
|
|
const landingPage = new LandingPage(appManager, appStore) |
|
|
|
|
|
|
|
let test = new TestTab( |
|
|
|
let test = new TestTab( |
|
|
|
registry.get('filemanager').api, |
|
|
|
registry.get('filemanager').api, |
|
|
|
registry.get('filepanel').api, |
|
|
|
registry.get('filepanel').api, |
|
|
@ -438,6 +439,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
...appManager.plugins() |
|
|
|
...appManager.plugins() |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
framingService.start(appStore, swapPanelApi, verticalIconsApi, mainPanelApi, this._components.resizeFeature) |
|
|
|
framingService.start(appStore, swapPanelApi, verticalIconsApi, mainPanelApi, this._components.resizeFeature) |
|
|
|
|
|
|
|
|
|
|
|
// The event listener needs to be registered as early as possible, because the
|
|
|
|
// The event listener needs to be registered as early as possible, because the
|
|
|
|