src/js/libs/spiritual-edb.js
function() {
		gui.Spirit.prototype.onconfigure.call(this);
		if (this.dom.embedded()) {
			var id, parent = this.dom.parent(gui.Spirit);
			if (parent && (id = this.scriptid)) {
				parent.script.load(gui.Object.lookup(id));
			}
		}
	}
function() {
		gui.Spirit.prototype.onconfigure.call(this);
		if (this.dom.embedded()) {
			var id, parent = this.dom.parent(gui.Spirit);
			if (parent && (id = this.scriptid)) {
				parent.script.load(gui.Object.lookup(id));
			}
		}
	}
function ( ) { gui . Spirit . prototype . onconfigure . call ( this ) ; if ( this . dom . embedded ( ) ) { var id , parent = this . dom . parent ( gui . Spirit ) ; if ( parent && ( id = this . scriptid ) ) { parent . script . load ( gui . Object . lookup ( id ) ) ; } } }
Load script into parent spirit. This spirit will
automatically destruct when the script executes.
Load script into parent spirit . This spirit will automatically destruct when the script executes .