|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
298 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | module.exports = function convertComments(comments) {
|
|---|
| 4 | for (const comment of comments) {
|
|---|
| 5 | comment.type = comment.type === "CommentBlock" ? "Block" : "Line";
|
|---|
| 6 | comment.range || (comment.range = [comment.start, comment.end]);
|
|---|
| 7 | }
|
|---|
| 8 | };
|
|---|
| 9 |
|
|---|
| 10 | //# sourceMappingURL=convertComments.cjs.map
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.