MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / clear

Function clear

static/js/codemirror/addon/edit/matchbrackets.js:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 // input stops going to the textare whever this fires.
51 if (ie_lt8 && cm.state.focused) cm.display.input.focus();
52 var clear = function() {
53 cm.operation(function() { one.clear(); two && two.clear(); });
54 };
55 if (autoclear) setTimeout(clear, 800);
56 else return clear;
57 }

Callers

nothing calls this directly

Calls 2

operationMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected