Comparing version 0.0.2 to 0.0.3
@@ -9,3 +9,2 @@ 'use strict'; | ||
var _arguments = arguments; | ||
var isArray = Array.isArray; | ||
@@ -15,5 +14,8 @@ var keys = Object.keys; | ||
var mixClass = function mixClass() { | ||
var _arguments = arguments; | ||
var classes = []; | ||
var arr = _arguments; | ||
arr.forEach(function (arg) { | ||
var all = keys(arguments); | ||
all.forEach(function (key) { | ||
var arg = _arguments[key]; | ||
if (!arg) { | ||
@@ -29,5 +31,5 @@ return; | ||
var argKeys = keys(arg); | ||
argKeys.forEach(function (item) { | ||
if (arg[item]) { | ||
classes.push(key); | ||
argKeys.forEach(function (k) { | ||
if (arg[k]) { | ||
classes.push(k); | ||
} | ||
@@ -34,0 +36,0 @@ }); |
{ | ||
"name": "class-lib", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"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
5343
110