Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #14 from davglass/master

Tweaks to HTML reporting. Thanks @davglass
  • Loading branch information...
commit 62f21fccc060f1ab000cb62b3ccc91e77f060c16 2 parents 90843da + a278ec1
@gotwarlost gotwarlost authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  lib/report/templates/foot.txt
  2. +2 −0  lib/report/templates/head.txt
View
2  lib/report/templates/foot.txt
@@ -93,7 +93,7 @@
Y.on('domready', function () {
replaceTable(Y.one('div.coverage-summary table'));
- if (prettyPrint) {
+ if (typeof prettyPrint === 'function') {
prettyPrint();
}
});
View
2  lib/report/templates/head.txt
@@ -2,6 +2,8 @@
<html>
<head>
<title>Code coverage report for {{entity}}</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <meta http-equiv="content-language" content="en-gb">
{{#if prettify}}
<link rel='stylesheet' href='{{prettify.css}}'>
{{/if}}
Please sign in to comment.
Something went wrong with that request. Please try again.