Minor formatting nits.

This commit is contained in:
John-David Dalton
2017-01-10 20:38:01 -08:00
parent dc4671dd0d
commit 3b990b7916
4 changed files with 10 additions and 6 deletions

View File

@@ -19,6 +19,8 @@ import createCompounder from './.internal/createCompounder.js';
* kebabCase('__FOO_BAR__');
* // => 'foo-bar'
*/
const kebabCase = createCompounder((result, word, index) => result + (index ? '-' : '') + word.toLowerCase());
const kebabCase = createCompounder((result, word, index) =>
result + (index ? '-' : '') + word.toLowerCase()
);
export default kebabCase;