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
e48bbf5c
Commit
e48bbf5c
authored
Apr 15, 2016
by
chriseth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Load compiler from different repository.
parent
ef05c2f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app.js
assets/js/app.js
+2
-2
index.html
index.html
+1
-1
No files found.
assets/js/app.js
View file @
e48bbf5c
...
@@ -559,13 +559,13 @@
...
@@ -559,13 +559,13 @@
// "Uncaught RangeError: Maximum call stack size exceeded" error on Chromium,
// "Uncaught RangeError: Maximum call stack size exceeded" error on Chromium,
// resort to non-worker version in that case.
// resort to non-worker version in that case.
initializeWorker
();
initializeWorker
();
worker
.
postMessage
({
cmd
:
'loadVersion'
,
data
:
'bin/'
+
version
});
worker
.
postMessage
({
cmd
:
'loadVersion'
,
data
:
'
https://github.com/ethereum/solc-bin/raw/master/
bin/'
+
version
});
}
else
{
}
else
{
Module
=
null
;
Module
=
null
;
compileJSON
=
function
(
source
,
optimize
)
{
compilationFinished
(
'{}'
);
};
compileJSON
=
function
(
source
,
optimize
)
{
compilationFinished
(
'{}'
);
};
var
newScript
=
document
.
createElement
(
'script'
);
var
newScript
=
document
.
createElement
(
'script'
);
newScript
.
type
=
'text/javascript'
;
newScript
.
type
=
'text/javascript'
;
newScript
.
src
=
'bin/'
+
version
;
newScript
.
src
=
'
https://github.com/ethereum/solc-bin/raw/master/
bin/'
+
version
;
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
newScript
);
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
newScript
);
var
check
=
window
.
setInterval
(
function
()
{
var
check
=
window
.
setInterval
(
function
()
{
if
(
!
Module
)
return
;
if
(
!
Module
)
return
;
...
...
index.html
View file @
e48bbf5c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<link
rel=
"stylesheet"
href=
"assets/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/font-awesome.min.css"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
<script
src=
"bin/list.js"
></script>
<script
src=
"
https://github.com/ethereum/solc-bin/raw/master/
bin/list.js"
></script>
<script
src=
"assets/js/jquery-2.1.3.min.js"
></script>
<script
src=
"assets/js/jquery-2.1.3.min.js"
></script>
<script
src=
"assets/js/ace.js"
></script>
<script
src=
"assets/js/ace.js"
></script>
<script
src=
"assets/js/mode-solidity.js"
></script>
<script
src=
"assets/js/mode-solidity.js"
></script>
...
...
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