MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / getListCache

Function getListCache

libs/echarts/echarts.simple.js:38402–38405  ·  view source on GitHub ↗
(axis, prop)

Source from the content-addressed store, hash-verified

38400// probably be fetched by multiple times. So we cache the result.
38401// axis is created each time during a ec process, so we do not need to clear cache.
38402function getListCache(axis, prop) {
38403 // Because key can be funciton, and cache size always be small, we use array cache.
38404 return inner$6(axis)[prop] || (inner$6(axis)[prop] = []);
38405}
38406
38407function listCacheGet(cache, key) {
38408 for (var i = 0; i < cache.length; i++) {

Callers 2

makeCategoryTicksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected