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

Function BrushTargetManager

_benchmarks/sample_echarts.js:79435–79445  ·  view source on GitHub ↗

* @param finder contains Index/Id/Name of xAxis/yAxis/geo/grid * Each can be {number|Array. }. like: {xAxisIndex: [3, 4]} * @param opt.include include coordinate system types.

(finder, ecModel, opt)

Source from the content-addressed store, hash-verified

79433 * @param opt.include include coordinate system types.
79434 */
79435 function BrushTargetManager(finder, ecModel, opt) {
79436 var _this = this;
79437
79438 this._targetInfoList = [];
79439 var foundCpts = parseFinder$1(ecModel, finder);
79440 each(targetInfoBuilders, function (builder, type) {
79441 if (!opt || !opt.include || indexOf(opt.include, type) >= 0) {
79442 builder(foundCpts, _this._targetInfoList);
79443 }
79444 });
79445 }
79446
79447 BrushTargetManager.prototype.setOutputRanges = function (areas, ecModel) {
79448 this.matchOutputRanges(areas, ecModel, function (area, coordRange, coordSys) {

Callers

nothing calls this directly

Calls 3

parseFinder$1Function · 0.85
eachFunction · 0.70
indexOfFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…