source: trip-planner-front/node_modules/csso/lib/clean/Raw.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 285 bytes
Line 
1var { isNodeChildrenList } = require('./utils');
2
3module.exports = function cleanRaw(node, item, list) {
4 // raw in stylesheet or block children
5 if (isNodeChildrenList(this.stylesheet, list) ||
6 isNodeChildrenList(this.block, list)) {
7 list.remove(item);
8 }
9};
Note: See TracBrowser for help on using the repository browser.