src/template/cjs_template.js
function(dom_node) {
							var index = get_template_instance_index(getFirstDOMChild(dom_node)),
								instance = index >= 0 ? template_instances[index] : false;

							if(instance) {
								delete template_instances[index];
								instance.destroy();
							}
							return this;
						}
function(dom_node) {
							var index = get_template_instance_index(getFirstDOMChild(dom_node)),
								instance = index >= 0 ? template_instances[index] : false;

							if(instance) {
								delete template_instances[index];
								instance.destroy();
							}
							return this;
						}
function ( dom_node ) { var index = get_template_instance_index ( getFirstDOMChild ( dom_node ) ) , instance = index >= 0 ? template_instances [ index ] : false ; if ( instance ) { delete template_instances [ index ] ; instance . destroy ( ) ; } return this ; }
Destroy a template instance

@method cjs.destroyTemplate
@param {dom} node - The dom node created by `createTemplate`
@return {boolean} - Whether the template was successfully removed
@see cjs.createTemplate
@see cjs.pauseTemplate
@see cjs.resumeTemplate
Destroy a template instance