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

Function onChange

static/editor.md/lib/codemirror/addon/lint/lint.js:164–168  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

162 }
163
164 function onChange(cm) {
165 var state = cm.state.lint;
166 clearTimeout(state.timeout);
167 state.timeout = setTimeout(function(){startLinting(cm);}, state.options.delay || 500);
168 }
169
170 function popupSpanTooltip(ann, e) {
171 var target = e.target || e.srcElement;

Callers

nothing calls this directly

Calls 1

startLintingFunction · 0.85

Tested by

no test coverage detected