Skip to content

Commit

Permalink
updated html summarizer (will generate links to CoffeeScript files)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatdutchguy committed Apr 24, 2012
1 parent 77ced59 commit 4920102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/windtunnel/jasmine/summarizer/html.js
Expand Up @@ -29,7 +29,7 @@ function filterTrace(traceArray) {

function textMateTrace(traceArray) {
return traceArray.map(function(line) {
return line.replace(/(\/.*\.js):(\d*)/, "<a href=\"txmt://open?url=file://$1&line=$2\">$1:$2</a>");
return line.replace(/(\/.*\.(js|coffee)):(\d*)/, "<a href=\"txmt://open?url=file://$1&line=$3\">$1:$3</a>");
})
}

Expand Down

0 comments on commit 4920102

Please sign in to comment.