extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js
/**
   * Function to register as a dependant of the AmpRecaptcha serivce.
   * Used to create/destroy recaptcha boostrap iframe.
   * @param {string} sitekey
   * @return {Promise}
   */
Function to register as a dependant of the AmpRecaptcha serivce.
Used to create/destroy recaptcha boostrap iframe.
@param {string} sitekey
@return {Promise}
Function to register as a dependant of the AmpRecaptcha serivce . Used to create / destroy recaptcha boostrap iframe . @param { string } sitekey @return { Promise }
register(sitekey) {
    this.registeredElementCount_++;
    if (!this.iframeLoadPromise_) {
      this.iframeLoadPromise_ = this.initialize_(sitekey);
    }
    return this.iframeLoadPromise_;
  }
register ( sitekey ) { this . registeredElementCount_ ++ ; if ( ! this . iframeLoadPromise_ ) { this . iframeLoadPromise_ = this . initialize_ ( sitekey ) ; } return this . iframeLoadPromise_ ; }
Function to register as a dependant of the AmpRecaptcha serivce.
Function to register as a dependant of the AmpRecaptcha serivce .