mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-24 17:30:10 +00:00
Fix theme generation error.
This commit is contained in:
parent
da7cd28734
commit
f87eb46549
4
dist/core/fresh-theme.js
vendored
4
dist/core/fresh-theme.js
vendored
@ -131,11 +131,11 @@ Definition of the FRESHTheme class.
|
|||||||
/* Load a single theme file. */
|
/* Load a single theme file. */
|
||||||
|
|
||||||
_loadOne = function(absPath, formatsHash, tplFolder) {
|
_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);
|
pathInfo = parsePath(absPath);
|
||||||
absPathSafe = absPath.trim().toLowerCase();
|
absPathSafe = absPath.trim().toLowerCase();
|
||||||
outFmt = '';
|
outFmt = '';
|
||||||
shouldTransform = false;
|
act = 'copy';
|
||||||
if (this.explicit) {
|
if (this.explicit) {
|
||||||
outFmt = _.find(Object.keys(this.formats), function(fmtKey) {
|
outFmt = _.find(Object.keys(this.formats), function(fmtKey) {
|
||||||
var fmtVal;
|
var fmtVal;
|
||||||
|
@ -125,7 +125,7 @@ _loadOne = ( absPath, formatsHash, tplFolder ) ->
|
|||||||
pathInfo = parsePath absPath
|
pathInfo = parsePath absPath
|
||||||
absPathSafe = absPath.trim().toLowerCase()
|
absPathSafe = absPath.trim().toLowerCase()
|
||||||
outFmt = ''
|
outFmt = ''
|
||||||
shouldTransform = false
|
act = 'copy'
|
||||||
|
|
||||||
# If this is an "explicit" theme, all files of importance are specified in
|
# If this is an "explicit" theme, all files of importance are specified in
|
||||||
# the "transform" section of the theme.json file.
|
# the "transform" section of the theme.json file.
|
||||||
|
Loading…
Reference in New Issue
Block a user