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
f820dbe1
Commit
f820dbe1
authored
Nov 26, 2019
by
aniket-engg
Committed by
Aniket
Nov 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twice error catching improved
parent
a481632b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
compiler-worker.js
remix-solidity/src/compiler/compiler-worker.js
+1
-5
compiler.js
remix-solidity/src/compiler/compiler.js
+0
-3
No files found.
remix-solidity/src/compiler/compiler-worker.js
View file @
f820dbe1
...
...
@@ -16,11 +16,7 @@ module.exports = function (self) {
compileJSON
=
null
try
{
self
.
importScripts
(
data
.
data
)
}
catch
(
exception
)
{
return
JSON
.
stringify
({
error
:
'Uncaught JavaScript exception:
\
n'
+
exception
})
}
self
.
importScripts
(
data
.
data
)
var
compiler
=
solc
(
self
.
Module
)
...
...
remix-solidity/src/compiler/compiler.js
View file @
f820dbe1
...
...
@@ -298,9 +298,6 @@ function Compiler (handleImportCall) {
break
}
})
worker
.
onerror
=
function
(
msg
)
{
compilationFinished
({
error
:
'Worker error: '
+
msg
.
data
})
}
worker
.
addEventListener
(
'error'
,
function
(
msg
)
{
compilationFinished
({
error
:
'Worker error: '
+
msg
.
data
})
})
...
...
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