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
689585a1
Commit
689585a1
authored
Aug 29, 2019
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
1119c5bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
SourceHighlighters.js
src/app/editor/SourceHighlighters.js
+0
-3
test-tab.js
src/app/tabs/test-tab.js
+2
-2
No files found.
src/app/editor/SourceHighlighters.js
View file @
689585a1
'use strict'
const
SourceHighlighter
=
require
(
'./sourceHighlighter'
)
import
{
Plugin
}
from
'@remixproject/engine'
import
*
as
packageJson
from
'../../../package.json'
// EditorApi:
// - methods: ['highlight', 'discardHighlight'],
...
...
src/app/tabs/test-tab.js
View file @
689585a1
...
...
@@ -19,7 +19,7 @@ const profile = {
}
module
.
exports
=
class
TestTab
extends
ViewPlugin
{
constructor
(
fileManager
,
filePanel
,
compileTab
,
appManager
,
renderer
,
editor
)
{
constructor
(
fileManager
,
filePanel
,
compileTab
,
appManager
,
renderer
)
{
super
(
profile
)
this
.
compileTab
=
compileTab
this
.
_view
=
{
el
:
null
}
...
...
@@ -120,7 +120,7 @@ module.exports = class TestTab extends ViewPlugin {
updateFinalResult
(
_errors
,
result
,
filename
)
{
this
.
testsSummary
.
hidden
=
false
if
(
_errors
)
{
_errors
.
forEach
((
err
)
=>
this
.
renderer
.
error
(
err
.
formattedMessage
||
err
.
message
,
this
.
testsSummary
,
{
type
:
err
.
severity
})
)
_errors
.
forEach
((
err
)
=>
this
.
renderer
.
error
(
err
.
formattedMessage
||
err
.
message
,
this
.
testsSummary
,
{
type
:
err
.
severity
}))
return
}
this
.
testsSummary
.
appendChild
(
yo
`<div class=
${
css
.
summaryTitle
}
>
${
filename
}
</div>`
)
...
...
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