src/js/libs/spiritual-gui.js
function() {
		gui.Spirit.prototype.onenter.call(this);
		this.event.add('load');
		this.action.addGlobal([ // in order of appearance
			gui.ACTION_DOC_ONDOMCONTENT,
			gui.ACTION_DOC_ONLOAD,
			gui.ACTION_DOC_ONHASH,
			gui.ACTION_DOC_ONSPIRITUALIZED,
			gui.ACTION_DOC_UNLOAD
		]);
		if (this.fit) {
			this.css.height = 0;
		}
		var src = this.element.src;
		if (src && src !== gui.IframeSpirit.SRC_DEFAULT) {
			if (!src.startsWith("blob:")) { // wrong...
				this._setupsrc(src);
			}
		}
	}
function() {
		gui.Spirit.prototype.onenter.call(this);
		this.event.add('load');
		this.action.addGlobal([ // in order of appearance
			gui.ACTION_DOC_ONDOMCONTENT,
			gui.ACTION_DOC_ONLOAD,
			gui.ACTION_DOC_ONHASH,
			gui.ACTION_DOC_ONSPIRITUALIZED,
			gui.ACTION_DOC_UNLOAD
		]);
		if (this.fit) {
			this.css.height = 0;
		}
		var src = this.element.src;
		if (src && src !== gui.IframeSpirit.SRC_DEFAULT) {
			if (!src.startsWith("blob:")) { // wrong...
				this._setupsrc(src);
			}
		}
	}
function ( ) { gui . Spirit . prototype . onenter . call ( this ) ; this . event . add ( 'load' ) ; this . action . addGlobal ( [ // in order of appearance gui . ACTION_DOC_ONDOMCONTENT , gui . ACTION_DOC_ONLOAD , gui . ACTION_DOC_ONHASH , gui . ACTION_DOC_ONSPIRITUALIZED , gui . ACTION_DOC_UNLOAD ] ) ; if ( this . fit ) { this . css . height = 0 ; } var src = this . element . src ; if ( src && src !== gui . IframeSpirit . SRC_DEFAULT ) { if ( ! src . startsWith ( "blob:" ) ) { // wrong... this . _setupsrc ( src ) ; } } }
Stamp SRC on startup.
Configure content document events in order of
appearance and resolve current contentLocation.
Stamp SRC on startup . Configure content document events in order of appearance and resolve current contentLocation .