MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / up

Function up

lib/web/CodeMirror/src/edit/key_events.js:135–141  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

133 addClass(lineDiv, "CodeMirror-crosshair")
134
135 function up(e) {
136 if (e.keyCode == 18 || !e.altKey) {
137 rmClass(lineDiv, "CodeMirror-crosshair")
138 off(document, "keyup", up)
139 off(document, "mouseover", up)
140 }
141 }
142 on(document, "keyup", up)
143 on(document, "mouseover", up)
144}

Callers

nothing calls this directly

Calls 2

rmClassFunction · 0.90
offFunction · 0.90

Tested by

no test coverage detected