summaryrefslogtreecommitdiff
path: root/node_modules/csso/cjs/clean/Raw.cjs
blob: 0286e198f6b7eebd8c3534937b0b35c2f18dd04f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

const utils = require('./utils.cjs');

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

module.exports = cleanRaw;