Skip to content

Commit 6a58ec7

Browse files
committed
chore: clean up scroll-state solution
* Clean up scroll-state solution code for merge.
1 parent ffd19c7 commit 6a58ec7

File tree

3 files changed

+7666
-10
lines changed

3 files changed

+7666
-10
lines changed

packages/less/src/less/tree/nested-at-rule.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ import Anonymous from './anonymous';
55
import Expression from './expression';
66
import * as utils from '../utils';
77

8-
const NESTABLE_UNMERGED_KEYWORD_SET = new Set([
9-
'and',
10-
'not',
11-
'or'
12-
]);
13-
148
const NestableAtRulePrototype = {
159

1610
isRulesetLike() {
@@ -37,10 +31,6 @@ const NestableAtRulePrototype = {
3731
for (let index = 0; index < exprValues.length; ++index) {
3832
expr = exprValues[index];
3933

40-
if (NESTABLE_UNMERGED_KEYWORD_SET.has(expr.value)) {
41-
continue;
42-
}
43-
4434
if (expr.type === 'Keyword' && index + 1 < exprValues.length) {
4535
paren = exprValues[index + 1];
4636

0 commit comments

Comments
 (0)