extensions/amp-pinterest/0.1/follow-button.js
/**
   * Override the default href click handling to log and open popup
   * @param {Event} event: the HTML event object
   */
Override the default href click handling to log and open popup
@param {Event} event: the HTML event object
Override the default href click handling to log and open popup @param { Event } event : the HTML event object
handleClick(event) {
    event.preventDefault();
    openWindowDialog(window, this.href, 'pin' + Date.now(),
        POP_FOLLOW);
    Util.log(`&type=button_follow&href=${this.href}`);
  }
handleClick ( event ) { event . preventDefault ( ) ; openWindowDialog ( window , this . href , 'pin' + Date . now ( ) , POP_FOLLOW ) ; Util . log ( ` ${ this . href } ` ) ; }
Override the default href click handling to log and open popup
 @param {Event} event: the HTML event object
Override the default href click handling to log and open popup @param { Event } event : the HTML event object