packages/auth/demo/public/script.js
function onSignUp() {
  var email = $('#signup-email').val();
  var password = $('#signup-password').val();
  auth.createUserWithEmailAndPassword(email, password)
      .then(onAuthUserCredentialSuccess, onAuthError);
}
function onSignUp() {
  var email = $('#signup-email').val();
  var password = $('#signup-password').val();
  auth.createUserWithEmailAndPassword(email, password)
      .then(onAuthUserCredentialSuccess, onAuthError);
}
function onSignUp ( ) { var email = $ ( '#signup-email' ) . val ( ) ; var password = $ ( '#signup-password' ) . val ( ) ; auth . createUserWithEmailAndPassword ( email , password ) . then ( onAuthUserCredentialSuccess , onAuthError ) ; }
Signs up a new user with an email and a password.
Signs up a new user with an email and a password .