MCPcopy Index your code
hub / github.com/antonmedv/codejar / onUpdate

Function onUpdate

codejar.ts:57–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 let at = -1
56 let focus = false
57 let onUpdate: (code: string) => void | undefined = () => void 0
58 let prev: string // code content prior keydown event
59
60 editor.setAttribute('contenteditable', 'plaintext-only')

Callers 2

CodeJarFunction · 0.85
updateCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected