Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixing 'filename' for summary data. #39

Merged
merged 1 commit into from

2 participants

Jeffrey Jagoda Itay Neeman
Jeffrey Jagoda

This fixes issue #38

Itay Neeman itay merged commit ffedd47 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 26, 2013
  1. Fixing 'filename' for summary data.

    Jeff Jagoda authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 2 deletions.
  1. +4 −2 bin/cover
6 bin/cover
View
@@ -352,7 +352,6 @@
var coverageData = JSON.parse(data);
var overall = {
- filename: 'Overall',
missing : 0,
seen : 0,
total : 0,
@@ -376,7 +375,10 @@
overall.percentage = overall.seen / overall.total;
overall.blocks.percentage = overall.blocks.seen / overall.blocks.total;
- coverageData.overall = {stats: function() { return overall; }};
+ coverageData.overall = {
+ filename: 'Overall',
+ stats: function() { return overall; }
+ };
return coverageData;
};
Something went wrong with that request. Please try again.