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

Function extendMode

samples/common/codehighlight/codemirror.js:771–774  ·  view source on GitHub ↗
(mode, properties)

Source from the content-addressed store, hash-verified

769 // outside the actual mode definition.
770 var modeExtensions = {};
771 function extendMode(mode, properties) {
772 var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});
773 copyObj(properties, exts);
774 }
775
776 function copyState(mode, state) {
777 if (state === true) { return state }

Callers

nothing calls this directly

Calls 1

copyObjFunction · 0.85

Tested by

no test coverage detected