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

Function dialog

static/editor.md/lib/codemirror/addon/tern/tern.js:584–589  ·  view source on GitHub ↗
(cm, text, f)

Source from the content-addressed store, hash-verified

582 }
583
584 function dialog(cm, text, f) {
585 if (cm.openDialog)
586 cm.openDialog(text + ": <input type=text>", f);
587 else
588 f(prompt(text, ""));
589 }
590
591 // Tooltips
592

Callers 2

jumpToDefFunction · 0.70
renameFunction · 0.70

Calls 1

fFunction · 0.50

Tested by

no test coverage detected