mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2026-11-02 06:38:34 +00:00
Kludge theme loading issue for FCVD.
Resolve in v0.11.0.
This commit is contained in:
1 parent
3805a36271
commit
00e6407347
2 files changed
+6
-4
No files matched your search
@@ -10,8 +10,8 @@ Underscore template generate for FluentCV.
|
||||
module.exports = function( json, jst, format, cssInfo, opts ) {
|
||||
|
||||
// Tweak underscore's default template delimeters
|
||||
var delims = opts.themeObj.delimeters || opts.template;
|
||||
if( opts.themeObj.delimeters ) {
|
||||
var delims = (opts.themeObj && opts.themeObj.delimeters) || opts.template;
|
||||
if( opts.themeObj && opts.themeObj.delimeters ) {
|
||||
delims = _.mapObject( delims, function(val,key) {
|
||||
return new RegExp( val, "ig");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user