From c949b304baabbf70604ff1f34be50ea2bc4e32c3 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 23 May 2012 17:45:20 +0200 Subject: [PATCH] typo --- source/Ox.Image/Ox.Image.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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; };