boxwood 0.70.2 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -438,6 +438,8 @@ function classes() {
438
438
  const type = typeof arg
439
439
  if (type === "string") {
440
440
  array.push(arg)
441
+ } else if (Array.isArray(arg)) {
442
+ array.push(classes(...arg))
441
443
  } else if (type === "object") {
442
444
  for (const key in arg) {
443
445
  if (arg[key]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boxwood",
3
- "version": "0.70.2",
3
+ "version": "0.71.0",
4
4
  "description": "Compile HTML templates into JS",
5
5
  "main": "index.js",
6
6
  "scripts": {