]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
add space after if 9279/head
authormaks feltrin <pine3ree@gmail.com>
Fri, 21 Oct 2016 20:40:22 +0000 (22:40 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Oct 2016 20:40:22 +0000 (22:40 +0200)
so that it does not look like a function call

js/foundation.core.js

index 50228e2f888d335e4c093c8102744b7365562bd7..55572ad33bdd31bcbd2d9dffb0e5b00cf34e9a45 100644 (file)
@@ -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