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

Fix exception.

This commit is contained in:
hacksalot 2015-12-18 10:10:19 -05:00
parent 01d148e47c
commit a630741098

View File

@ -152,7 +152,7 @@ Definition of the Theme class.
.forEach(function( cssf ) { .forEach(function( cssf ) {
// For each CSS file, get its corresponding HTML file // For each CSS file, get its corresponding HTML file
var idx = _.findIndex(fmts, function( fmt ) { var idx = _.findIndex(fmts, function( fmt ) {
return fmt.pre === cssf.pre && fmt.ext === 'html'; return fmt && fmt.pre === cssf.pre && fmt.ext === 'html';
}); });
cssf.action = null; cssf.action = null;
fmts[ idx ].css = cssf.data; fmts[ idx ].css = cssf.data;