|
|
@ -191,7 +191,7 @@ class App { |
|
|
|
self._view.swappanel.style.left = self._view.iconpanel.clientWidth + 'px' |
|
|
|
self._view.swappanel.style.left = self._view.iconpanel.clientWidth + 'px' |
|
|
|
self._view.mainpanel.style.left = (self._view.iconpanel.clientWidth + self._view.swappanel.clientWidth) + 'px' |
|
|
|
self._view.mainpanel.style.left = (self._view.iconpanel.clientWidth + self._view.swappanel.clientWidth) + 'px' |
|
|
|
|
|
|
|
|
|
|
|
let resizeFeature = new PanelsResize('#swap-panel', '#editor-container', { 'minWidth': '300' }) |
|
|
|
let resizeFeature = new PanelsResize('#swap-panel', '#editor-container', { 'minWidth': 300 }) |
|
|
|
run.apply(self) |
|
|
|
run.apply(self) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -429,7 +429,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
// TODOs those are instanciated before hand. should be instanciated on demand
|
|
|
|
// TODOs those are instanciated before hand. should be instanciated on demand
|
|
|
|
|
|
|
|
|
|
|
|
const pluginManagerComponent = new PluginManagerComponent() |
|
|
|
const pluginManagerComponent = new PluginManagerComponent() |
|
|
|
|
|
|
|
|
|
|
|
let appStore = new EntityStore('module', { actives: [], ids: [], entities: {} }) |
|
|
|
let appStore = new EntityStore('module', { actives: [], ids: [], entities: {} }) |
|
|
|
const appManager = new RemixAppManager(appStore) |
|
|
|
const appManager = new RemixAppManager(appStore) |
|
|
|
registry.put({api: appManager.proxy(), name: 'pluginmanager'}) |
|
|
|
registry.put({api: appManager.proxy(), name: 'pluginmanager'}) |
|
|
@ -467,7 +466,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
{ profile: pluginManagerComponent.profile(), api: pluginManagerComponent }]) |
|
|
|
{ profile: pluginManagerComponent.profile(), api: pluginManagerComponent }]) |
|
|
|
|
|
|
|
|
|
|
|
const swapPanelComponent = new SwapPanelComponent() |
|
|
|
const swapPanelComponent = new SwapPanelComponent() |
|
|
|
|
|
|
|
|
|
|
|
const verticalIconComponent = new VerticalIconsComponent() |
|
|
|
const verticalIconComponent = new VerticalIconsComponent() |
|
|
|
const swapPanelApi = new SwapPanelApi(swapPanelComponent, verticalIconComponent, appManager) |
|
|
|
const swapPanelApi = new SwapPanelApi(swapPanelComponent, verticalIconComponent, appManager) |
|
|
|
const verticalIconsApi = new VerticalIconsApi(verticalIconComponent, appManager) |
|
|
|
const verticalIconsApi = new VerticalIconsApi(verticalIconComponent, appManager) |
|
|
@ -475,13 +473,9 @@ 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() |
|
|
|
|
|
|
|
|
|
|
|
let mainEl = self._components.editorpanel.render() |
|
|
|
self._view.mainpanel.appendChild(self._components.editorpanel.render()) |
|
|
|
self._view.mainpanel.appendChild(mainEl) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self._view.iconpanel.appendChild(verticalIconComponent.render()) |
|
|
|
self._view.iconpanel.appendChild(verticalIconComponent.render()) |
|
|
|
|
|
|
|
self._view.swappanel.appendChild(swapPanelComponent.render()) |
|
|
|
let swapEl = swapPanelComponent.render() |
|
|
|
|
|
|
|
self._view.swappanel.appendChild(swapEl) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appManager.activateOne('App') |
|
|
|
appManager.activateOne('App') |
|
|
|
appManager.activateOne('Udapp') |
|
|
|
appManager.activateOne('Udapp') |
|
|
|