examples/browser/app.js
function getUsers(){
    console.log('getUsers called');
    grout.Users.get().then(function(app){
      console.log('apps list loaded:', app);
      document.getElementById("output").innerHTML = JSON.stringify(app);
    }, function(err){
      console.error('Error getting users:', err);
    });
  }
function getUsers(){
    console.log('getUsers called');
    grout.Users.get().then(function(app){
      console.log('apps list loaded:', app);
      document.getElementById("output").innerHTML = JSON.stringify(app);
    }, function(err){
      console.error('Error getting users:', err);
    });
  }
function getUsers ( ) { console . log ( 'getUsers called' ) ; grout . Users . get ( ) . then ( function ( app ) { console . log ( 'apps list loaded:' , app ) ; document . getElementById ( "output" ) . innerHTML = JSON . stringify ( app ) ; } , function ( err ) { console . error ( 'Error getting users:' , err ) ; } ) ; }
Get list of users
Get list of users