dist/operative.js
function operative(module, dependencies) {

		var getBase = operative.getBaseURL;
		var getSelf = operative.getSelfURL;

		var OperativeContext = operative.hasWorkerSupport ? operative.Operative.BrowserWorker : operative.Operative.Iframe;

		if (typeof module == 'function') {
			// Allow a single function to be passed.
			var o = new OperativeContext({ main: module }, dependencies, getBase, getSelf);
			var singularOperative = function() {
				return o.api.main.apply(o, arguments);
			};
			singularOperative.transfer = function() {
				return o.api.main.transfer.apply(o, arguments);
			};
			// Copy across exposable API to the returned function:
			for (var i in o.api) {
				if (hasOwn.call(o.api, i)) {
					singularOperative[i] = o.api[i];
				}
			}
			return singularOperative;
		}

		return new OperativeContext(module, dependencies, getBase, getSelf).api;

	}
function operative(module, dependencies) {

		var getBase = operative.getBaseURL;
		var getSelf = operative.getSelfURL;

		var OperativeContext = operative.hasWorkerSupport ? operative.Operative.BrowserWorker : operative.Operative.Iframe;

		if (typeof module == 'function') {
			// Allow a single function to be passed.
			var o = new OperativeContext({ main: module }, dependencies, getBase, getSelf);
			var singularOperative = function() {
				return o.api.main.apply(o, arguments);
			};
			singularOperative.transfer = function() {
				return o.api.main.transfer.apply(o, arguments);
			};
			// Copy across exposable API to the returned function:
			for (var i in o.api) {
				if (hasOwn.call(o.api, i)) {
					singularOperative[i] = o.api[i];
				}
			}
			return singularOperative;
		}

		return new OperativeContext(module, dependencies, getBase, getSelf).api;

	}
function operative ( module , dependencies ) { var getBase = operative . getBaseURL ; var getSelf = operative . getSelfURL ; var OperativeContext = operative . hasWorkerSupport ? operative . Operative . BrowserWorker : operative . Operative . Iframe ; if ( typeof module == 'function' ) { // Allow a single function to be passed. var o = new OperativeContext ( { main : module } , dependencies , getBase , getSelf ) ; var singularOperative = function ( ) { return o . api . main . apply ( o , arguments ) ; } ; singularOperative . transfer = function ( ) { return o . api . main . transfer . apply ( o , arguments ) ; } ; // Copy across exposable API to the returned function: for ( var i in o . api ) { if ( hasOwn . call ( o . api , i ) ) { singularOperative [ i ] = o . api [ i ] ; } } return singularOperative ; } return new OperativeContext ( module , dependencies , getBase , getSelf ) . api ; }
Exposed operative factory
Exposed operative factory