Skip to content

Commit e675069

Browse files
committed
Fix: root undefined
1 parent 8c37b71 commit e675069

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css.escape.js

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
factory(root);
1313
}
1414
}(typeof global != 'undefined' ? global : this, function(root) {
15+
if (!root) {
16+
root = {};
17+
}
1518

1619
if (root.CSS && root.CSS.escape) {
1720
return root.CSS.escape;

0 commit comments

Comments
 (0)