diff --git a/boot/boot.js b/boot/boot.js index a13860552..b79c4783b 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -62,19 +62,23 @@ $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; if(object) { if(Object.prototype.toString.call(object) == "[object Array]") { - for (f = 0; f < object.length; f++) { + for (f=0; f