Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Edgar J. Su's Profile

GitHub User: edgarjs

Site: http://edgarjs.mx

Comments by Edgar J. Su

Avatar

I'm unsure how the set document title works. Because you're doing an ajax call and it's the same ajax response which sets the title, however you're getting the title in the next line for the pushState function... how do you ensure that your ajax call returns BEFORE you ask for the title? Does $.getScript isn't async?

Great screencast!