MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / accessLoad

Function accessLoad

public/src/js/script.js:1166–1179  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

1164
1165//load and import the access component on inital access
1166function accessLoad(a, b) {
1167 if (init == false) {
1168 $d.append(`<blockquote id="waitingToAdd">Initializing connection...`);
1169 addDot();
1170 $("#cmdIframe").contents().find("head").append('<link rel="stylesheet" href="/src/ex_file/css/discord.min.css" />');
1171 import(/*webpackChunkName:'access'*/ "./access.js").then((module) => {
1172 access = module.access;
1173 init = true;
1174 access(a, b);
1175 });
1176 } else {
1177 access(a, b);
1178 }
1179}
1180
1181//setup a listener for access button click
1182function AccessLink() {

Callers 2

replyFunction · 0.85
clickfindFunction · 0.85

Calls 3

addDotFunction · 0.90
accessFunction · 0.85
$Function · 0.50

Tested by

no test coverage detected