public/js/pipe.js
function checkForAuths(){

    $twitter.isAuthenticated = $body.attr('data-twitter-auth') === 'true' ? true : false
    $facebook.isAuthenticated = $body.attr('data-facebook-auth') === 'true' ? true : false
    $dropbox.isAuthenticated = $body.attr('data-dropbox-auth') === 'true' ? true : false
    
  }
function checkForAuths(){

    $twitter.isAuthenticated = $body.attr('data-twitter-auth') === 'true' ? true : false
    $facebook.isAuthenticated = $body.attr('data-facebook-auth') === 'true' ? true : false
    $dropbox.isAuthenticated = $body.attr('data-dropbox-auth') === 'true' ? true : false
    
  }
function checkForAuths ( ) { $twitter . isAuthenticated = $body . attr ( 'data-twitter-auth' ) === 'true' ? true : false $facebook . isAuthenticated = $body . attr ( 'data-facebook-auth' ) === 'true' ? true : false $dropbox . isAuthenticated = $body . attr ( 'data-dropbox-auth' ) === 'true' ? true : false }
Set some flags for later to see if we are auth'd for said service or not.
Set some flags for later to see if we are auth d for said service or not .