1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-07-07 02:31:07 +01:00

chore: decaffeinate: fix eslint violations

This commit is contained in:
hacksalot
2018-02-14 10:02:44 -05:00
parent 8a46d642e5
commit 42d249b407
40 changed files with 412 additions and 454 deletions

View File

@ -30,7 +30,7 @@ module.exports = function( theme, rez, opts ) {
// Prepare generic helpers for use with Handlebars. We do this by wrapping them
// in a Handlebars-aware wrapper which calls the helper internally.
const wrappedHelpers = _.mapObject(helpers, function( hVal, hKey ) {
const wrappedHelpers = _.mapObject(helpers, function( hVal/*, hKey*/ ) {
if (_.isFunction(hVal)) {
return _.wrap(hVal, function(func) {
const args = Array.prototype.slice.call(arguments);
@ -68,7 +68,7 @@ module.exports = function( theme, rez, opts ) {
HANDLEBARS.registerHelper(require(f)); // ..register the path
});
} else {
throw {fluenterror: HMS.themeHelperLoad, inner: er, glob: fGlob};
throw {fluenterror: HMS.themeHelperLoad, inner: null, glob: fGlob};
}
});
return;
@ -78,7 +78,6 @@ module.exports = function( theme, rez, opts ) {
inner: ex,
glob: curGlob, exit: true
};
return;
}
}
};