|
|
@ -406,8 +406,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
if (Array.isArray(workspace)) {
|
|
|
|
if (Array.isArray(workspace)) {
|
|
|
|
appManager.activatePlugin(workspace).then(() => { |
|
|
|
appManager.activatePlugin(workspace).then(() => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (params.deactivateplugins) { |
|
|
|
if (params.deactivate) { |
|
|
|
appManager.deactivatePlugin(params.deactivateplugins.split(',')) |
|
|
|
appManager.deactivatePlugin(params.deactivate.split(',')) |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
console.log(e) |
|
|
|
console.log(e) |
|
|
@ -416,8 +416,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
// If plugins are loaded from the URL params, we focus on the last one.
|
|
|
|
// If plugins are loaded from the URL params, we focus on the last one.
|
|
|
|
if (pluginLoader.current === 'queryParams' && workspace.length > 0) menuicons.select(workspace[workspace.length - 1]) |
|
|
|
if (pluginLoader.current === 'queryParams' && workspace.length > 0) menuicons.select(workspace[workspace.length - 1]) |
|
|
|
|
|
|
|
|
|
|
|
if (params.plugincall) { |
|
|
|
if (params.call) { |
|
|
|
const callDetails = params.plugincall.split('//') |
|
|
|
const callDetails = params.call.split('//') |
|
|
|
if (callDetails.length > 1) { |
|
|
|
if (callDetails.length > 1) { |
|
|
|
toolTip(`initiating ${callDetails[0]} ...`) |
|
|
|
toolTip(`initiating ${callDetails[0]} ...`) |
|
|
|
// @todo(remove the timeout when activatePlugin is on 0.3.0)
|
|
|
|
// @todo(remove the timeout when activatePlugin is on 0.3.0)
|
|
|
|