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:
332 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 | exports.default = addComment;
|
---|
| 7 |
|
---|
| 8 | var _addComments = require("./addComments");
|
---|
| 9 |
|
---|
| 10 | function addComment(node, type, content, line) {
|
---|
| 11 | return (0, _addComments.default)(node, type, [{
|
---|
| 12 | type: line ? "CommentLine" : "CommentBlock",
|
---|
| 13 | value: content
|
---|
| 14 | }]);
|
---|
| 15 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.