Manipulating event handlers

Overview

Backport.js can be used in conjunction with util.js to manipulate the parameters of events triggered by the JS API.

Availability

(warning) Requires util.js v0.7 or above.

Backport.js v0.1 or above.

Syntax

backport.global.uTardis("eventName")["eventName"].backport = function() {
  // manipulate the arguments object
  /* do stuff with arguments */
  // then return it...
  return arguments;
}