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
82458b0b
Commit
82458b0b
authored
Feb 27, 2019
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove errorContainerHead
parent
03480700
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
compile-tab.js
src/app/tabs/compile-tab.js
+1
-5
No files found.
src/app/tabs/compile-tab.js
View file @
82458b0b
...
@@ -25,7 +25,6 @@ class CompileTab {
...
@@ -25,7 +25,6 @@ class CompileTab {
el
:
null
,
el
:
null
,
warnCompilationSlow
:
null
,
warnCompilationSlow
:
null
,
errorContainer
:
null
,
errorContainer
:
null
,
errorContainerHead
:
null
,
contractNames
:
null
,
contractNames
:
null
,
contractEl
:
null
contractEl
:
null
}
}
...
@@ -67,7 +66,6 @@ class CompileTab {
...
@@ -67,7 +66,6 @@ class CompileTab {
this
.
compiler
.
event
.
register
(
'compilationStarted'
,
()
=>
{
this
.
compiler
.
event
.
register
(
'compilationStarted'
,
()
=>
{
if
(
this
.
_view
.
errorContainer
)
{
if
(
this
.
_view
.
errorContainer
)
{
this
.
_view
.
errorContainer
.
innerHTML
=
''
this
.
_view
.
errorContainer
.
innerHTML
=
''
this
.
_view
.
errorContainerHead
.
innerHTML
=
''
}
}
})
})
...
@@ -337,8 +335,7 @@ class CompileTab {
...
@@ -337,8 +335,7 @@ class CompileTab {
render
()
{
render
()
{
if
(
this
.
_view
.
el
)
return
this
.
_view
.
el
if
(
this
.
_view
.
el
)
return
this
.
_view
.
el
this
.
_view
.
errorContainer
=
yo
`<div class="alert alert-danger"></div>`
this
.
_view
.
errorContainer
=
yo
`<div></div>`
this
.
_view
.
errorContainerHead
=
yo
`<div class="alert alert-danger"></div>`
this
.
_view
.
contractSelection
=
this
.
contractSelection
()
this
.
_view
.
contractSelection
=
this
.
contractSelection
()
this
.
_view
.
compilerContainer
=
this
.
compilerContainer
.
render
()
this
.
_view
.
compilerContainer
=
this
.
compilerContainer
.
render
()
this
.
compilerContainer
.
currentFile
=
this
.
_deps
.
fileManager
.
currentFile
()
this
.
compilerContainer
.
currentFile
=
this
.
_deps
.
fileManager
.
currentFile
()
...
@@ -347,7 +344,6 @@ class CompileTab {
...
@@ -347,7 +344,6 @@ class CompileTab {
<div id="compileTabView">
<div id="compileTabView">
${
this
.
_view
.
compilerContainer
}
${
this
.
_view
.
compilerContainer
}
${
this
.
_view
.
contractSelection
}
${
this
.
_view
.
contractSelection
}
${
this
.
_view
.
errorContainerHead
}
${
this
.
_view
.
errorContainer
}
${
this
.
_view
.
errorContainer
}
</div>`
</div>`
return
this
.
_view
.
el
return
this
.
_view
.
el
...
...
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