public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(group, deep, func, context)
	{
	    if (!lang.isValue(context))
		context = this;
	    
	    if (lang.isValue(group.groupContainer))
		func.call(context, group.groupContainer);
	    else
	    {
		for (var cI in group.containers)
		    func.call(context, group.containers[cI].container)
		    
		if (deep)
		{
		    for (var gI in group.groups)
			WireIt.GroupUtils.applyToContainers(group.groups[gI].group, deep, func, context);
		}
	    }
	}
function(group, deep, func, context)
	{
	    if (!lang.isValue(context))
		context = this;
	    
	    if (lang.isValue(group.groupContainer))
		func.call(context, group.groupContainer);
	    else
	    {
		for (var cI in group.containers)
		    func.call(context, group.containers[cI].container)
		    
		if (deep)
		{
		    for (var gI in group.groups)
			WireIt.GroupUtils.applyToContainers(group.groups[gI].group, deep, func, context);
		}
	    }
	}
function ( group , deep , func , context ) { if ( ! lang . isValue ( context ) ) context = this ; if ( lang . isValue ( group . groupContainer ) ) func . call ( context , group . groupContainer ) ; else { for ( var cI in group . containers ) func . call ( context , group . containers [ cI ] . container ) if ( deep ) { for ( var gI in group . groups ) WireIt . GroupUtils . applyToContainers ( group . groups [ gI ] . group , deep , func , context ) ; } } }
Applys the given function to all containers in the group.
@method applyToContainers
@param {WireIt.Group} group The group object to work with
@param {boolean} deep Whether to recurse down into sub groups applying to their containers as well
@param {Function} func The function to apply (takes 1 arg, the container)
@param {Object} context The context to call the function with
Applys the given function to all containers in the group .