static/js/result.js
/**
 * Hide the password, and show a reveal button.
 * @param {!string} password The newly generated password.
 */
Hide the password, and show a reveal button.
@param {!string} password The newly generated password.
Hide the password and show a reveal button . @param { !string } password The newly generated password .
function PWG_HidePassword(password) {
  var hidden_password = '';
  for (var i = 0; i < password.length; i++) {
    hidden_password += '*';
  }
  $('#password').html(hidden_password).fadeIn('fast');
  $('#reveal_password_button').css('visibility', 'visible');
}
function PWG_HidePassword ( password ) { var hidden_password = '' ; for ( var i = 0 ; i < password . length ; i ++ ) { hidden_password += '*' ; } $ ( '#password' ) . html ( hidden_password ) . fadeIn ( 'fast' ) ; $ ( '#reveal_password_button' ) . css ( 'visibility' , 'visible' ) ; }
Hide the password, and show a reveal button.
Hide the password and show a reveal button .