(chart, type, observer)
| 229 | } |
| 230 | |
| 231 | function releaseObserver(chart, type, observer) { |
| 232 | if (observer) { |
| 233 | observer.disconnect(); |
| 234 | } |
| 235 | if (type === 'resize') { |
| 236 | unlistenDevicePixelRatioChanges(chart); |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | function createProxyAndListen(chart, type, listener) { |
| 241 | const canvas = chart.canvas; |
nothing calls this directly
no test coverage detected