MCPcopy
hub / github.com/novnc/noVNC / addStandard

Function addStandard

core/input/domkeytable.js:18–22  ·  view source on GitHub ↗
(key, standard)

Source from the content-addressed store, hash-verified

16const DOMKeyTable = {};
17
18function addStandard(key, standard) {
19 if (standard === undefined) throw new Error("Undefined keysym for key \"" + key + "\"");
20 if (key in DOMKeyTable) throw new Error("Duplicate entry for key \"" + key + "\"");
21 DOMKeyTable[key] = [standard, standard, standard, standard];
22}
23
24function addLeftRight(key, left, right) {
25 if (left === undefined) throw new Error("Undefined keysym for key \"" + key + "\"");

Callers 1

domkeytable.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…