mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
f7d2d7536a
`instanceof HTMLCanvasElement/CanvasRenderingContext2D` fails when the item is inside an iframe or when running in a protected environment. We could guess the types from their toString() value but let's keep things flexible and assume it's a sufficient condition if the item has a context2D which has item as `canvas`. |
||
---|---|---|
.. | ||
fixtures/plugin.filler | ||
specs | ||
jasmine.context.js | ||
jasmine.index.js | ||
jasmine.matchers.js | ||
jasmine.utils.js |