MCPcopy
hub / github.com/tdewolff/minify / fetchLayoutMode

Function fetchLayoutMode

_benchmarks/sample_echarts.js:16977–16982  ·  view source on GitHub ↗
(ins)

Source from the content-addressed store, hash-verified

16975 return option[HV_NAMES[hvIdx][0]] != null || option[HV_NAMES[hvIdx][1]] != null && option[HV_NAMES[hvIdx][2]] != null;
16976 }
16977 function fetchLayoutMode(ins) {
16978 var layoutMode = ins.layoutMode || ins.constructor.layoutMode;
16979 return isObject(layoutMode) ? layoutMode : layoutMode ? {
16980 type: layoutMode
16981 } : null;
16982 }
16983 /**
16984 * Consider Case:
16985 * When default option has {left: 0, width: 100}, and we set {right: 0}

Callers 2

sample_echarts.jsFile · 0.85
axisModelCreatorFunction · 0.85

Calls 1

isObjectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…