« first day (2131 days earlier)      last day (3042 days later) » 

00:05
@thepiercingarrow back your dotfiles up to github or something..
@littlepootis I know, I should have :(
Just in case
Next time you're using a *nix,
cd ~ && touch -nope-
prevents you from accidentally rming
what?
what does that do?
A -nope- file prevents rm from deleting that dir?
yes, doesn't really work when you're deleting recursively though
oh noes! :(
@thepiercingarrow Also, don't use rm.
like.. never
write something called trash that moves to a folder called ~/.trash.
And alias rm=trash
Anonymous
@littlepootis can you evaluate my lib github.com/nicematt/nice-ajax if not, thanks anyway
Really?
oh good idea actually
lemme do it now
And empty that when you need space
trash() {
    mkdir -p $HOME/.Trash
    mv $1 $HOME/.Trash
}

alias rm="trash"
@littlepootis is that good?
00:17
What if you want to delete multiple files?
Umm
wait one sec..
btw @little do you use rlemon's chat theme?
its pretty good
@thepiercingarrow I tried it
Didn't like it?
nope. Dark isn't my thing.
k, here it is:
trash() {
    mkdir -p $HOME/.Trash
    mv $* $HOME/.Trash
}

alias rm="trash"
good?
00:20
Instead of hardcoding the path, you can save it a env variable. And skip mkdir.
What?
oh I see. why not mkdir?
What if I clear my trash with rm -rf ~/.Trash ? Then next time I rm, it will make it again.
wait shoot - I can't clear my trash, because it just moves it right back into the trash! do I have to /bin/rm or something?
write another function that cleans trash
@thepiercingarrow or /usr/bin/env rm
posted on August 15, 2016

Originally, I wasn’t going to respond but I’ve got a soft spot in my heart for startup founders. If you don’t mind, here’s some unsolicited advice on recruiting: When I’m looking for a job, I have three big questions in mind: Will I have autonomy to do the best job I can? Can I explore new areas instead of doing the same job over and over again? Will the pay & total compensation

alias rm="trash"

trash() {
    local path="$HOME/.Trash"
    mkdir -p $path
	for file in $@; do
    	echo "Removing: $file"
    	mv $file $path
	done
}

emptytrash() {
	local path="$HOME/.Trash"
	for file in $path; do
    	echo "Emptying: $file"
		/usr/bin/env rm $file
    done
}
@littlepootis better?
Why local vars? That's still hardcoding. Using env variables makes it more portable.
Look - its just for myself
its going in a .bashrc, not a package I'm distributing to others :P
Okay, so what?
test if TRASH variable is set, before setting it to my own?
nah, just export TRASH_PATH somewhere. And forget about local vars.
And reference $TRASH_PATH when you need it.
You can skip for loop in emptytrash() and recursively delete everything in $TRASH_PATH.
I've got to go :)
00:47
Bye @littlepootis !
 
2 hours later…
03:08
@SekharanNatarajan Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
1 message moved to Trash can
@SekharanNatarajan Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
1 message moved to Trash can
@SekharanNatarajan Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
hi all
I wanna ask a fool question......
Can I use array[id] to store outerHeight() instead of using .each()??
Thanks.
03:29
`document.getElementById("hfimage").src = "servlet/ValServlet1?"`

The image from the servlet (Response content type : image/png) is getting loaded into the image tag. Is there any way I can capture the response? as I want to analyse the headers.
03:49
Do you want to do that to study network request or do you want to do it in JavaScript?
04:26
I want to do it on javascript, thanks.
@learn_PHP Sorry I don't get your question... at all. Storing value in an array is quite different from .each, which is an iterate operation.
04:51
that moment when friends are organizing an online hackathon for your birthday
So the question is can I use for loop to loop out $("").length, and using variable to store its outerHeight()??
@learn_PHP The technical answer is yes. Though I don't understand why would you need a loop to get $('').length, a single property. Also you can store outerHeight() in a variable, but that stored value will not self-update like outerHeight. Hope that answers your questions.
05:16
Hi I need to validate a input box enter using regular expression as whether it is in the following format
@Priyadarshni Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
45 minutes
05:26
tfw someone posts multiple answers to the same question, they all suck, but you can't downvote them because vote reversal
05:36
@BoltClock thanks for the idea, I'll try that
@Priyadarshni html 5 input pattern
hi
one question I am facing issues with carousel if i put it inside a column 6 in bootstrap
Jes
Jes
Hi folks
good morning
i am trying to load a page inside a modal
i am using slick but its not taking the proper width
Jes
Jes
external page
$('#reg_link').click(function(e) {
    e.preventDefault();
    $('#register').load('register.php');
});
is not working
any error that i am doing
<div id="register"></div>
05:43
@Jes Youtube javascript debug
@Jes Sanity check: Does reg_link exist before the code runs? Try alert $('#reg_link').length
MORNIN ALL
Jes
Jes
@Sheepy i have put a alert inside the script and it works onclick
!!welcome Jes
@Jes Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@Sheepy So, last week I vaccinated my baby.. and she got lump on her leg.. like babycenter.com/…
I figured that the doctor sux.. she's so noob that I want to sue her for so being stewpid..
05:49
@sheepy, I need the regular expression pattern.
@choz Oh, poor... we have decided to get the average vaccines but skip the low risks ones for when our future son is older.
Its due on this October right?
Yes! :D
@Priyadarshni Ok. What pattern do you want the data to meet? Regular expression is very specific - as specific as code - so you can't say I want phone number. You need to say what characters at what positions and how many.
Jes
Jes
@Sheepy the length is returned
@Jes Assuming no error in js console, check network debugger to confirm register.php is returned correctly. If you don't know what I am talking about, youtube javascript ajax debug.
05:53
@Sheepy Btw it happened after the 2nd time of vaccine which is called as DTP.. cdc.gov/vaccines/hcp/vis/vis-statements/dtap.html
Make sure your boy wont get the lump..
@choz Hmm. That's one of the free vaccines offered free by our health care. Not sure which type it'll be...
@Sheepy How is it free? It's so damn expensive here..
Hong Kong government is pretty rich. I also get free Wyneth Materna pills until the child is born. :)
We are so rich that every single policeman on the street carries a gun, and all police vans has heavier guns.
@Sheepy, I want like, If i enter 45 minutes or 120 minutes into a texbox then it is valid data. suppose if it is 20 hours or 10 seconds then they should not be valid.
@Priyadarshni <input pattern="\d+ minutes?"/>
@Priyadarshni <input pattern="\d+ minutes?" required/> <!-- if must be non-empty -->
06:06
Oh yeah the ups and downs of validating html inputs. Just get an already existing library
Well, HTML5 form is good enough for most of our clients. Come with free message localisations from the browser.
@Sheepy, thank you I will check with the expression you have provided.
@Sheepy Thank you for your suggestion. :)
Cheers~
Jes
Jes
any help for me with modal popup please
still stuck with it
06:19
@Jes You mean the ajax load code?
06:36
hmm, I have a consider about how can I get image height using $this? For example, I useda for loop to check $("img_list").length and loop element's length, then how to use $this store the outerHeight to value and return it finally ?
06:47
@learn_PHP $( this ).data
@Sheepy it return undefined...
Can anyone explain me the answer of these? stackoverflow.com/a/38892438/6395838
var divCount = $(this).data('divcount');
I don't know where these 'divcount' is.
@learn_PHP It's a jQuery function. api.jquery.com/data
Is it a variable?
@Zange-chan It is a function. The data is stored by jQuery somewhere safe.
06:56
I want to count the <br> instead of <div>
If your case, the divcount data is assigned by el.data('divcount', newDivCount);
They're just the same?
@Sheepy I thought you were not from HK.. :(
@Zange-chan el.data('divcount', newDivCount) ask jQuery to store newDivCount in el's data storage with the key 'divcount'
@Zange-chan And el.data('divcount') will retrieve the stored data
I get it, a bit. So how can I count <br>'s instead of <div>
07:00
@choz Well, it is where I am living now :)
You said like, 5 words and start with C..
@Zange-chan Change newDivCount to count br instead of div.
so i figured like,, Czech..
Or Chille
On the next line, I remove the .not(), and changed .children('div') to .children('br')
:P
07:01
Just that?.
Chille is six letters :/
Oh true..
Its Chile.. typo :)
@Zange-chan I don't know your specific requirements, so that's the best advise I can give. To me that's a pretty long code for counting elements...
Man, the amount of ads on sourceforge is crazier than most news sites
@choz Yeah. I was talking China. Because at that time I was talking about how when their baby goods have defects, they come to Hong Kong to buy our goods...
07:04
Ofc i noticed :P.. was just teasing it..
Im originally from there, but i dont speak its language
@OliverSalzburg Just install AdBlock and be glad that they no longer bundle their ultimate, super convenience SourceForge installer with every exe you download...
@Sheepy Just getting some piece of information. Thanks. I'm a bit new in jQuery that's why. :v
Also, you are free to answer my question from the link I shared. :)
Thanks for the offer. But lunchtime is up >.<
@Sheepy Got it, cheers
Finally I need to find a method to fix this issue :) such as below stackoverflow.com/questions/35150409/…
HI peoples, am new to angular and need a good step to start me with a angular project
please help me guiding one
i have a bootstrap template and need to start a project with angular js What all methods shud i equip with?
Should i use any seed for angular?
Plz help me am in a pathetic situation
07:17
@Sheepy Ah, I lost my complete Chrome profile recently. Seems like I didn't install it again
@OliverSalzburg I use Firefox. Which can sync my tabs, profile, and addons. :D
@Sheepy Chrome can sync as well. And it gladly synced the broken profile everywhere
Ow.
And I don't even understand how that shit happened. I clicked a link in Thunderbird in a regular Amazon email and it would pop open a box "Chrome is busy, do you want to restart it?" even though it was working just fine. So I clicked Yes and all my Chrome windows disappeared and I got 1 fresh new one with my empty profile
I think it had to do with some ancient Canary installation on my system and Thunderbird thinking it had to start that instead of using the standard way of opening a link
So, that's how you get ads
07:34
Anybody
?
I have 2 functions with a jQuery ajax call in each of them.Both of these functions are called at same time.The Ajax requests also often complete at same time (3.64 s with a difference of 2 sometimes i.e 3.64 s & 3.66 s).. strange thing is happening here that the data return variable of the success call back over writes the data var of the ajax fired earlier.
any ideas please?
something related to closure??
@OliverSalzburg I don't think Thunderbird is clever enough to pick a profile for you... that sounds like a Chrome message.
@Sheepy Yeah, I think it started the wrong Chrome binary
@techie_28 I get the 2 ajax part. I don't get the strange thing part.
@OliverSalzburg Ah. Yes that sounds likely...
@techie_28 Some source would help
07:42
hello guys
I dont have much JS experience

how would one create something like a hashset in java?
I'd like to use a postal to get a number
var a = myData["CZ"] // a = 123
@sheepy the return variable in 2nd ajax call success: function(data){...} is overwriting the same of the 1st ajax call
lets assume i have the following variables

var postals = {"DE","CZ","ES"};
var data = {0, 123, 50};

How would i create a hashset from this
my JS variable initialziation might contain errors because i am a beginner
Sorry for that

I wasn't able to find a solution in the internet
@techie_28 Guess we need some source code to confirm what you want to do and what is wrong.
@OliverSalzburg its like this
http://pastebin.com/2xAwV5fd
i know how to create HashSets

var myHashset = {"DE":0,"CZ":123};

but i do not know how to do it from 2 seperate arrays
07:45
these 2 functions are just being called on document.ready
@techie_28 And it appears that you get the values for data in the wrong success handler?
@JonasDralle That is not valid javascript
@OliverSalzburg yes
@Sheepy what is not?
@techie_28 {0,123,50}
@techie_28 Calling is not a problem. Ajax, by itself, does not return any value however, so you must be doing something as ajax callback and that should be where the problem is.
@techie_28 That's weird. I can't imagine why that would happen
07:48
@Sheepy yea you're rigth
the above JS might be very wrong
I am sorry for having to ask this dumb
@JonasDralle Indeed. If you run var postals = {"DE","CZ","ES"}; you would get SyntaxError.
i need []
var postal = ["DE", "CZ"];
var data = [0,123];

how would i turn this into

var foo = {"DE":0, "CZ":123};
@JonasDralle var postals = ["DE","CZ","ES"], data = [0,123,50], hashset = postals.reduce( (p,v,i)=>(p[v]=data[i],p) , {} );
@Sheepy thank you
I will try it immediately
@JonasDralle @Sheepy @OliverSalzburg return was not there originally I put it there because I was testing this via jQuery Promises. i.e when(..).done(..)
07:52
how is this witchcraft called?
is that jQuery?
Hah!
Priceless
@JonasDralle It's Vanilla JS. Plain EcmaScript 2015, no additives. :)
@Sheepy sounds great
07:54
@Sheepy is that invalid just due to return statement?
how can I contact a moderator if a guy that i have downvoted downvoted all my answers?
@elsololobo Serial downvoting is automatically detected by the system
Im just assigning the data received as a response param in success handler to the chart code in each call back
You can also raise a flag on one of your answers and give a custom reason
Is serial upvoting also auto-blocked?
because i once met a very nice guy who really put himself into helping me
07:56
@techie_28 If you mean my code, it should runs in latest version of major browsers and Node. But most free IDE and non-browser runtime don't support it yet.
@OliverSalzburg so I will get my rep again?
wasn't able to fix my weird problem but I upvoted his stuff anyway
@JonasDralle The system works in magical ways, but I'm not aware of any serial-upvoting being automatically reveresed
@Sheepy I was actually trying to figure why the data of later is replacing the earlier one
@OliverSalzburg sounds good
07:57
hi
@elsololobo Yes. If it doesn't return to normal within 48h, do the flag raising thing
hi @user2314737
Or bug @MadaraUchiha about it ;D
only that
@OliverSalzburg okay thanks :)
07:58
@techie_28 Ah sorry I didn't see your pastebin
I just edited the Documentation for round() stackoverflow.com/documentation/proposed/changes/85218 and it seems it's wrong on MDN -- they say "the argument is rounded to the integer with the next higher absolute value" developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…
@techie_28 They both set donutOptions, which is not in the closure.
yes it is a object in a global scope
it is actually common properties of the charts
And data too?
08:02
data is not in global scope it is just in success : function(data) for each of them
Good. So it's only donutOptions. Is that what got overwritten or is it something else?
@Sheepy yes the 'onClick' index gets overwritten for each of the chart & data also gets an index 'midNum' for each i.e data['midNum'] = midNum;
data is received as JSON and is consumed by the chart in the success handler
is that possible anyways.. that return variable of 2 jQuery ajax call is being duplicated over each other?
Try change both
donutOptions['onClick'] = function(clickObj){
to
var donutOptions = Object.extend( window.donutOptions ); // Copy global option to new object
donutOptions.onClick = function(clickObj){
@techie_28 My guess is it's the charts that are sharing, instead of extending / copying the options, so that the assignments will overwrite each other.
If I add feeds to a room, the room will never freeze right?
@Sheepy Ive monitored the responses in Chrome Developer Tools & both are same which should not. However if I call the 2nd ajax function after 1st one completes its working all fine.
08:14
@techie_28 As in, you checked them in the Network panel and they are identical?
@techie_28 JavaScript is single thread so only the order should matter. I have no idea why midNum would overwrite, though. I'd log the data to confirm whether it's a server problem or js problem.
@OliverSalzburg yes, but that is not the case when I call the 2nd function after 1st call completes.
If the server responses are identical, then it's probably not an issue with your success handler
Did you check if the requests are possibly identical as well ;D
And, well, could also be a server-side issue
08:22
@OliverSalzburg if it was a server side issue it would have came with the same response when called on completion of the 1st request
and yes request params are different everytime
Who knows what kind of weird programming is going on on the backend
@techie_28 Sounds like you checked server respond already. Have you tried other browsers?
@OliverSalzburg yes I understand but the request param are same regardless of call being made consecutively or after the completion of 1st.
@Sheepy yes I have.
more code added here
http://pastebin.com/6zTK7cnU
@techie_28 So what? If you wait between requests, you get the desired responses. If you don't, you don't get the desired responses. I don't see why that could not be a backend issue. Especially when you've already monitored the responses yourself
Maybe the backend is asynchronously pulling data from a database and they're not handling the responses correctly
@techie_28 Sorry I have to stop here. Limited free time :(
08:28
@Sheepy thanks.. :)
@OliverSalzburg I believe they have written code on what request params they are getting which differs in both the cases you can see report=externalUserEnablement & report=externalLoginAccess is there
so could it be a backend issue still?
@OliverSalzburg I will ask them once more but doesnt seem so?
I saw the code once its having if/else conditions according to the report param they recieve
I don't know what you want me to tell you. You're sending them differing requests, they're providing identical responses
Right-click the requests, copy as cURL
@techie_28 Don't read code. Read result. If the server respond is different but you still get overwritten result, you know it is JS issue.
Then recreate the situation in the shell
@OliverSalzburg @Sheepy I understand but Im saying if this was the case then the response should have been identical as well when the 2nd function is called via 1st's success call back.. requests are same in both the cases
@techie_28 No. Because then you're serializing instead of running the actions in parallel. The latter of which seems to be the cause of the problem, unless I completely missed the point so far
Is the backend written in PHP?
08:42
abc();pqr(); // response is identical,requests for both is different

abc(.... :success:function(){pqr();}) //// response is different/correct,requests for both is different.

should nt response be identical for the 2nd case here as well if this was the backend issue? no it is in Java
No
You're assuming the backend code is 100% perfect. In which case, yes, both ways should result in the same outcome. The problem is, the backend code isn't 100% perfect
Try the following. Instead of running each of your functions once after another. Do the same 10 times in a for loop
Then check the responses in the network panel
@Sheepy I want to inform you that .reduce() worked like a charm
@JonasDralle Glad to know :)
Hey, guys, how can I sort by from the most recently added item to a list, in AngularJS?

<option ng-repeat="p in currentPhases | orderBy smth">{{ p.Name}}</option>
08:50
@techie_28 If I order two same dishes from a restaurant, one with less salt and one with normal salt, a lazy (bugged) chef may cook them together resulting in the same dish. If I make the second order only after the first is cooked, the chef must cook a new dish.
@JoãoPaiva Add the time as a member of the phases, then sort by it
Or don't sort it at all, because it should already be in the order they were added to the array
09:26
@Sheepy I ran the breakpoint debugger on the server side code & it is causing a time difference between requests which is leading to correct datasets
hard to debug here
@techie_28 Yes. But Java multithread is so much more free than JS. :p
At least that narrows the issue down to server side. With an important debug lesson.
Chromes favicon handling is really a major PITA. Favicon does not show up, you check the Network panel, the request isn't listed, a known bug from 2012, fixed in 2015, regressed probably minutes later. You clear the cache, problem persists, clearing the cache does not clear the favicon cache (wtf?)
@OliverSalzburg Guess they copied that from IE.
09:36
You have to manually go into your user data folder and delete that Favicons container
@Sheepy Sounds plausible
@Sheepy would you say that 2 consecutive ajax requests which complete at the same time & getting the same response data is a server side problem?
all ok from the client side?
@techie_28 Well, you did expect the response to be different, don't you? If source data is incorrect, it can be really hard to tell check the UI, so got to get that right first.
@Sheepy yes and it does happen when there is difference between the ajax calls..using a debugger provides that difference & data set response appear correct for both.. but as soon as I remove the debugger the problem is there
I cant conclude if this necessarily is a server side problem
user6171080
Good morning/afternoon/evening!
09:45
@Alessandro Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@techie_28 I think we have asked this many times, does the server respond differs with and without breakpoints? Do you know how to check that?
I said yes it does
Ok. Then yes it is server problem.
because breakpoints do provide the delay between ajax requests.
1 message moved to Trash can
@Alessandro Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
user6171080
09:46
I'm trying to validate file extension
cant it be JS closure or something on client side?
@techie_28 JavaScript can only work with data that the server provides. If server gives same data when called in parallel, JS can only follows.
1 message moved to Trash can
@Alessandro Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
means they cant get mixed up anyhow?
user6171080
var extn = filename.split(".").pop();
var validFormats = ['mp3', 'wav'];
if validFormats.indexOf(extn) {
	...
}
09:48
I mean the response data of 2 ajax calls?
@techie_28 I mean, if server gives the same numbers, JS can only be same numbers, right?
user6171080
Is there anything wrong with my code? I'm trying to validate the file extension on upload
Hello guys, I have a doubt. Javascript works in chrome using V8, V8 is written in C++ so did Javascript internally converted into C++.
@techie_28 If you want to confirm it, hard code java side to return different numbers on nanoTime.
09:49
hi guys
@AwalGarg node 6.3.1 does not support spread syntax
@techie_28 When you see server gives you different numbers and still see same numbers after JS, you can confirm JS has error. You can't do that as long as server gives you same numbers. Data flow.
I managed to solve on what I wanted. :)
http://stackoverflow.com/a/38971651/6395838
@techie_28 Instead of using breakpoints, just log the request-result pair
@Sheepy Thanks for the knowledge earlier. :)
09:52
@Victor Sure it does
@Zange-chan You know I didn't help much :)
/devel/node-todo/bin/http-api/modules/UserStatus.js:27
                    ...output,
                    ^^^
SyntaxError: Unexpected token ...
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:513:28)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
@Sheepy A small knowledge is a big help for me mate. :)
If you mind up voting it. :)
output = {
  ...output,
  present: true,
};
09:54
@BenFortune then why does this happen?
@Victor I think that's syntactically wrong..
why would it be?
@choz Nope
it's not, look at this babeljs.io/repl/…
You're assigning variable to output, while you're spreading the same variable..
09:59
@choz yeah to extend it
Is it the same like,
var a = {
   ...a,
   present: true;
}
it's perfectly correct
nu
Oh..
Got it..
because I am saying
var a = { testKey: 'val' };
a = {
   ...a,
   test2: 'val',
};
10:01
Hello guys, I have a doubt. Javascript works in chrome using V8, V8 is written in C++ so did Javascript internally converted into C++.
@Joshna it's the second time you post this message. you should read the V8 documentation
Yes But I want to know how Javascript compiles in chrome
@Joshna then read the v8 documentation, just told you. I don't know the internal details, so I cannot help you.however the answer to your question can be very very long, so this is the best thing to do
Thank you Victor
@Joshna No
Transpiling JS to C++ and then compiling it would be ridiculous and pointless
10:08
@OliverSalzburg Then what V8 does
@Joshna It compiles JS into machine code
That's an almost direct quote from Wikipedia actually :P
The V8 JavaScript Engine is an open source JavaScript engine developed by The Chromium Project for the Google Chrome web browser. It has since seen use in many other projects, such as Couchbase, MongoDB and Node.js that are used server side. As of 2012, the head programmer is Lars Bak. The first version of the V8 engine was released at the same time as the first version of Chrome, September 2, 2008. V8 compiles JavaScript to native machine code (IA-32, x86-64, ARM, or MIPS ISAs; has also been ported to PowerPC and IBM s390 for use in servers) before executing it, instead of more traditional...
To be clear on the distinction, source code is written in C++ or JS, machine code is written in x86 or ARM
V8? Pf it's allbout ChakraCore today
So it means C++ helping Javascript to compile to native machine code.
Yes, that is the perfect summary of what was just outlined
10:26
hi
@WeirdNerd okay
Could anybody please provide me the link to the sandbox room where i can play with the bot ?
10:34
!!tell WeirdNerd sandbox
@WeirdNerd Please go and play in the Sandbox
Thanks !
hi, can some tell me how to resume code after oauth refreshToken in angularjs
@Talhamansoor Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Here is link for question still waiting for answer
http://stackoverflow.com/questions/38874156/how-to-run-code-after-getting-success-true-in-http-request-in-deferred-resolve-a

« first day (2131 days earlier)      last day (3042 days later) »