extensions/amp-analytics/0.1/iframe-transport.js
/**
   * If iframe is specified in config/transport, check whether third-party
   * iframe already exists, and if not, create it.
   */
If iframe is specified in config/transport, check whether third-party
iframe already exists, and if not, create it.
If iframe is specified in config / transport check whether third - party iframe already exists and if not create it .
processCrossDomainIframe() {
    let frameData;
    if (IframeTransport.hasCrossDomainIframe(this.type_)) {
      frameData = IframeTransport.getFrameData(this.type_);
      ++(frameData.usageCount);
    } else {
      frameData = this.createCrossDomainIframe();
      this.win_.document.body.appendChild(frameData.frame);
    }
    dev().assert(frameData, 'Trying to use non-existent frame');
  }
processCrossDomainIframe ( ) { let frameData ; if ( IframeTransport . hasCrossDomainIframe ( this . type_ ) ) { frameData = IframeTransport . getFrameData ( this . type_ ) ; ++ ( frameData . usageCount ) ; } else { frameData = this . createCrossDomainIframe ( ) ; this . win_ . document . body . appendChild ( frameData . frame ) ; } dev ( ) . assert ( frameData , 'Trying to use non-existent frame' ) ; }
If iframe is specified in config/transport, check whether third-party
 iframe already exists, and if not, create it.
If iframe is specified in config / transport check whether third - party iframe already exists and if not create it .