MCPcopy Create free account
hub / github.com/sql-js/sql.js / initHighlightingOnLoad

Function initHighlightingOnLoad

documentation/javascript/application.js:698–706  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

696 Attaches highlighting to the page load event.
697 */
698 function initHighlightingOnLoad() {
699 if (window.addEventListener) {
700 window.addEventListener('DOMContentLoaded', initHighlighting, false);
701 window.addEventListener('load', initHighlighting, false);
702 } else if (window.attachEvent)
703 window.attachEvent('onload', initHighlighting);
704 else
705 window.onload = initHighlighting;
706 }
707
708 var languages = {}; // a shortcut to avoid writing "this." everywhere
709

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…