MCPcopy Create free account
hub / github.com/error311/FileRise / dispatchLegacyReadyOnce

Function dispatchLegacyReadyOnce

public/js/main.js:811–817  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

809}
810
811function dispatchLegacyReadyOnce() {
812 if (window.__FR_FLAGS.domReadyFired) return;
813 window.__FR_FLAGS.domReadyFired = true;
814 // Fire synthetic DOMContentLoaded/load once so legacy listeners in imported modules bind.
815 try { document.dispatchEvent(new Event('DOMContentLoaded')); } catch (e) { }
816 try { window.dispatchEvent(new Event('load')); } catch (e) { }
817}
818
819// -------- username label ( --------
820function wireUserNameLabel(state) {

Callers 1

bootHeavyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected