From 76cafa42491b7157d982d4f37209aeecede1d0f0 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Wed, 30 Dec 2015 20:10:14 -0500 Subject: [PATCH] Fix reference error in explicit themes. --- src/core/fresh-theme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/fresh-theme.js b/src/core/fresh-theme.js index bbb816c..dc01975 100644 --- a/src/core/fresh-theme.js +++ b/src/core/fresh-theme.js @@ -206,7 +206,7 @@ Definition of the FRESHTheme class. // 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 // the formatsHash object. - var fmts = RECURSIVE_READ_DIR( tplFolder ).map( function( absPath ) { + var fmts = READFILES( tplFolder ).map( function( absPath ) { act = null; // 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 ){ return fmt.ext === 'css'; })) - + // For each CSS file, get its corresponding HTML file .forEach(function( cssf ) { // For each CSS file, get its corresponding HTML file