Comparing version 0.1.19 to 0.1.20
@@ -17,3 +17,3 @@ "use strict"; | ||
if (typeof type === "string") { | ||
return new stylesheet_1.NSCSSStylesheet({}); | ||
return new stylesheet_1.NSCSSStylesheet({ "@namespace": "*" }); | ||
} | ||
@@ -194,4 +194,9 @@ return type._kind === "Stylesheet" ? type : type.stylesheet; | ||
node.name = scopedName; | ||
if (typeof definition.type !== 'string') { | ||
currentType = definition.type; | ||
if (definition.type) { | ||
if (definition.type.namespace !== '*') { | ||
currentType = definition.type; | ||
} | ||
else { | ||
currentType = sheet; | ||
} | ||
} | ||
@@ -198,0 +203,0 @@ } |
{ | ||
"name": "nscss", | ||
"version": "0.1.19", | ||
"version": "0.1.20", | ||
"description": "CSS for Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/nscss.js", |
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
103985
1922