lib/nano_css.rb in isomorfeus-preact-10.5.8 vs lib/nano_css.rb in isomorfeus-preact-10.5.9
- old
+ new
@@ -142,10 +142,10 @@
if (process.env.NODE_ENV !== 'production') {
if (block) {
if (typeof block !== 'string') {
throw new TypeError(
'nano-css block name must be a string. ' +
- 'For example, use nano.rule({color: "red", "RedText"}).'
+ 'For example, use nano.rule({color: "red"}, "RedText").'
);
}
if (blocks[block]) {
console.error('Block name "' + block + '" used more than once.');
\ No newline at end of file