Skip to content

Commit

Permalink
Merge pull request #13 from alloctag/master
Browse files Browse the repository at this point in the history
partials support compilation options
  • Loading branch information
nullfirm committed Mar 8, 2017
2 parents 3a3c3c7 + 625d008 commit ecc0d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/express.js
Expand Up @@ -79,7 +79,7 @@ module.exports = function (Hogan) {
for (var prop in options.partials) {
p[prop] = options.partials[prop];
}
var partials = renderPartials(p);
var partials = renderPartials(p,options);
fn(null, Hogan.fcompile(path,options).render(options,partials));
} catch (error) {
fn(error);
Expand Down

0 comments on commit ecc0d9c

Please sign in to comment.