[cdap-597] http-sync dependency removed

I've updated PR. " // Do something with token" string is removed. 

----- Original Message -----

From: "John Jackson" <notifications@github.com> 
To: "caskdata/cdap-clients" <cdap-clients@noreply.github.com> 
Cc: "kpovetkin" <kpovetkin@cybervisiontech.com> 
Sent: Thursday, November 20, 2014 6:34:56 PM 
Subject: Re: [cdap-clients] [cdap-597] http-sync dependency removed (#66) 



In cdap-authentication-clients/javascript/Readme.md: 
> @@ -69,7 +69,8 @@ Optional configurations that can be set (and their default values):
>      });
>      manager.setConnectionInfo('localhost', 10000, false);
>  
> -    if (manager.isAuthEnabled()) {
> -        tokenInfo = manager.getToken();
> -    }
> +    var tokenPromise = authManager.getToken();
> +    tokenPromise.then(function (token) {
> +        //do something with token 


// Do something with token [such as?] 

— 
Reply to this email directly or view it on GitHub .