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

    $twitter.isAuthenticated && $twitterDestination.bind('click', twitterDestinationClickHandler)
    $facebook.isAuthenticated && $facebookDestination.bind('click', facebookDestinationClickHandler)
    $dropbox.isAuthenticated && $dropboxDestination.bind('click', dropboxDestinationClickHandler)
    
  }
function wireDestinationClickHandlers(){

    $twitter.isAuthenticated && $twitterDestination.bind('click', twitterDestinationClickHandler)
    $facebook.isAuthenticated && $facebookDestination.bind('click', facebookDestinationClickHandler)
    $dropbox.isAuthenticated && $dropboxDestination.bind('click', dropboxDestinationClickHandler)
    
  }
function wireDestinationClickHandlers ( ) { $twitter . isAuthenticated && $twitterDestination . bind ( 'click' , twitterDestinationClickHandler ) $facebook . isAuthenticated && $facebookDestination . bind ( 'click' , facebookDestinationClickHandler ) $dropbox . isAuthenticated && $dropboxDestination . bind ( 'click' , dropboxDestinationClickHandler ) }
Attach click handlers to respective elements.
Attach click handlers to respective elements .