This commit is contained in:
Ilya Kantor 2017-03-21 14:41:49 +03:00
parent 4ae129054e
commit ab9ab64bd5
476 changed files with 3370 additions and 532 deletions

View file

@ -27,7 +27,7 @@
// let's create another img with the same src and check that we have its width immediately
function testLoaded() {
let widthSum = 0;
for (var i = 0; i < sources.length; i++) {
for (let i = 0; i < sources.length; i++) {
let img = document.createElement('img');
img.src = sources[i];
widthSum += img.width;