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
91a8626a
Commit
91a8626a
authored
Nov 22, 2021
by
gxkai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: ts
parent
ac09e459
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
compiler-worker.ts
libs/remix-solidity/src/compiler/compiler-worker.ts
+1
-1
compiler.ts
libs/remix-solidity/src/compiler/compiler.ts
+1
-1
file-explorer-context-menu.tsx
...rkspace/src/lib/components/file-explorer-context-menu.tsx
+12
-12
No files found.
libs/remix-solidity/src/compiler/compiler-worker.ts
View file @
91a8626a
'use strict'
import
*
as
solc
from
'solc/wrapper'
import
solc
from
'solc/wrapper'
import
{
CompilerInput
,
MessageToWorker
}
from
'./types'
let
compileJSON
:
((
input
:
CompilerInput
)
=>
string
)
|
null
=
(
input
)
=>
{
return
''
}
const
missingInputs
:
string
[]
=
[]
...
...
libs/remix-solidity/src/compiler/compiler.ts
View file @
91a8626a
'use strict'
import
{
update
}
from
'solc/abi'
import
*
as
webworkify
from
'webworkify-webpack'
import
webworkify
from
'webworkify-webpack'
import
compilerInput
from
'./compiler-input'
import
EventManager
from
'../lib/eventManager'
import
txHelper
from
'./txHelper'
...
...
libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx
View file @
91a8626a
...
...
@@ -69,42 +69,42 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) =>
className=
'remixui_liitem'
onClick=
{
(
e
)
=>
{
e
.
stopPropagation
()
switch
(
item
.
name
)
{
case
'
New
File'
:
switch
(
item
.
id
)
{
case
'
new
File'
:
createNewFile
(
path
)
break
case
'
New
Folder'
:
case
'
new
Folder'
:
createNewFolder
(
path
)
break
case
'
R
ename'
:
case
'
r
ename'
:
renamePath
(
path
,
type
)
break
case
'
D
elete'
:
case
'
d
elete'
:
deletePath
(
getPath
())
break
case
'
Push changes to g
ist'
:
case
'
pushChangesToG
ist'
:
_paq
.
push
([
'trackEvent'
,
'fileExplorer'
,
'pushToChangesoGist'
])
pushChangesToGist
(
path
,
type
)
break
case
'
Publish folder to g
ist'
:
case
'
publishFolderToG
ist'
:
_paq
.
push
([
'trackEvent'
,
'fileExplorer'
,
'publishFolderToGist'
])
publishFolderToGist
(
path
,
type
)
break
case
'
Publish file to g
ist'
:
case
'
publishFileToG
ist'
:
_paq
.
push
([
'trackEvent'
,
'fileExplorer'
,
'publishFileToGist'
])
publishFileToGist
(
path
,
type
)
break
case
'
R
un'
:
case
'
r
un'
:
_paq
.
push
([
'trackEvent'
,
'fileExplorer'
,
'runScript'
])
runScript
(
path
)
break
case
'
C
opy'
:
case
'
c
opy'
:
copy
(
path
,
type
)
break
case
'
P
aste'
:
case
'
p
aste'
:
paste
(
path
,
type
)
break
case
'
Delete
All'
:
case
'
delete
All'
:
deletePath
(
getPath
())
break
default
:
...
...
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