-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Refactor: Transition dependencies
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
.
function removeActiveLinkClass( forceRemoval )
https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L275
$.fn.animationComplete
, the animation complete callback
https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L284
Transition-related class-setting code between L501 and L530, including the pageChangeComplete() call.
See https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L500
https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L563
https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L566