From 87271405b62226b7fe324d23d372aae09e2d8373 Mon Sep 17 00:00:00 2001 From: GrandSchtroumpf Date: Mon, 30 Nov 2020 12:31:40 +0100 Subject: [PATCH] remove workspace.js --- .../src/app/ui/landing-page/workspace.js | 48 ------------------- 1 file changed, 48 deletions(-) delete mode 100644 apps/remix-ide/src/app/ui/landing-page/workspace.js diff --git a/apps/remix-ide/src/app/ui/landing-page/workspace.js b/apps/remix-ide/src/app/ui/landing-page/workspace.js deleted file mode 100644 index c415d596dd..0000000000 --- a/apps/remix-ide/src/app/ui/landing-page/workspace.js +++ /dev/null @@ -1,48 +0,0 @@ -export class Workspace { - constructor (title, description, isMain, activate, deactivate) { - this.title = title - this.description = description - this.isMain = isMain - this.activate = activate - this.deactivate = deactivate - } -} - -export const defaultWorkspaces = (appManager) => { - return [ - new Workspace( - 'Solidity', - 'Writing smart contracts. It is used for implementing smart contracts on various blockchain platforms', - true, - () => { - appManager.ensureActivated('solidity') - appManager.ensureActivated('udapp') - appManager.ensureActivated('solidityStaticAnalysis') - appManager.ensureActivated('solidityUnitTesting') - }, () => {}), - new Workspace( - 'Vyper', - 'Vyper is a contract-oriented, pythonic programming language that targets the Ethereum Virtual Machine (EVM)', - true, - () => { - 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') - }, () => {}), - new Workspace('Pipeline', '', false, () => { - appManager.ensureActivated('solidity') - appManager.ensureActivated('pipeline') - appManager.ensureActivated('udapp') - }) - ] -}