MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isEmpty

Function isEmpty

static/editor.md/lib/codemirror/addon/display/placeholder.js:55–57  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

53 }
54
55 function isEmpty(cm) {
56 return (cm.lineCount() === 1) && (cm.getLine(0) === "");
57 }
58});

Callers 2

onBlurFunction · 0.70
onChangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected