live.js
function teardown(moduleName, e, moduleNames) {
	var moduleNames = moduleNames || {};

	if(disposeModule(moduleName, e, moduleNames)) {
		// Delete the module and call teardown on its parents as well.
		var parents = loader.getDependants(moduleName);

		for(var i = 0, len = parents.length; i < len; i++) {
			teardown(parents[i], e, moduleNames);
		}
	}

	return moduleNames;
}
function teardown(moduleName, e, moduleNames) {
	var moduleNames = moduleNames || {};

	if(disposeModule(moduleName, e, moduleNames)) {
		// Delete the module and call teardown on its parents as well.
		var parents = loader.getDependants(moduleName);

		for(var i = 0, len = parents.length; i < len; i++) {
			teardown(parents[i], e, moduleNames);
		}
	}

	return moduleNames;
}
function teardown ( moduleName , e , moduleNames ) { var moduleNames = moduleNames || { } ; if ( disposeModule ( moduleName , e , moduleNames ) ) { // Delete the module and call teardown on its parents as well. var parents = loader . getDependants ( moduleName ) ; for ( var i = 0 , len = parents . length ; i < len ; i ++ ) { teardown ( parents [ i ] , e , moduleNames ) ; } } return moduleNames ; }
Teardown a module name by deleting it and all of its parent modules.
Teardown a module name by deleting it and all of its parent modules .