(images, onLoad)
| 4027 | } |
| 4028 | |
| 4029 | function loadImages(images, onLoad) { |
| 4030 | return Promise.all(images.map(function (src, i) { |
| 4031 | return loadImage(src, i, onLoad); |
| 4032 | })); |
| 4033 | } |
| 4034 | |
| 4035 | function ImageLoader(images, onLoad) { |
| 4036 | return new Promise(function (resolve, reject) { |
no test coverage detected