From 0f157cff908506b50c345c6995d432204d27ccd9 Mon Sep 17 00:00:00 2001 From: Tobias Beer Date: Wed, 26 Nov 2014 18:50:12 +0100 Subject: [PATCH] code style revision thanks, Jeremy... will watch out for that --- boot/boot.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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