(root, hrefs)
| 379 | } |
| 380 | |
| 381 | function loadStylesheetsFrom(root, hrefs) { |
| 382 | const event = new window.Event('load'); |
| 383 | const nodes = root.querySelectorAll('link[rel="stylesheet"]'); |
| 384 | resolveLoadables(hrefs, nodes, event, href => { |
| 385 | Scheduler.log('load stylesheet: ' + href); |
| 386 | }); |
| 387 | } |
| 388 | |
| 389 | function errorStylesheets(hrefs) { |
| 390 | const event = new window.Event('error'); |
no test coverage detected