Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,9 +1,9 @@
import arrayReduce from './arrayReduce.js';
import toString from '../toString.js';
import words from '../words.js';
import arrayReduce from './arrayReduce.js'
import toString from '../toString.js'
import words from '../words.js'
/** Used to match apostrophes. */
const reApos = /['\u2019]/g;
const reApos = /['\u2019]/g
/**
* Creates a function like `camelCase`.
@@ -15,7 +15,7 @@ const reApos = /['\u2019]/g;
function createCompounder(callback) {
return string => (
arrayReduce(words(toString(string).replace(reApos, '')), callback, '')
);
)
}
export default createCompounder;
export default createCompounder