lib/packages/core-classes.js
function(template) {

		var index = this._content.indexOf(template);

		if (index == -1) {
			if (Lava.schema.DEBUG && template != this._else_content) Lava.t();
			this._else_content = null;
		} else {
			this._content[index] = null;
		}

		template.destroy();

	}
function(template) {

		var index = this._content.indexOf(template);

		if (index == -1) {
			if (Lava.schema.DEBUG && template != this._else_content) Lava.t();
			this._else_content = null;
		} else {
			this._content[index] = null;
		}

		template.destroy();

	}
function ( template ) { var index = this . _content . indexOf ( template ) ; if ( index == - 1 ) { if ( Lava . schema . DEBUG && template != this . _else_content ) Lava . t ( ) ; this . _else_content = null ; } else { this . _content [ index ] = null ; } template . destroy ( ) ; }
Branches that are not in DOM are destroyed
@param {Lava.system.Template} template
Branches that are not in DOM are destroyed