Commit c017fd69 authored by step21's avatar step21

parent 9967015c

author step21 <step21@devtal.de> 1580159823 +0100 committer step21 <step21@devtal.de> 1582131959 +0100 Lexon modifications
parent 9967015c
...@@ -28,5 +28,9 @@ module.exports = class CompilerArtefacts extends Plugin { ...@@ -28,5 +28,9 @@ module.exports = class CompilerArtefacts extends Plugin {
this.on('vyper', 'compilationFinished', (file, source, languageVersion, data) => { this.on('vyper', 'compilationFinished', (file, source, languageVersion, data) => {
this.compilersArtefacts['__last'] = new CompilerAbstract(languageVersion, data, source) 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 { ...@@ -31,6 +31,9 @@ class DropdownLogic {
this.runView.on('vyper', 'compilationFinished', (file, source, languageVersion, data) => this.runView.on('vyper', 'compilationFinished', (file, source, languageVersion, data) =>
broadcastCompilationResult(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) { loadContractFromAddress (address, confirmCb, cb) {
......
...@@ -28,6 +28,14 @@ export const defaultWorkspaces = (appManager) => { ...@@ -28,6 +28,14 @@ export const defaultWorkspaces = (appManager) => {
appManager.ensureActivated('vyper') appManager.ensureActivated('vyper')
appManager.ensureActivated('udapp') 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, () => { new Workspace('Debugger', 'Debug transactions with remix', false, () => {
appManager.ensureActivated('debugger') appManager.ensureActivated('debugger')
}, () => {}), }, () => {}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment