MCPcopy Create free account
hub / github.com/dataease/SQLBot / initHighlighting

Function initHighlighting

frontend/public/swagger-ui-bundle.js:21184–21192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21182 }))
21183 }
21184 const initHighlighting = () => {
21185 if (initHighlighting.called) return
21186 ;((initHighlighting.called = !0),
21187 deprecated(
21188 '10.6.0',
21189 'initHighlighting() is deprecated. Use highlightAll() instead.'
21190 ))
21191 document.querySelectorAll('pre code').forEach(highlightElement)
21192 }
21193 let U = !1
21194 function highlightAll() {
21195 if ('loading' === document.readyState) return void (U = !0)

Callers

nothing calls this directly

Calls 2

deprecatedFunction · 0.85
forEachMethod · 0.45

Tested by

no test coverage detected