fix a bug in Ox.Image forEach
This commit is contained in:
parent
443a2fed9b
commit
1ac080f6dd
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ Ox.load.Image = function(options, callback) {
|
|||
var data = self.data,
|
||||
forEach = callback ? Ox.nonblockingForEach : Ox.forEach;
|
||||
forEach(Ox.range(0, data.length, 4), function(i) {
|
||||
iterator([
|
||||
return iterator([
|
||||
data[i], data[i + 1], data[i + 2], data[i + 3]
|
||||
], getXY(i), i);
|
||||
}, callback, 250);
|
||||
|
|
Loading…
Reference in a new issue