X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/source/DomHelper.html diff --git a/docs/source/DomHelper.html b/docs/source/DomHelper.html index 4018f386..3fa08c60 100644 --- a/docs/source/DomHelper.html +++ b/docs/source/DomHelper.html @@ -1,17 +1,12 @@ - - - The source code - - - - -
/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-
/** + + + + The source code + + + + +
/**
  * @class Ext.DomHelper
  * 

The DomHelper class provides a layer of abstraction from DOM and transparently supports creating * elements via DOM or using HTML fragments. It also has the ability to create HTML fragment templates @@ -174,9 +169,11 @@ Ext.DomHelper = function(){ if(Ext.isString(o)){ b = o; } else if (Ext.isArray(o)) { - Ext.each(o, function(v) { - b += createHtml(v); - }); + for (var i=0; i < o.length; i++) { + if(o[i]) { + b += createHtml(o[i]); + } + }; } else { b += '<' + (o.tag = o.tag || 'div'); Ext.iterate(o, function(attr, val){ @@ -420,6 +417,6 @@ Ext.DomHelper = function(){ createHtml : createHtml }; return pub; -}();

- +}();
+ \ No newline at end of file