MCPcopy Index your code
hub / github.com/DHTMLX/gantt / option

Function option

samples/common/codehighlight/codemirror.js:7669–7673  ·  view source on GitHub ↗
(name, deflt, handle, notOnInit)

Source from the content-addressed store, hash-verified

7667 var optionHandlers = CodeMirror.optionHandlers;
7668
7669 function option(name, deflt, handle, notOnInit) {
7670 CodeMirror.defaults[name] = deflt;
7671 if (handle) { optionHandlers[name] =
7672 notOnInit ? function (cm, val, old) {if (old != Init) { handle(cm, val, old); }} : handle; }
7673 }
7674
7675 CodeMirror.defineOption = option;
7676

Callers 2

configureMouseFunction · 0.85
defineOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected