Commit a086ac78 authored by gxkai's avatar gxkai

Merge branch '2.5.0_dev' into 2.5.0

parents e1c7aeda b88a6fcd
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"parserOptions": { "parserOptions": {
"ecmaVersion": 2018, "ecmaVersion": 2018,
"sourceType": "module", "sourceType": "module"
"project": "./tsconfig.base.json"
}, },
"plugins": ["@typescript-eslint", "@nrwl/nx"], "plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": "standard", "extends": "standard",
...@@ -18,4 +17,4 @@ ...@@ -18,4 +17,4 @@
} }
} }
] ]
} }
\ No newline at end of file
...@@ -7,9 +7,9 @@ const app = new App({}) ...@@ -7,9 +7,9 @@ const app = new App({})
document.body.appendChild(app.render()) document.body.appendChild(app.render())
window.onload = () => { window.onload = () => {
BrowserFS.install(window) BrowserFS.install(window)
BrowserFS.FileSystem.LocalStorage.Create(function(e, lsfs) { BrowserFS.FileSystem.LocalStorage.Create(function (e, lsfs) {
BrowserFS.initialize(lsfs) BrowserFS.initialize(lsfs)
window.remixFileSystem = BrowserFS.BFSRequire("fs") window.remixFileSystem = BrowserFS.BFSRequire('fs')
app.init() app.init()
}); })
} }
...@@ -166,7 +166,7 @@ export function Workspace () { ...@@ -166,7 +166,7 @@ export function Workspace () {
return <option key={index} value={folder}>{folder}</option> return <option key={index} value={folder}>{folder}</option>
}) })
} }
{/*<option value={LOCALHOST}>{currentWorkspace === LOCALHOST ? 'localhost' : LOCALHOST}</option>*/} {/* <option value={LOCALHOST}>{currentWorkspace === LOCALHOST ? 'localhost' : LOCALHOST}</option> */}
{ global.fs.browser.workspaces.length <= 0 && <option value={NO_WORKSPACE}>{NO_WORKSPACE}</option> } { global.fs.browser.workspaces.length <= 0 && <option value={NO_WORKSPACE}>{NO_WORKSPACE}</option> }
</select> </select>
</div> </div>
......
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