lib/routes/social/twitter.js
function _loadUserFromToken(){
    return BB
        .bind(this)
        .then(function() {
            return grasshopper.request(this.token).users.current();
        })
        .then(function(user){
            this.user = user;
        });
}
function _loadUserFromToken(){
    return BB
        .bind(this)
        .then(function() {
            return grasshopper.request(this.token).users.current();
        })
        .then(function(user){
            this.user = user;
        });
}
function _loadUserFromToken ( ) { return BB . bind ( this ) . then ( function ( ) { return grasshopper . request ( this . token ) . users . current ( ) ; } ) . then ( function ( user ) { this . user = user ; } ) ; }
Utility function to return the current logged in user.
Utility function to return the current logged in user .