Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
Fix error's filename
Browse files Browse the repository at this point in the history
  • Loading branch information
malas34 committed Aug 31, 2014
1 parent a4ba654 commit 54371a4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions htmlContent/panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
</div>
<div class="filters">
<button data-name="debug" class="debug small"><span>debugs</span>&nbsp;<small>(<em></em>)</small></button>
{{!--
<button data-name="warn" class="warn small"><span>warns</span>&nbsp;<small>(<em></em>)</small></button>
--}}
<button data-name="error" class="error small"><span>errors</span>&nbsp;<small>(<em></em>)</small></button>
<button class="clear">{{CLEAR_LABEL}}</button>
</div>
Expand Down
4 changes: 4 additions & 0 deletions htmlContent/row.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<li class="line {{even}} {{type}}">
<span>
<span>{{message}}</span>
{{#shortFileName}}
<a href="#" title="Open details">{{shortFileName}}</a>
{{/shortFileName}}
<quote>
{{#fileName}}
<b>{{fileName}}</b>
<em>at line: <b>{{lineNumber}}</b>, column: <b>{{columnNumber}}</b></em>
{{/fileName}}
<span class="stacks">
{{#errorStacks}}
<small>{{.}}</small>
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ define(function (require, exports, module) {
var column = lineAndColumn !== null ? lineAndColumn.length ? lineAndColumn[1] : '' : '';

return {
shortFileName: shortFile,
fileName: file,
lineNumber: line,
errorStacks: traces,
columnNumber: column,
errorStacks: traces
shortFileName: shortFile
};
}
/** ------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion styles/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@green:#ACE539;
@grey:#999580;
#brackets-console-panel{
&.bottom-panel{
&.bottom-panel{
border:0;
color:@light;
text-shadow: @shadow;
Expand Down

0 comments on commit 54371a4

Please sign in to comment.