documentation/test/normalize.js
2015-10-03 16:57:37 -04:00

11 lines
240 B
JavaScript

function normalize(comments) {
comments.forEach(function (comment) {
delete comment.context.file;
normalize(comment.members.instance);
normalize(comment.members.static);
});
return comments;
}
module.exports = normalize;