lib/runtime.js
function (fn) {
  var container = this;

  var program = function () {
    var subscriber = new Subscription(fn, null, container);
    return subscriber.execute.apply(subscriber, arguments);
  };

  Utils.extend(program, fn);

  return program;
}
function (fn) {
  var container = this;

  var program = function () {
    var subscriber = new Subscription(fn, null, container);
    return subscriber.execute.apply(subscriber, arguments);
  };

  Utils.extend(program, fn);

  return program;
}
function ( fn ) { var container = this ; var program = function ( ) { var subscriber = new Subscription ( fn , null , container ) ; return subscriber . execute . apply ( subscriber , arguments ) ; } ; Utils . extend ( program , fn ) ; return program ; }
Wrap a function with a sanitized public subscriber object.

@param  {Function} fn
@return {Function}
Wrap a function with a sanitized public subscriber object .