From 7cc4382d9b5827bd7c892f5f6c1584776c3d3b3f Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 16 Feb 2018 01:01:56 +0800 Subject: [PATCH] Fix JS lint errors --- _js/helpers/permutate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_js/helpers/permutate.js b/_js/helpers/permutate.js index c440b9077..99918d7a6 100644 --- a/_js/helpers/permutate.js +++ b/_js/helpers/permutate.js @@ -18,7 +18,7 @@ export default function permutate (data) { return words } -/* +/** * Permutates strings. * * @example @@ -64,7 +64,7 @@ export function permutateWord (str) { export function splitwords (str) { const words = str.toLowerCase() - .split(/[ \/\-_]/) + .split(/[ /\-_]/) .filter(k => k && k.length !== 0) return words