MCPcopy
hub / github.com/ollm/OpenComic / loadShoShoObject

Function loadShoShoObject

scripts/shortcuts.js:7–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5var shortcuts = false;
6
7async function loadShoShoObject()
8{
9 if(shosho) return;
10
11 shosho = new ShoSho({
12 capture: true,
13 target: document,
14 });
15
16 shoshoMouse = new ShoSho({
17 capture: true,
18 target: document.querySelector('.content-right'),
19 });
20
21 mouseWheel = new MouseWheel({
22 capture: true,
23 target: document.querySelector('.content-right'),
24 });
25
26 return true;
27}
28
29function inputIsFocused()
30{

Callers 1

registerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected