src/js/libs/spiritual-gui.js
function(client) {
		this.client = client;
		if(gui.hasModule('gui-spirits@wunderbyte.com')) {
			if(client instanceof gui.Spirit) {
				this.spirit = client || null;
				this.context = window; // otherwise web worker scenario, maybe deprecate
			}
		}
		this.onconstruct();
	}
function(client) {
		this.client = client;
		if(gui.hasModule('gui-spirits@wunderbyte.com')) {
			if(client instanceof gui.Spirit) {
				this.spirit = client || null;
				this.context = window; // otherwise web worker scenario, maybe deprecate
			}
		}
		this.onconstruct();
	}
function ( client ) { this . client = client ; if ( gui . hasModule ( 'gui-spirits@wunderbyte.com' ) ) { if ( client instanceof gui . Spirit ) { this . spirit = client || null ; this . context = window ; // otherwise web worker scenario, maybe deprecate } } this . onconstruct ( ) ; }
Secret constructor. Called before `onconstruct`.
@type {gui.Spirit|gui.Plugin|edb.Object|edb.Array}
Secret constructor . Called before onconstruct .