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

Function custom_check

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

Source from the content-addressed store, hash-verified

28var currentPort = 0;
29
30function custom_check() {
31 if (CustomScriptSourcesEnabled) {
32 var scr = document.createElement('script');
33 scr.type = 'text/javascript';
34 scr.addEventListener('load', build_page);
35 scr.src = CustomScriptSrc;
36 document.head.appendChild(scr);
37 } else {
38 build_page();
39 }
40}
41
42function build_page() {
43 var path = window.location.pathname;

Callers

nothing calls this directly

Calls 1

build_pageFunction · 0.70

Tested by

no test coverage detected