Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
285 bytes
|
Line | |
---|
1 | var { isNodeChildrenList } = require('./utils');
|
---|
2 |
|
---|
3 | module.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.