MCPcopy Create free account
hub / github.com/breck7/scroll / extendMode

Function extendMode

external/.scrollLibs.js:2256–2259  ·  view source on GitHub ↗
(mode, properties)

Source from the content-addressed store, hash-verified

2254 // outside the actual mode definition.
2255 var modeExtensions = {}
2256 function extendMode(mode, properties) {
2257 var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {})
2258 copyObj(properties, exts)
2259 }
2260
2261 function copyState(mode, state) {
2262 if (state === true) {

Callers

nothing calls this directly

Calls 1

copyObjFunction · 0.85

Tested by

no test coverage detected