MCPcopy Index your code
hub / github.com/documentationjs/documentation / getOption

Function getOption

src/default_theme/assets/split.js:64–70  ·  view source on GitHub ↗
(options, propName, def)

Source from the content-addressed store, hash-verified

62
63 // Helper function gets a property from the properties object, with a default fallback
64 var getOption = function (options, propName, def) {
65 var value = options[propName];
66 if (value !== undefined) {
67 return value
68 }
69 return def
70 };
71
72 var getGutterSize = function (gutterSize, isFirst, isLast, gutterAlign) {
73 if (isFirst) {

Callers 4

SplitFunction · 0.85
dragFunction · 0.85
stopDraggingFunction · 0.85
startDraggingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected