Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/1f152001cd02e595366120545a7d0d32.json
2020-12-31 20:18:50 +00:00

1 line
557 B
JSON

{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = addComments;\n\nfunction addComments(node, type, comments) {\n if (!comments || !node) return node;\n var key = \"\".concat(type, \"Comments\");\n\n if (node[key]) {\n if (type === \"leading\") {\n node[key] = comments.concat(node[key]);\n } else {\n node[key] = node[key].concat(comments);\n }\n } else {\n node[key] = comments;\n }\n\n return node;\n}","map":null,"metadata":{},"sourceType":"script"}