Comparing version 0.1.2 to 0.1.3
@@ -33,3 +33,3 @@ // Keep track of which styles have been added | ||
// Zip constant string parts with any interpolated dynamic values | ||
const str = strings.reduce((acc, string, i) => acc += string + (values[i] || ''), '') | ||
const str = strings.reduce((acc, string, i) => acc += string + (values[i] == null ? '' : values[i]), '') | ||
// Use a hash of the ruleset as the uid | ||
@@ -36,0 +36,0 @@ const className = 'csz-' + hash(str) |
{ | ||
"name": "csz", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Super lightweight CSS module like behavior at runtime", | ||
"main": "index.js", | ||
"keywords": ["css", "modules", "runtime", "tagged template", "component"], | ||
"keywords": [ | ||
"css", | ||
"modules", | ||
"runtime", | ||
"tagged template", | ||
"component" | ||
], | ||
"author": "@lukejacksonn", | ||
"license": "MIT" | ||
} |
6667