cubiq/iscroll — pull request #205 by jtara (2012-05-03 07:49:20+00:00)
Title: Refactor to isolate calls to innerWidth/Height and clientWidth/Height

Refactored to isolate calls to innerWidth/Height and clientWidth/Height
clientWidth/Height in overridable functions. This permits override for
platforms like jQuery Mobile that hide page content prior to a page
transition. DOM dimension functions can't get the dimensions of hidden
content. Solutions like the jquery.actual plugin for jQuery can. So, by
overriding it's possible to construct an iScroller before the page is
shown, and avoid unwanted visual artifacts.