MCPcopy Index your code
hub / github.com/documentcloud/visualsearch / initHighlighting

Function initHighlighting

docs/assets/highlight.js:493–504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

491 }
492
493 function initHighlighting() {
494 if (initHighlighting.called)
495 return;
496 initHighlighting.called = true;
497 initialize();
498 var pres = document.getElementsByTagName('pre');
499 for (var i = 0; i < pres.length; i++) {
500 var code = findCode(pres[i]);
501 if (code)
502 highlightBlock(code, hljs.tabReplace);
503 }
504 }
505
506 function initHighlightingOnLoad() {
507 var original_arguments = arguments;

Callers

nothing calls this directly

Calls 3

initializeFunction · 0.85
findCodeFunction · 0.85
highlightBlockFunction · 0.85

Tested by

no test coverage detected