Comparing version 1.0.5 to 1.1.0
@@ -5,9 +5,8 @@ "use strict"; | ||
function cx() { | ||
var str = "", i = 0, arg, val; | ||
var str = "", i = 0, arg; | ||
while (i < arguments.length) { | ||
if ((arg = arguments[i++])) { | ||
if ((val = typeof arg === "string" || typeof arg === "number" ? arg : "")) { | ||
str && (str += " "); | ||
str += val; | ||
} | ||
if ((arg = arguments[i++]) && | ||
(typeof arg === "string" || typeof arg === "number")) { | ||
str && (str += " "); | ||
str += arg; | ||
} | ||
@@ -14,0 +13,0 @@ } |
{ | ||
"name": "classix", | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"description": "A tiny utility for conditionally joining classNames.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6361
25