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

Function getOption

lib/web/CodeMirror/addon/edit/closebrackets.js:33–37  ·  view source on GitHub ↗
(conf, name)

Source from the content-addressed store, hash-verified

31 });
32
33 function getOption(conf, name) {
34 if (name == "pairs" && typeof conf == "string") return conf;
35 if (typeof conf == "object" && conf[name] != null) return conf[name];
36 return defaults[name];
37 }
38
39 var keyMap = {Backspace: handleBackspace, Enter: handleEnter};
40 function ensureBound(chars) {

Callers 4

closebrackets.jsFile · 0.70
handleBackspaceFunction · 0.70
handleEnterFunction · 0.70
handleCharFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected