Merge pull request #2557 from step21/master

Listening to Lexon compilation finished.
pull/5370/head
yann300 5 years ago committed by GitHub
commit 4d8e8672e1
  1. 4
      src/app/compiler/compiler-artefacts.js
  2. 3
      src/app/tabs/runTab/model/dropdownlogic.js
  3. 8
      src/app/ui/landing-page/workspace.js

@ -28,5 +28,9 @@ module.exports = class CompilerArtefacts extends Plugin {
this.on('vyper', 'compilationFinished', (file, source, languageVersion, data) => {
this.compilersArtefacts['__last'] = new CompilerAbstract(languageVersion, data, source)
})
this.on('lexon', 'compilationFinished', (file, source, languageVersion, data) => {
this.compilersArtefacts['__last'] = new CompilerAbstract(languageVersion, data, source)
})
}
}

@ -31,6 +31,9 @@ class DropdownLogic {
this.runView.on('vyper', 'compilationFinished', (file, source, languageVersion, data) =>
broadcastCompilationResult(file, source, languageVersion, data)
)
this.runView.on('lexon', 'compilationFinished', (file, source, languageVersion, data) =>
broadcastCompilationResult(file, source, languageVersion, data)
)
}
loadContractFromAddress (address, confirmCb, cb) {

@ -28,6 +28,14 @@ export const defaultWorkspaces = (appManager) => {
appManager.ensureActivated('vyper')
appManager.ensureActivated('udapp')
}, () => {}),
new Workspace(
'Lexon',
'Lexon is a language modelling legal contracts that compiles down to ethereum smart contracts',
true,
() => {
appManager.ensureActivated('lexon')
appManager.ensureActivated('udapp')
}, () => {}),
new Workspace('Debugger', 'Debug transactions with remix', false, () => {
appManager.ensureActivated('debugger')
}, () => {}),

Loading…
Cancel
Save