diff --git a/boot/boot.js b/boot/boot.js index e8557c603..016672278 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -62,22 +62,22 @@ $tw.utils.isDate = function(value) { Iterate through all the own properties of an object or array. Callback is invoked with (element,title,object) */ $tw.utils.each = function(object,callback) { - var next,f; + var next,f,length; if(object) { if(Object.prototype.toString.call(object) == "[object Array]") { - for (f=0; f