()
| 493 | } |
| 494 | |
| 495 | function destroy() { |
| 496 | pause(); |
| 497 | corsCopies.delete(element); |
| 498 | removeNode(syncStyle); |
| 499 | loadingEnd(); |
| 500 | if (rejectorsForLoadingLinks.has(loadingLinkId)) { |
| 501 | const reject = rejectorsForLoadingLinks.get(loadingLinkId); |
| 502 | rejectorsForLoadingLinks.delete(loadingLinkId); |
| 503 | reject && reject(); |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | function watch() { |
| 508 | observer.observe(element, observerOptions); |
nothing calls this directly
no test coverage detected