akurni/cinemascrape — pull request #1 by azureru (2012-11-14 18:41:11+00:00)
Title: Change the theater process to be a sequential process

Movie is called in parallel to the theater. So it can disturb the sequence of `main page` and `hoam` ajax process.

If main-page and hoam ajax is not disturbed by movie-call, the app will work. But if it disturbed by movie-call, we will get 404. (Movie fetch is async, sometimes it finish first, sometimes it can have a slight delay, so this explain the intermittent 404 behaviour)

The fix is to make sure we fetch movie, and then fetch movie-schedule and then hoam ajax. So strictly sequential.

Guess it's time to refactor the 1000-ish line of code?