From 9134d7067cffd265cc4c1e4c37fdeb3f02b07b84 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Mon, 18 Jul 2011 13:18:58 +0300 Subject: [PATCH] added break functionality to each and IE fallback for Array indexOf --- src/Util.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/Util.js b/src/Util.js index 0698caa..6c3eb39 100644 --- a/src/Util.js +++ b/src/Util.js @@ -53,7 +53,7 @@ html2canvas.prototype.getBounds = function(el){ html2canvas.prototype.each = function(arrayLoop,callbackFunc){ callbackFunc = callbackFunc || function(){}; for (var i=0;i