1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-22 16:30:11 +00:00

Make Handlebars options explicit.

This commit is contained in:
hacksalot 2016-01-08 16:27:19 -05:00
parent 9fdfd1b5a6
commit d6a3aab68a

View File

@ -41,7 +41,7 @@ Definition of the HandlebarsGenerator class.
( format === 'doc' ) && (encData = json.xmlify()); ( format === 'doc' ) && (encData = json.xmlify());
// Compile and run the Handlebars template. // Compile and run the Handlebars template.
var template = HANDLEBARS.compile(jst); var template = HANDLEBARS.compile(jst, { strict: false, assumeObjects: false });
return template({ return template({
r: encData, r: encData,
RAW: json, RAW: json,