stylis-rule-sheet
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -20,3 +20,3 @@ (function (factory) { | ||
return function ruleSheet (context, content, selectors, parents, line, column, length, at, depth) { | ||
return function ruleSheet (context, content, selectors, parents, line, column, length, ns, depth, at) { | ||
switch (context) { | ||
@@ -31,3 +31,3 @@ // property | ||
case 2: | ||
if (at === 0) | ||
if (ns === 0) | ||
return content + delimiter | ||
@@ -37,3 +37,3 @@ break | ||
case 3: | ||
switch (at) { | ||
switch (ns) { | ||
// @font-face, @page | ||
@@ -44,3 +44,3 @@ case 102: | ||
default: | ||
return content + (depth === 0 ? delimiter : '') | ||
return content + (at === 0 ? delimiter : '') | ||
} | ||
@@ -47,0 +47,0 @@ case -2: |
@@ -5,3 +5,3 @@ { | ||
"description": "stylis plugin to extract individual rules to use with insertRule API", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"homepage": "https://github.com/thysultan/stylis.js", | ||
@@ -8,0 +8,0 @@ "license": "MIT", |
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
2095