forked from daren.hsu/line_push
update
This commit is contained in:
+5
@@ -23,6 +23,11 @@ function explodeSelector(pseudoClass, selector) {
|
||||
if (selector && position > -1) {
|
||||
var pre = selector.slice(0, position);
|
||||
var matches = (0, _balancedMatch2.default)("(", ")", selector.slice(position));
|
||||
|
||||
if (!matches) {
|
||||
return selector;
|
||||
}
|
||||
|
||||
var bodySelectors = matches.body ? _list2.default.comma(matches.body).map(function (s) {
|
||||
return explodeSelector(pseudoClass, s);
|
||||
}).join(`)${pseudoClass}(`) : "";
|
||||
|
||||
Reference in New Issue
Block a user