function onChangeEmail() {
  var email = $('#changed-email').val();
  activeUser().updateEmail(email).then(function() {
    refreshUserData();
    alertSuccess('Email changed!');
  }, onAuthError);
}
function onChangeEmail() {
  var email = $('#changed-email').val();
  activeUser().updateEmail(email).then(function() {
    refreshUserData();
    alertSuccess('Email changed!');
  }, onAuthError);
}
function onChangeEmail ( ) { var email = $ ( '#changed-email' ) . val ( ) ; activeUser ( ) . updateEmail ( email ) . then ( function ( ) { refreshUserData ( ) ; alertSuccess ( 'Email changed!' ) ; } , onAuthError ) ; }
Changes the user's email.
Changes the user s email .
Change email