mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-04 13:27:07 +01:00
Fix JSHint warnings.
This commit is contained in:
@ -11,7 +11,7 @@ Handlebars template generate for FluentCV.
|
||||
module.exports = function( json, jst, format, cssInfo, opts ) {
|
||||
|
||||
var template = HANDLEBARS.compile(jst);
|
||||
return template( { r: json, filt: opts.filters, cssInfo: cssInfo, headFragment: opts.headFragment || '' } )
|
||||
return template( { r: json, filt: opts.filters, cssInfo: cssInfo, headFragment: opts.headFragment || '' } );
|
||||
|
||||
};
|
||||
|
||||
|
@ -13,7 +13,7 @@ Underscore template generate for FluentCV.
|
||||
var delims = opts.themeObj.delimeters || opts.template;
|
||||
if( opts.themeObj.delimeters ) {
|
||||
delims = _.mapObject( delims, function(val,key) {
|
||||
return new RegExp( val, "ig")
|
||||
return new RegExp( val, "ig");
|
||||
});
|
||||
}
|
||||
_.templateSettings = delims;
|
||||
|
Reference in New Issue
Block a user