code: function() {
                  var args = Array.prototype.slice.call(arguments),
                      target = this;
  
                  // allow the first parameter to be the target
                  if (typeof args[0] !== 'string') {
                      target = args[0];
                      args.splice(0, 1);
                  }
  
                  return function() {
                      target.trigger.apply(target, args);
                  };
              }
docs: Return a callback fundtion that will trigger an event on "this" when executed with the provided parameters