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
22861f70
Commit
22861f70
authored
Sep 07, 2016
by
chriseth
Committed by
GitHub
Sep 07, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #218 from ethereum/display-warnings
Display warnings even if there were no errors
parents
ebe8b2e3
498ac727
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
renderer.js
src/app/renderer.js
+10
-9
No files found.
src/app/renderer.js
View file @
22861f70
...
@@ -19,15 +19,16 @@ function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVer
...
@@ -19,15 +19,16 @@ function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVer
$
(
'#output'
).
empty
();
$
(
'#output'
).
empty
();
if
(
success
)
{
if
(
success
)
{
self
.
contracts
(
data
,
source
);
self
.
contracts
(
data
,
source
);
}
else
{
}
if
(
data
[
'error'
])
{
self
.
error
(
data
[
'error'
]);
// NOTE: still need to display as there might be warnings
}
if
(
data
[
'error'
])
{
if
(
data
[
'errors'
])
{
self
.
error
(
data
[
'error'
]);
data
[
'errors'
].
forEach
(
function
(
err
)
{
}
self
.
error
(
err
);
if
(
data
[
'errors'
])
{
});
data
[
'errors'
].
forEach
(
function
(
err
)
{
}
self
.
error
(
err
);
});
}
}
});
});
}
}
...
...
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