public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(group, layer)
	{
	    group.collapsing = true;
	    
	    if (lang.isValue(group.groupContainer))
		layer.removeContainer(group.groupContainer);
	    else
	    {
		for (var i in group.containers)
		    layer.removeContainer(group.containers[i])
		    
		for (var i in group.groups)
		    WireIt.GroupUtils.removeGroupFromLayer(group.groups[i], layer);
	    }
	    group.collapsing = false;
	}
function(group, layer)
	{
	    group.collapsing = true;
	    
	    if (lang.isValue(group.groupContainer))
		layer.removeContainer(group.groupContainer);
	    else
	    {
		for (var i in group.containers)
		    layer.removeContainer(group.containers[i])
		    
		for (var i in group.groups)
		    WireIt.GroupUtils.removeGroupFromLayer(group.groups[i], layer);
	    }
	    group.collapsing = false;
	}
function ( group , layer ) { group . collapsing = true ; if ( lang . isValue ( group . groupContainer ) ) layer . removeContainer ( group . groupContainer ) ; else { for ( var i in group . containers ) layer . removeContainer ( group . containers [ i ] ) for ( var i in group . groups ) WireIt . GroupUtils . removeGroupFromLayer ( group . groups [ i ] , layer ) ; } group . collapsing = false ; }
Removes the group's containers and sub groups from the layer
@param {WireIt.Group} The group to remove
@param {WireIt.Layer} The layer to remove them from
Removes the group s containers and sub groups from the layer