MCPcopy Create free account
hub / github.com/adobe/Marinus / custom_check

Function custom_check

web_server/public/javascripts/headers.js:20–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18var headerPort = "443";
19
20function custom_check() {
21 if (CustomScriptSourcesEnabled) {
22 var scr = document.createElement('script');
23 scr.type = 'text/javascript';
24 scr.addEventListener('load', build_page);
25 scr.src = CustomScriptSrc;
26 document.head.appendChild(scr);
27 } else {
28 build_page();
29 }
30}
31
32function build_page() {
33 if (CustomScriptSourcesEnabled) {

Callers

nothing calls this directly

Calls 1

build_pageFunction · 0.70

Tested by

no test coverage detected