packages/auth/demo/public/script.js
function addProviderIcon(providerId) {
  var pElt = $('<i>').addClass('fa ' + providersIcons[providerId])
      .attr('title', providerId)
      .data({
        'toggle': 'tooltip',
        'placement': 'bottom'
      });
  $('.profile-providers').append(pElt);
  pElt.tooltip();
}
function addProviderIcon(providerId) {
  var pElt = $('<i>').addClass('fa ' + providersIcons[providerId])
      .attr('title', providerId)
      .data({
        'toggle': 'tooltip',
        'placement': 'bottom'
      });
  $('.profile-providers').append(pElt);
  pElt.tooltip();
}
function addProviderIcon ( providerId ) { var pElt = $ ( '<i>' ) . addClass ( 'fa ' + providersIcons [ providerId ] ) . attr ( 'title' , providerId ) . data ( { 'toggle' : 'tooltip' , 'placement' : 'bottom' } ) ; $ ( '.profile-providers' ) . append ( pElt ) ; pElt . tooltip ( ) ; }
Add a provider icon to the profile info.
@param {string} providerId The providerId of the provider.
Add a provider icon to the profile info .