Comparing version 0.0.7 to 0.0.8
@@ -11,7 +11,6 @@ 'use strict'; | ||
var mixClass = function mixClass() { | ||
var _arguments = arguments; | ||
var classes = []; | ||
keys(arguments).forEach(function (key) { | ||
var arg = _arguments[key]; | ||
var args = arguments; | ||
keys(args).forEach(function (key) { | ||
var arg = args[key]; | ||
if (!arg) { | ||
@@ -22,3 +21,3 @@ return; | ||
if (argType === 'string' || argType === 'number') { | ||
classes.push(arg); | ||
classes = classes.concat(arg.split(' ')); | ||
} else if (isArray(arg)) { | ||
@@ -25,0 +24,0 @@ classes.push(mixClass.apply(null, arg)); |
@@ -19,7 +19,6 @@ 'use strict'; | ||
var mixClass = function mixClass() { | ||
var _arguments = arguments; | ||
var classes = []; | ||
keys(arguments).forEach(function (key) { | ||
var arg = _arguments[key]; | ||
var args = arguments; | ||
keys(args).forEach(function (key) { | ||
var arg = args[key]; | ||
if (!arg) { | ||
@@ -30,3 +29,3 @@ return; | ||
if (argType === 'string' || argType === 'number') { | ||
classes.push(arg); | ||
classes = classes.concat(arg.split(' ')); | ||
} else if (isArray(arg)) { | ||
@@ -33,0 +32,0 @@ classes.push(mixClass.apply(null, arg)); |
{ | ||
"name": "class-lib", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "ClassName Library", | ||
@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism", |
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
9238