Permalink
Browse files

updated html summarizer (will generate links to CoffeeScript files)

  • Loading branch information...
1 parent 77ced59 commit 4920102287fd22150757afc20e15917287cab60a @thatdutchguy committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/windtunnel/jasmine/summarizer/html.js
@@ -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>");
})
}

0 comments on commit 4920102

Please sign in to comment.