MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / close

Function close

static/plugins/codemirror/codemirror.js:9213–9219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9211 var text = "", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false;
9212 function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
9213 function close() {
9214 if (closing) {
9215 text += lineSep;
9216 if (extraLinebreak) { text += lineSep; }
9217 closing = extraLinebreak = false;
9218 }
9219 }
9220 function addText(str) {
9221 if (str) {
9222 close();

Callers 2

addTextFunction · 0.70
walkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected