function inherit(destination, source, addSuper) {
    var proto = destination.prototype = heir.createObject(source.prototype);
    proto.constructor = destination;

    if (addSuper || typeof addSuper === 'undefined') {
      destination._super = source.prototype;
    }
  }
/**
  * Causes your desired class to inherit from a source class. This uses
  * prototypical inheritance so you can override methods without ruining
  * the parent class.
  *
  * This will alter the actual destination class though, it does not
  * create a new class.
  *
  * @param {Function} destination The target class for the inheritance.
  * @param {Function} source Class to inherit from.
  * @param {Boolean} addSuper Should we add the _super property to the prototype? Defaults to true.
  */
Causes your desired class to inherit from a source class. This uses
prototypical inheritance so you can override methods without ruining
the parent class.

This will alter the actual destination class though, it does not
create a new class.

@param {Function} destination The target class for the inheritance.
@param {Function} source Class to inherit from.
@param {Boolean} addSuper Should we add the _super property to the prototype. Defaults to true.
Causes your desired class to inherit from a source class . This uses prototypical inheritance so you can override methods without ruining the parent class . This will alter the actual destination class though it does not create a new class . @param { Function } destination The target class for the inheritance . @param { Function } source Class to inherit from . @param { Boolean } addSuper Should we add the _super property to the prototype . Defaults to true .
function inherit(destination, source, addSuper) {
    var proto = destination.prototype = heir.createObject(source.prototype);
    proto.constructor = destination;
    if (addSuper || typeof addSuper === 'undefined') {
      destination._super = source.prototype;
    }
  }
function inherit ( destination , source , addSuper ) { var proto = destination . prototype = heir . createObject ( source . prototype ) ; proto . constructor = destination ; if ( addSuper || typeof addSuper === 'undefined' ) { destination . _super = source . prototype ; } }
Causes your desired class to inherit from a source class.
Causes your desired class to inherit from a source class .