MCPcopy Create free account
hub / github.com/danja/dogalog / getCode

Function getCode

src/app.js:81–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 let editorView;
80
81 function getCode() {
82 return editorView ? editorView.state.doc.toString() : '';
83 }
84
85 function setCode(text) {
86 if (!editorView) return;

Callers 3

initializeAppFunction · 0.85
setupEventHandlersFunction · 0.85
handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected