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
d348817a
Commit
d348817a
authored
Jul 04, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
fb511e86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
app.js
src/app.js
+0
-1
analysis-tab.js
src/app/tabs/analysis-tab.js
+1
-1
No files found.
src/app.js
View file @
d348817a
...
@@ -448,7 +448,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...
@@ -448,7 +448,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
self
.
_components
.
editorpanel
.
event
.
register
(
'resize'
,
direction
=>
self
.
_adjustLayout
(
direction
))
self
.
_components
.
editorpanel
.
event
.
register
(
'resize'
,
direction
=>
self
.
_adjustLayout
(
direction
))
self
.
_view
.
centerpanel
.
appendChild
(
self
.
_components
.
editorpanel
.
render
())
self
.
_view
.
centerpanel
.
appendChild
(
self
.
_components
.
editorpanel
.
render
())
var
editor
=
self
.
_components
.
editorpanel
.
getEditor
()
// The event listener needs to be registered as early as possible, because the
// The event listener needs to be registered as early as possible, because the
// parent will send the message upon the "load" event.
// parent will send the message upon the "load" event.
...
...
src/app/tabs/analysis-tab.js
View file @
d348817a
...
@@ -25,7 +25,7 @@ module.exports = class AnalysisTab {
...
@@ -25,7 +25,7 @@ module.exports = class AnalysisTab {
if
(
count
>
0
)
{
if
(
count
>
0
)
{
const
msg
=
`Static Analysis raised
${
count
}
warning(s) that requires your attention. Click here to show the warning(s).`
const
msg
=
`Static Analysis raised
${
count
}
warning(s) that requires your attention. Click here to show the warning(s).`
const
settings
=
{
type
:
'staticAnalysisWarning'
,
click
:
()
=>
self
.
_deps
.
rightHandPanel
.
focusOn
(
'staticanalysisView'
),
useSpan
:
true
}
const
settings
=
{
type
:
'staticAnalysisWarning'
,
click
:
()
=>
self
.
_deps
.
rightHandPanel
.
focusOn
(
'staticanalysisView'
),
useSpan
:
true
}
self
.
event
.
trigger
(
'newStaticAnaysisWarningMessage'
,
[
msg
,
settings
])
self
.
event
.
trigger
(
'newStaticAnaysisWarningMessage'
,
[
msg
,
settings
])
}
}
})
})
self
.
_components
.
registry
.
put
({
api
:
staticanalysis
,
name
:
'staticanalysis'
})
self
.
_components
.
registry
.
put
({
api
:
staticanalysis
,
name
:
'staticanalysis'
})
...
...
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