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
5aeb1365
Commit
5aeb1365
authored
Aug 26, 2016
by
yann300
Committed by
GitHub
Aug 26, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #184 from yann300/importBug
Bug fix #183 #181
parents
dc6bb872
9b56f2be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
compiler.js
src/app/compiler.js
+1
-1
ui-helper.js
src/app/ui-helper.js
+2
-1
No files found.
src/app/compiler.js
View file @
5aeb1365
...
...
@@ -52,7 +52,7 @@ function Compiler (editor, queryParams, handleGithubCall, updateFiles) {
files
[
utils
.
fileNameFromKey
(
editor
.
getCacheFile
())]
=
input
;
gatherImports
(
files
,
missingInputs
,
function
(
input
,
error
)
{
if
(
input
===
null
)
{
this
.
event
.
trigger
(
'compilationFinished'
,
[
false
,
error
,
editor
.
getValue
()]);
self
.
event
.
trigger
(
'compilationFinished'
,
[
false
,
[
error
]
,
editor
.
getValue
()]);
}
else
{
var
optimize
=
queryParams
.
get
().
optimize
;
compileJSON
(
input
,
optimize
?
1
:
0
);
...
...
src/app/ui-helper.js
View file @
5aeb1365
...
...
@@ -152,7 +152,8 @@ module.exports = {
details
.
append
(
assembly
);
}
button
.
click
(
function
()
{
this
.
detailsOpen
[
contractName
]
=
!
this
.
detailsOpen
[
contractName
];
details
.
toggle
();
});
var
self
=
this
;
button
.
click
(
function
()
{
self
.
detailsOpen
[
contractName
]
=
!
self
.
detailsOpen
[
contractName
];
details
.
toggle
();
});
if
(
this
.
detailsOpen
[
contractName
])
{
details
.
show
();
}
...
...
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