(nodes, callback)
| 552 | } |
| 553 | |
| 554 | function walkHtml(nodes, callback) { |
| 555 | nodes.forEach(function(node) { |
| 556 | callback(node); |
| 557 | if (node.children) { |
| 558 | walkHtml(node.children, callback); |
| 559 | } |
| 560 | }); |
| 561 | } |
| 562 | |
| 563 | var commentAuthorLabel = exports.commentAuthorLabel = function commentAuthorLabel(comment) { |
| 564 | return comment.authorInitials || ""; |
no test coverage detected