From 277378e2191957408f177cb42ee151f61c2b6299 Mon Sep 17 00:00:00 2001 From: maks feltrin Date: Fri, 21 Oct 2016 22:40:22 +0200 Subject: [PATCH] add space after if so that it does not look like a function call --- js/foundation.core.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2