diff --git a/source/Ox.Image/Ox.Image.js b/source/Ox.Image/Ox.Image.js index c53d3a97..272748fd 100644 --- a/source/Ox.Image/Ox.Image.js +++ b/source/Ox.Image/Ox.Image.js @@ -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; };