func RegisterIframe(iframeID, cardID string) (Respond, error) {
	log.Debugf("Registering %s for %s\n", iframeID, cardID)
	if card, ok := cardRegistry[iframeID]; ok {
		return nil, errors.Errorf("iframe already registered to card %s", card)
	}
	cardRegistry[iframeID] = cardID
	return responder(iframeID), nil
}
// RegisterIframe associates an iframe ID with a card ID so that requests can
// be served. A Responder is returned, which may then be used to send messages
// to the iframe.
RegisterIframe associates an iframe ID with a card ID so that requests can
be served. A Responder is returned, which may then be used to send messages
to the iframe.
// RegisterIframe associates an iframe ID with a card ID so that requests can // be served . A Responder is returned which may then be used to send messages // to the iframe .
func RegisterIframe(iframeID, cardID string) (Respond, error) {
	log.Debugf("Registering %s for %s\n", iframeID, cardID)
	if card, ok := cardRegistry[iframeID]; ok {
		return nil, errors.Errorf("iframe already registered to card %s", card)
	}
	cardRegistry[iframeID] = cardID
	return responder(iframeID), nil
}
func RegisterIframe ( iframeID , cardID string ) ( Respond , error ) { log . Debugf ( " \n " , iframeID , cardID ) if card , ok := cardRegistry [ iframeID ] ; ok { return nil , errors . Errorf ( " " , card ) } cardRegistry [ iframeID ] = cardID return responder ( iframeID ) , nil }
RegisterIframe associates an iframe ID with a card ID so that requests can
be served.
RegisterIframe associates an iframe ID with a card ID so that requests can be served .