From: maks feltrin Date: Fri, 21 Oct 2016 20:40:22 +0000 (+0200) Subject: add space after if X-Git-Tag: v6.3-rc1~26^2~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9279%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git add space after if so that it does not look like a function call --- diff --git a/js/foundation.core.js b/js/foundation.core.js index 50228e2f8..55572ad33 100644 --- a/js/foundation.core.js +++ b/js/foundation.core.js @@ -364,9 +364,9 @@ function functionName(fn) { } } function parseValue(str){ - if('true' === str) return true; - else if('false' === str) return false; - else if(!isNaN(str * 1)) return parseFloat(str); + if ('true' === str) return true; + else if ('false' === str) return false; + else if (!isNaN(str * 1)) return parseFloat(str); return str; } // Convert PascalCase to kebab-case