Skip to content

Commit

Permalink
Fixed eslint line length issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Diers committed Feb 13, 2017
1 parent b71326c commit 5fbdd81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/plugins/transform/tokenTemplateValues.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ const mustache = require('mustache');
* A path to a template file, a template literal string.
* options.named boolean
* True if you are using options.tokens for values and false for this.value.
* Named attributes allows us a further transformation of the value from origin.
* So we have two paths forward then, either take the value as it is, no matter
* its' shape, string, array, obj, whatever and use it with the appropriate
* attributes or indexes (where applicable) or map it to a name in the tokens
* object/array.
* Named attributes allows us a further transformation of the value from
* origin. So we have two paths forward then, either take the value as it
* is, no matter its' shape, string, array, obj, whatever and use it with
* the appropriate attributes or indexes (where applicable) or map it to a
* name in the tokens object/array.
* options.tokens object || array
* A pass through value that can either be an array or an object to use with
* template replacements.
Expand Down
4 changes: 3 additions & 1 deletion lib/source/schemePunkSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ module.exports = class schemePunkSource {
let newSrc = {};
if (_.has(holdOvers, 'src')) {
for (let i = 0; i < Object.keys(holdOvers.src).length; i += 1) {
holdOvers.src[Object.keys(holdOvers.src)[i]] = _.get(this.getOrigin(), holdOvers.src[Object.keys(holdOvers.src)[i]], '');
holdOvers.src[Object.keys(holdOvers.src)[i]] = _.get(
this.getOrigin(),
holdOvers.src[Object.keys(holdOvers.src)[i]], '');
}
newSrc = Object.assign({}, holdOvers.src);
_.unset(holdOvers, 'src');
Expand Down

0 comments on commit 5fbdd81

Please sign in to comment.