Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #528 from doowb/handlebars
Browse files Browse the repository at this point in the history
Create new instance of Handlebars.
  • Loading branch information
gotwarlost committed Jan 26, 2016
2 parents 743912d + dd81378 commit ad8ab1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/report/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

/*jshint maxlen: 300 */
var handlebars = require('handlebars'),
var handlebars = require('handlebars').create(),
defaults = require('./common/defaults'),
path = require('path'),
fs = require('fs'),
Expand Down Expand Up @@ -496,7 +496,7 @@ Report.mix(HtmlReport, {
return {
fromParent: function (node) {
var relativeName = cleanPath(node.relativeName);

return node.kind === 'dir' ? relativeName + 'index.html' : relativeName + '.html';
},
ancestorHref: function (node, num) {
Expand Down

0 comments on commit ad8ab1d

Please sign in to comment.