Commit 368f02ba by doszhang

dos

parent 969947b3
......@@ -6,7 +6,7 @@ function preloadimages(obj, complete_cb, progress_cb) {
for (var i = 0; i < obj.length; i++) {
images[i] = new Image();
images[i].src = obj[i];
// console.log(obj[i]);
console.log(obj[i]);
images[i].onload = load;
images[i].setAttribute('crossOrigin', 'anonymous');
images[i].onerror = load;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment