Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
b88a6fcd
Commit
b88a6fcd
authored
Nov 23, 2021
by
gxkai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint: 调整
parent
be33f12f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
.eslintrc
.eslintrc
+2
-4
index.js
apps/remix-ide/src/index.js
+3
-3
remix-ui-workspace.tsx
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
+1
-1
No files found.
.eslintrc
View file @
b88a6fcd
...
...
@@ -3,8 +3,7 @@
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.base.json"
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": "standard",
...
...
@@ -18,4 +17,4 @@
}
}
]
}
\ No newline at end of file
}
apps/remix-ide/src/index.js
View file @
b88a6fcd
...
...
@@ -7,9 +7,9 @@ const app = new App({})
document
.
body
.
appendChild
(
app
.
render
())
window
.
onload
=
()
=>
{
BrowserFS
.
install
(
window
)
BrowserFS
.
FileSystem
.
LocalStorage
.
Create
(
function
(
e
,
lsfs
)
{
BrowserFS
.
FileSystem
.
LocalStorage
.
Create
(
function
(
e
,
lsfs
)
{
BrowserFS
.
initialize
(
lsfs
)
window
.
remixFileSystem
=
BrowserFS
.
BFSRequire
(
"fs"
)
window
.
remixFileSystem
=
BrowserFS
.
BFSRequire
(
'fs'
)
app
.
init
()
})
;
})
}
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
View file @
b88a6fcd
...
...
@@ -166,7 +166,7 @@ export function Workspace () {
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
>
}
</
select
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment