(thisNode, text, className)
| 57 | } |
| 58 | }; |
| 59 | const _highlightText = (thisNode, text, className) => { |
| 60 | let addItems = []; |
| 61 | _highlight(thisNode, addItems, text, className); |
| 62 | addItems.forEach((obj) => |
| 63 | obj.parent.insertAdjacentElement("beforebegin", obj.target) |
| 64 | ); |
| 65 | }; |
| 66 | |
| 67 | /** |
| 68 | * Small JavaScript module for the documentation. |
no test coverage detected