summaryrefslogtreecommitdiff
path: root/node_modules/csso/lib/clean/Raw.js
blob: b9ec0ae972ce8fb56325a77fbb659462b3161acc (plain)
1
2
3
4
5
6
7
8
9
import { isNodeChildrenList } from './utils.js';

export default function cleanRaw(node, item, list) {
    // raw in stylesheet or block children
    if (isNodeChildrenList(this.stylesheet, list) ||
        isNodeChildrenList(this.block, list)) {
        list.remove(item);
    }
};