typo
This commit is contained in:
parent
de30af0656
commit
c949b304ba
1 changed files with 5 additions and 6 deletions
|
@ -528,12 +528,11 @@ Ox.load.Image = function(options, callback) {
|
||||||
that.forEach = function(iterator, callback) {
|
that.forEach = function(iterator, callback) {
|
||||||
var data = self.data,
|
var data = self.data,
|
||||||
forEach = callback ? Ox.nonblockingForEach : Ox.forEach;
|
forEach = callback ? Ox.nonblockingForEach : Ox.forEach;
|
||||||
forEach(Ox.range(0, data.length, 4), function(i) {
|
forEach(Ox.range(0, data.length, 4), function(i) {
|
||||||
return iterator([
|
return iterator([
|
||||||
data[i], data[i + 1], data[i + 2], data[i + 3]
|
data[i], data[i + 1], data[i + 2], data[i + 3]
|
||||||
], getXY(i), i);
|
], getXY(i), i);
|
||||||
}, callback);
|
}, callback);
|
||||||
}
|
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue