@acemir/cssom 0.9.27 → 0.9.28
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.
- package/build/CSSOM.js +1 -1
- package/lib/parse.js +1 -1
- package/package.json +1 -1
package/build/CSSOM.js
CHANGED
|
@@ -5080,7 +5080,7 @@ CSSOM.parse = function parse(token, opts, errorHandler) {
|
|
|
5080
5080
|
if (isValid) {
|
|
5081
5081
|
importRule = new CSSOM.CSSImportRule();
|
|
5082
5082
|
if (opts && opts.globalObject && opts.globalObject.CSSStyleSheet) {
|
|
5083
|
-
importRule.
|
|
5083
|
+
importRule.__styleSheet = new opts.globalObject.CSSStyleSheet();
|
|
5084
5084
|
}
|
|
5085
5085
|
importRule.__parentStyleSheet = importRule.styleSheet.__parentStyleSheet = styleSheet;
|
|
5086
5086
|
importRule.parse(buffer + character);
|
package/lib/parse.js
CHANGED
|
@@ -2109,7 +2109,7 @@ CSSOM.parse = function parse(token, opts, errorHandler) {
|
|
|
2109
2109
|
if (isValid) {
|
|
2110
2110
|
importRule = new CSSOM.CSSImportRule();
|
|
2111
2111
|
if (opts && opts.globalObject && opts.globalObject.CSSStyleSheet) {
|
|
2112
|
-
importRule.
|
|
2112
|
+
importRule.__styleSheet = new opts.globalObject.CSSStyleSheet();
|
|
2113
2113
|
}
|
|
2114
2114
|
importRule.__parentStyleSheet = importRule.styleSheet.__parentStyleSheet = styleSheet;
|
|
2115
2115
|
importRule.parse(buffer + character);
|