From ca553f6b8de8ded369209948894097266a0ee3ac Mon Sep 17 00:00:00 2001 From: MoyuScript 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