Skip to content

Commit

Permalink
Separated out error page view into stache
Browse files Browse the repository at this point in the history
  • Loading branch information
jgable committed Oct 5, 2012
1 parent f4cf6c4 commit 434c5d8
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 58 deletions.
4 changes: 3 additions & 1 deletion lib/errorParser/stackDetails.coffee
Expand Up @@ -16,6 +16,7 @@ class StackDetails
currLine = lines[idx]

result.push
level: idx
trace: currLine
file: snoopResult.lines

Expand All @@ -28,8 +29,9 @@ class StackDetails

idx++ while lines[idx].type != "file"

currLine = lines[idx]
if idx < max
@snoopFile lines[idx], handleFinishedSnoop
@snoopFile currLine, handleFinishedSnoop
else
done null, result

Expand Down

0 comments on commit 434c5d8

Please sign in to comment.