ensure defaultTransitionHandler is defined after the navigation has been loaded

This commit is contained in:
John Bender 2012-01-04 11:38:32 -08:00 committed by scottjehl
parent d347be825c
commit fe32fd5b17
2 changed files with 5 additions and 3 deletions

View file

@ -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 ) {

View file

@ -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 ) {