MCPcopy Create free account
hub / github.com/danvk/webdiff / k

Function k

webdiff/static/js/highlight.min.js:89–90  ·  view source on GitHub ↗
(e,t)

Source from the content-addressed store, hash-verified

87t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",
88e.__beforeBegin=x,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,
89void 0===e.relevance&&(e.relevance=0))}function k(e,t){
90Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function U(e,t){
91if(e.match){
92if(e.begin||e.end)throw Error("begin & end are not supported with match")
93;e.begin=e.match,delete e.match}}function F(e,t){

Callers

nothing calls this directly

Calls 1

gFunction · 0.70

Tested by

no test coverage detected