Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / src / core / core / DomHelper.js
index d4c7bb9..7057d32 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.0.3
+ * Ext JS Library 3.1.0
  * Copyright(c) 2006-2009 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -167,9 +167,11 @@ Ext.DomHelper = function(){
         if(Ext.isString(o)){\r
             b = o;\r
         } else if (Ext.isArray(o)) {\r
-            Ext.each(o, function(v) {\r
-                b += createHtml(v);\r
-            });\r
+            for (var i=0; i < o.length; i++) {\r
+                if(o[i]) {\r
+                    b += createHtml(o[i]);\r
+                }\r
+            };\r
         } else {\r
             b += '<' + (o.tag = o.tag || 'div');\r
             Ext.iterate(o, function(attr, val){\r