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) {
|
||||
var data = self.data,
|
||||
forEach = callback ? Ox.nonblockingForEach : Ox.forEach;
|
||||
forEach(Ox.range(0, data.length, 4), function(i) {
|
||||
return iterator([
|
||||
data[i], data[i + 1], data[i + 2], data[i + 3]
|
||||
], getXY(i), i);
|
||||
}, callback);
|
||||
}
|
||||
forEach(Ox.range(0, data.length, 4), function(i) {
|
||||
return iterator([
|
||||
data[i], data[i + 1], data[i + 2], data[i + 3]
|
||||
], getXY(i), i);
|
||||
}, callback);
|
||||
return that;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue