MCPcopy
hub / github.com/witheve/Eve / getInput

Function getInput

src/codemirror.js:9159–9164  ·  view source on GitHub ↗
(cm, msg, f)

Source from the content-addressed store, hash-verified

9157 }
9158
9159 function getInput(cm, msg, f) {
9160 if (cm.openDialog)
9161 cm.openDialog(msg + ": <input type=\"text\" style=\"width: 10em\"/>", f, {bottom: true});
9162 else
9163 f(prompt(msg, ""));
9164 }
9165
9166 function operateOnWord(cm, op) {
9167 var start = cm.getCursor(), end = cm.findPosH(start, 1, "word");

Callers 1

codemirror.jsFile · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected