(el)
| 396 | if (isErudaEl(mutation.target)) return |
| 397 | |
| 398 | const checkEl = (el) => { |
| 399 | const tagName = getLowerCaseTagName(el) |
| 400 | switch (tagName) { |
| 401 | case 'script': |
| 402 | this.refreshScript() |
| 403 | break |
| 404 | case 'img': |
| 405 | this.refreshImage() |
| 406 | break |
| 407 | case 'link': |
| 408 | this.refreshStylesheet() |
| 409 | break |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | if (mutation.type === 'attributes') { |
| 414 | checkEl(mutation.target) |
nothing calls this directly
no test coverage detected