MCPcopy Create free account
hub / github.com/chartjs/Chart.js / diff

Method diff

src/core/core.plugins.js:116–116  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

114 const previousDescriptors = this._oldCache || [];
115 const descriptors = this._cache;
116 const diff = (a, b) => a.filter(x => !b.some(y => x.plugin.id === y.plugin.id));
117 this._notify(diff(previousDescriptors, descriptors), chart, 'stop');
118 this._notify(diff(descriptors, previousDescriptors), chart, 'start');
119 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected