From 55fb5d6dd1cd9596478b740d2e84c39b9e93bcf5 Mon Sep 17 00:00:00 2001 From: Grandschtroumpf Date: Fri, 1 Mar 2019 19:08:49 +0100 Subject: [PATCH] global localstorage --- package.json | 2 +- src/app/components/local-plugin.js | 1 + src/remixAppManager.js | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index afaeb0b31d..7c3101612c 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ }, "dependencies": { "http-server": "0.9.0", - "remix-plugin": "0.0.1-alpha.27", + "remix-plugin": "0.0.1-alpha.30", "remixd": "0.1.8-alpha.6" }, "repository": { diff --git a/src/app/components/local-plugin.js b/src/app/components/local-plugin.js index 0bcc98922e..431af51695 100644 --- a/src/app/components/local-plugin.js +++ b/src/app/components/local-plugin.js @@ -1,3 +1,4 @@ +/* globlal localStorage */ const yo = require('yo-yo') const modalDialog = require('../ui/modaldialog') diff --git a/src/remixAppManager.js b/src/remixAppManager.js index dcf469c359..74282e9ab0 100644 --- a/src/remixAppManager.js +++ b/src/remixAppManager.js @@ -75,7 +75,7 @@ export class RemixAppManager extends AppManagerApi { events: ['newDoc'], methods: ['getdoc'], notifications: { - 'solCompiler': ['getCompilationFinished'] + 'solidity': ['getCompilationFinished'] }, url: 'https://ipfs.io/ipfs/QmbxaFhAzSYbQ4TNQhCQqBgW3dFMt7Zj1D2achHHYvJhkz/', description: 'generate solidity documentation' @@ -94,7 +94,6 @@ export class RemixAppManager extends AppManagerApi { const plugins = [{ profile: ethDoc, api: new Plugin(ethDoc, { resolveLocaton: (iframe) => { return this.resolveLocation(ethDoc, iframe) } }) }, { profile: pipeline, api: new Plugin(pipeline, { resolveLocaton: (iframe) => { return this.resolveLocation(pipeline, iframe) } }) }, { profile: vyper, api: new Plugin(vyper, { resolveLocaton: (iframe) => { return this.resolveLocation(vyper, iframe) } }) }] - plugins[2].api.events.on('compilationFinished', (result) => console.log('GOT EVENT', result)) return plugins } }