example/scrumptious/public/js/main.js
function handleStatusChange(response) {
  if (response.authResponse) {
    logResponse(response);
    window.location.hash = '#menu';
    updateUserInfo(response);
  } else {
    window.location.hash = '#login';
  }
}
function handleStatusChange(response) {
  if (response.authResponse) {
    logResponse(response);
    window.location.hash = '#menu';
    updateUserInfo(response);
  } else {
    window.location.hash = '#login';
  }
}
function handleStatusChange ( response ) { if ( response . authResponse ) { logResponse ( response ) ; window . location . hash = '#menu' ; updateUserInfo ( response ) ; } else { window . location . hash = '#login' ; } }
AUTHENTICATION Handle status changes
AUTHENTICATION Handle status changes