1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-10 15:57:07 +01:00

Safer source format conversions.

Quick fix against missing fields in FRESH and/or JRS (ahead of introing
more robust standalone converter thing). Address portions of #31 and
#33.
This commit is contained in:
hacksalot
2015-12-24 17:51:26 -05:00
parent 358c397bb9
commit 5e7abb66bd
2 changed files with 11 additions and 1 deletions

View File

@ -61,7 +61,7 @@
}
// Load the theme
var theTheme = new FluentTheme().open( tFolder );
var theTheme = (new FluentTheme()).open( tFolder );
_opts.themeObj = theTheme;
_log( 'Applying '.info + theTheme.name.toUpperCase().infoBold +
(' theme (' + Object.keys(theTheme.formats).length + ' formats)').info);