examples/browser/app.js
function logout(){
    console.log('Logout called');
    grout.logout().then(function(){
      console.log('successful logout');
      setStatus();
    }, function (err){
      console.error('logout() : Error logging out:', err);
    });
  }
function logout(){
    console.log('Logout called');
    grout.logout().then(function(){
      console.log('successful logout');
      setStatus();
    }, function (err){
      console.error('logout() : Error logging out:', err);
    });
  }
function logout ( ) { console . log ( 'Logout called' ) ; grout . logout ( ) . then ( function ( ) { console . log ( 'successful logout' ) ; setStatus ( ) ; } , function ( err ) { console . error ( 'logout() : Error logging out:' , err ) ; } ) ; }
Log currently logged in user out
Log currently logged in user out