Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
278 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 | exports.default = removeComments;
|
---|
| 7 |
|
---|
| 8 | var _constants = require("../constants");
|
---|
| 9 |
|
---|
| 10 | function removeComments(node) {
|
---|
| 11 | _constants.COMMENT_KEYS.forEach(key => {
|
---|
| 12 | node[key] = null;
|
---|
| 13 | });
|
---|
| 14 |
|
---|
| 15 | return node;
|
---|
| 16 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.