(images, onLoad)
| 11603 | } |
| 11604 | |
| 11605 | function loadImages(images, onLoad) { |
| 11606 | return Promise.all(images.map(function (src, i) { |
| 11607 | return loadImage(src, i, onLoad); |
| 11608 | })); |
| 11609 | } |
| 11610 | |
| 11611 | function ImageLoader(images, onLoad) { |
| 11612 | return new Promise(function (resolve, reject) { |
no test coverage detected