function iframeBoilerScript() {

	// Called from parent-window:
	window.__run__ = function(methodName, args, cb, deferred) {

		var isAsync = false;
		var isDeferred = false;

		window.async = function() {
			isAsync = true;
			return cb;
		};

		window.deferred = function() {
			isDeferred = true;
			return deferred;
		};

		if (cb) {
			args.push(cb);
		}

		var result = window[methodName].apply(window, args);

		window.async = function() {
			throw new Error('Operative: async() called at odd time');
		};

		window.deferred = function() {
			throw new Error('Operative: deferred() called at odd time');
		};


		if (!isDeferred && !isAsync && result !== void 0) {
			// Deprecated direct-returning as of 0.2.0
			cb(result);
		}
	};
}
/**
 * The boilerplate for the Iframe Context
 * NOTE:
 *  this'll be executed within an iframe, not here.
 *  Indented @ Zero to make nicer debug code within worker
 */
The boilerplate for the Iframe Context
NOTE:
this'll be executed within an iframe, not here.
Indented @ Zero to make nicer debug code within worker
The boilerplate for the Iframe Context NOTE : this ' ll be executed within an iframe not here . Indented @ Zero to make nicer debug code within worker
function iframeBoilerScript() {
	window.__run__ = function(methodName, args, cb, deferred) {
		var isAsync = false;
		var isDeferred = false;
		window.async = function() {
			isAsync = true;
			return cb;
		};
		window.deferred = function() {
			isDeferred = true;
			return deferred;
		};
		if (cb) {
			args.push(cb);
		}
		var result = window[methodName].apply(window, args);
		window.async = function() {
			throw new Error('Operative: async() called at odd time');
		};
		window.deferred = function() {
			throw new Error('Operative: deferred() called at odd time');
		};
		if (!isDeferred && !isAsync && result !== void 0) {
			cb(result);
		}
	};
}
function iframeBoilerScript ( ) { window . __run__ = function ( methodName , args , cb , deferred ) { var isAsync = false ; var isDeferred = false ; window . async = function ( ) { isAsync = true ; return cb ; } ; window . deferred = function ( ) { isDeferred = true ; return deferred ; } ; if ( cb ) { args . push ( cb ) ; } var result = window [ methodName ] . apply ( window , args ) ; window . async = function ( ) { throw new Error ( 'Operative: async() called at odd time' ) ; } ; window . deferred = function ( ) { throw new Error ( 'Operative: deferred() called at odd time' ) ; } ; if ( ! isDeferred && ! isAsync && result !== void 0 ) { cb ( result ) ; } } ; }
The boilerplate for the Iframe Context
 NOTE:
  this'll be executed within an iframe, not here.
The boilerplate for the Iframe Context NOTE : this ' ll be executed within an iframe not here .
// Called from parent-window: // Deprecated direct-returning as of 0.2.0