Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "classwrap", | ||
"description": "0.3 KB JavaScript utility for conditionally concatenating class names.", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"main": "dist/classwrap.js", | ||
@@ -31,3 +31,3 @@ "jsnext:main": "src/index.js", | ||
"format": "prettier --semi false --write 'src/**/*.js' '{,tests/ts/}*.ts'", | ||
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish" | ||
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push origin master && git push --tags && npm publish" | ||
}, | ||
@@ -34,0 +34,0 @@ "babel": { |
@@ -13,3 +13,3 @@ export default function wrap(classes, prefix) { | ||
if (Array.isArray(classes) && classes.length) { | ||
for (var i = 0, l = classes.length; i < l; i++) { | ||
for (var i = 0, len = classes.length; i < len; i++) { | ||
if ((value = wrap(classes[i], prefix))) { | ||
@@ -16,0 +16,0 @@ className += (className && prefix) + value |
Sorry, the diff of this file is not supported yet
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
8238