global localstorage

pull/3094/head
Grandschtroumpf 6 years ago committed by yann300
parent d0c2667e56
commit 3029db5ca5
  1. 2
      package.json
  2. 1
      src/app/components/local-plugin.js
  3. 3
      src/remixAppManager.js

@ -64,7 +64,7 @@
}, },
"dependencies": { "dependencies": {
"http-server": "0.9.0", "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" "remixd": "0.1.8-alpha.6"
}, },
"repository": { "repository": {

@ -1,3 +1,4 @@
/* globlal localStorage */
const yo = require('yo-yo') const yo = require('yo-yo')
const modalDialog = require('../ui/modaldialog') const modalDialog = require('../ui/modaldialog')

@ -75,7 +75,7 @@ export class RemixAppManager extends AppManagerApi {
events: ['newDoc'], events: ['newDoc'],
methods: ['getdoc'], methods: ['getdoc'],
notifications: { notifications: {
'solCompiler': ['getCompilationFinished'] 'solidity': ['getCompilationFinished']
}, },
url: 'https://ipfs.io/ipfs/QmbxaFhAzSYbQ4TNQhCQqBgW3dFMt7Zj1D2achHHYvJhkz/', url: 'https://ipfs.io/ipfs/QmbxaFhAzSYbQ4TNQhCQqBgW3dFMt7Zj1D2achHHYvJhkz/',
description: 'generate solidity documentation' 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) } }) }, 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: 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) } }) }] { 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 return plugins
} }
} }

Loading…
Cancel
Save