Array.js
authorAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:38:56 +0000 (17:38 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:38:56 +0000 (17:38 +0800)
Array.js

index ed3a095..4095aee 100644 (file)
--- a/Array.js
+++ b/Array.js
@@ -49,8 +49,9 @@ Roo.applyIf(Array.prototype, {
         var thisp = arguments[1];
         for (var i = 0; i < len; i++)
         {
-            if (i in this)
+            if (i in this) {
                 res[i] = fun.call(thisp, this[i], i, this);
+            }
         }
 
         return res;