lib/bidipass.js
/**
   * Load an extension
   * @param {BaseExtension} extension
   */
Load an extension
@param {BaseExtension} extension
Load an extension @param { BaseExtension } extension
async loadExtension(extension) {
    if (!(extension instanceof BaseExtension)) {
      throw new NotAnExtensionError(extension);
    }
    this._extensions[extension.name] = await extension.load(this);
    this[extension.name] = this._extensions[extension.name];
    return this;
  }
async loadExtension ( extension ) { if ( ! ( extension instanceof BaseExtension ) ) { throw new NotAnExtensionError ( extension ) ; } this . _extensions [ extension . name ] = await extension . load ( this ) ; this [ extension . name ] = this . _extensions [ extension . name ] ; return this ; }
Load an extension
 @param {BaseExtension} extension
Load an extension @param { BaseExtension } extension
// @todo rewrite this piece