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