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

Fix reference error in explicit themes.

This commit is contained in:
hacksalot 2015-12-30 20:10:14 -05:00
parent 55943bf49a
commit 76cafa4249

View File

@ -206,7 +206,7 @@ Definition of the FRESHTheme class.
// Iterate over all files in the theme folder, producing an array, fmts, // Iterate over all files in the theme folder, producing an array, fmts,
// containing info for each file. While we're doing that, also build up // containing info for each file. While we're doing that, also build up
// the formatsHash object. // the formatsHash object.
var fmts = RECURSIVE_READ_DIR( tplFolder ).map( function( absPath ) { var fmts = READFILES( tplFolder ).map( function( absPath ) {
act = null; act = null;
// If this file is mentioned in the theme's JSON file under "transforms" // If this file is mentioned in the theme's JSON file under "transforms"
@ -275,7 +275,7 @@ Definition of the FRESHTheme class.
(this.cssFiles = fmts.filter(function( fmt ){ (this.cssFiles = fmts.filter(function( fmt ){
return fmt.ext === 'css'; return fmt.ext === 'css';
})) }))
// For each CSS file, get its corresponding HTML file // For each CSS file, get its corresponding HTML file
.forEach(function( cssf ) { .forEach(function( cssf ) {
// For each CSS file, get its corresponding HTML file // For each CSS file, get its corresponding HTML file