MCPcopy Create free account
hub / github.com/sql-js/sql.js / clearModifier

Function clearModifier

documentation/javascript/application.js:10290–10297  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

10288
10289 // unset modifier keys on keyup
10290 function clearModifier(event){
10291 var key = event.keyCode, k;
10292 if(key == 93 || key == 224) key = 91;
10293 if(key in _mods) {
10294 _mods[key] = false;
10295 for(k in _MODIFIERS) if(_MODIFIERS[k] == key) assignKey[k] = false;
10296 }
10297 };
10298
10299 function resetModifiers() {
10300 for(k in _mods) _mods[k] = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…