main.js
/**
   * create card header
   * @param {TemplateResult} entities
   */
create card header
@param {TemplateResult} entities
create card header @param { TemplateResult } entities
createHeader(entities) {
    if (this.config.header === false) return html``;
    const header = this.config.header || entities.map(entity => entity.attributes.subreddit).join(', ');
    return html`
      <div class='card-header'>
        ${header}
      </div>
    `;
  }
createHeader ( entities ) { if ( this . config . header === false ) return html ` ` ; const header = this . config . header || entities . map ( entity => entity . attributes . subreddit ) . join ( ', ' ) ; return html ` ${ header } ` ; }
create card header
 @param {TemplateResult} entities
create card header @param { TemplateResult } entities