X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/source/DomHelper.html diff --git a/docs/source/DomHelper.html b/docs/source/DomHelper.html index 4018f386..14a74e10 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