MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / _highlightText

Function _highlightText

docs/_static/sphinx_highlight.js:59–65  ·  view source on GitHub ↗
(thisNode, text, className)

Source from the content-addressed store, hash-verified

57 }
58};
59const _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.

Callers 1

Calls 1

_highlightFunction · 0.85

Tested by

no test coverage detected