Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
initializeApp
Function · 0.85
setupEventHandlers
Function · 0.85
handler
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected