Welcome to mirror list, hosted at ThFree Co, Russian Federation.

removeComments.js « comments « lib « types « @babel « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fe34f1a8905b31532223b2996bfdc60151f1fed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = removeComments;

var _constants = require("../constants");

function removeComments(node) {
  _constants.COMMENT_KEYS.forEach(key => {
    node[key] = null;
  });

  return node;
}