mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-17 12:51:00 +00:00
ensure defaultTransitionHandler is defined after the navigation has been loaded
This commit is contained in:
parent
d347be825c
commit
fe32fd5b17
2 changed files with 5 additions and 3 deletions
|
|
@ -7,8 +7,7 @@ define( [
|
|||
"jquery.mobile.core",
|
||||
"jquery.mobile.event",
|
||||
"jquery.mobile.hashchange",
|
||||
"jquery.mobile.page",
|
||||
"jquery.mobile.transition" ], function() {
|
||||
"jquery.mobile.page" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
( function( $, undefined ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,10 @@
|
|||
*/
|
||||
|
||||
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
||||
define( [ "jquery.mobile.core" ], function() {
|
||||
// TODO the dependency defined here for transitions is to make sure
|
||||
// that the defaultTransitionHandler is defined _after_ navigation has been defined
|
||||
// This requires a rework/rethinking
|
||||
define( [ "jquery.mobile.core", "order!jquery.mobile.navigation" ], function() {
|
||||
//>>excludeEnd("jqmBuildExclude");
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue