Refactor: Transition dependencies

StevenBlack edited this page Apr 22, 2011 · 8 revisions

List of potential Transition dependencies and gotchas

Assumption is, if we remove transitions out of changePage(), what could bite?


Array, queue to hold simultanious page transitions, referenced in two areas of changePage()


Boolean, indicates whether or not page is in process of transitioning, referenced in two areas of function changePage(), always in close conjunction with $.mobile.urlHistory.pageTransitionQueue.

Potential to gather and extract some of the internal utility functions

function removeActiveLinkClass( forceRemoval )

$.fn.animationComplete, the animation complete callback

Transition-related class-setting code between L501 and L530, including the pageChangeComplete() call.


defaultTransition() call, L563

transitionPages() calls buried in the if(){...} else {...} that starts on line 566