Fix theme generation error.

This commit is contained in:
hacksalot 2016-02-11 22:04:11 -05:00
parent da7cd28734
commit f87eb46549
2 changed files with 3 additions and 3 deletions

View File

@ -131,11 +131,11 @@ Definition of the FRESHTheme class.
/* Load a single theme file. */
_loadOne = function(absPath, formatsHash, tplFolder) {
var absPathSafe, act, idx, obj, outFmt, pathInfo, portion, ref, ref1, reg, res, shouldTransform;
var absPathSafe, act, idx, obj, outFmt, pathInfo, portion, ref, ref1, reg, res;
pathInfo = parsePath(absPath);
absPathSafe = absPath.trim().toLowerCase();
outFmt = '';
shouldTransform = false;
act = 'copy';
if (this.explicit) {
outFmt = _.find(Object.keys(this.formats), function(fmtKey) {
var fmtVal;

View File

@ -125,7 +125,7 @@ _loadOne = ( absPath, formatsHash, tplFolder ) ->
pathInfo = parsePath absPath
absPathSafe = absPath.trim().toLowerCase()
outFmt = ''
shouldTransform = false
act = 'copy'
# If this is an "explicit" theme, all files of importance are specified in
# the "transform" section of the theme.json file.