h5bp/mobile-boilerplate — pull request #87 by voidfiles (2012-01-02 20:01:43+00:00)
Title: Tried to make hide url functionality more usefull

I have been working on a project where we have paired mbp with jquery-pjax. There are lots of modifications we have made to the base that are specific to our needs, but I thought this one could be useful to others.

Basically there are times when a user does a page load where we know it would be cool to re-hide the url bar. Also, while the initial behavior is acceptable(move to 1, check if it's interpreted as 0) on the first page load, if you do that every time the user does a page transition it can look like a bug. So, if you cache the value you can alleviate the need to re-check that every time.

I tried to be conscience of style, and tone but I might have missed something in the code it's self. Not sure if this is the best place to make a comment like this as well, so feel free to let me know if I should bring this up somewhere else.