src/js/libs/spiritual-gui.js
function(spirit) {
		spirit.window.gui.outside(spirit);
		spirit.life.detached = true;
		spirit.life.visible = false;
		spirit.life.dispatch(gui.LIFE_DETACH);
		spirit.life.dispatch(gui.LIFE_INVISIBLE);
		spirit.ondetach();
	}
function(spirit) {
		spirit.window.gui.outside(spirit);
		spirit.life.detached = true;
		spirit.life.visible = false;
		spirit.life.dispatch(gui.LIFE_DETACH);
		spirit.life.dispatch(gui.LIFE_INVISIBLE);
		spirit.ondetach();
	}
function ( spirit ) { spirit . window . gui . outside ( spirit ) ; spirit . life . detached = true ; spirit . life . visible = false ; spirit . life . dispatch ( gui . LIFE_DETACH ) ; spirit . life . dispatch ( gui . LIFE_INVISIBLE ) ; spirit . ondetach ( ) ; }
Spirit detach.
@param {gui.Spirit} spirit
Spirit detach .