freak.js
function off(event, callback) {
    if (callback) {
      listeners[event].splice(listeners[event].indexOf(callback), 1);
    }
    else {
      listeners[event] = [];
    }
  }
function off(event, callback) {
    if (callback) {
      listeners[event].splice(listeners[event].indexOf(callback), 1);
    }
    else {
      listeners[event] = [];
    }
  }
function off ( event , callback ) { if ( callback ) { listeners [ event ] . splice ( listeners [ event ] . indexOf ( callback ) , 1 ) ; } else { listeners [ event ] = [ ] ; } }
Remove all or specified listeners given event and property
Remove all or specified listeners given event and property