MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / dialog

Function dialog

lib/web/CodeMirror/addon/tern/tern.js:592–597  ·  view source on GitHub ↗
(cm, text, f)

Source from the content-addressed store, hash-verified

590 }
591
592 function dialog(cm, text, f) {
593 if (cm.openDialog)
594 cm.openDialog(text + ": <input type=text>", f);
595 else
596 f(prompt(text, ""));
597 }
598
599 // Tooltips
600

Callers 2

jumpToDefFunction · 0.70
renameFunction · 0.70

Calls 1

fFunction · 0.50

Tested by

no test coverage detected