mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Fixed loading sequence
This commit is contained in:
parent
c000625372
commit
02c45dfe19
2 changed files with 24 additions and 18 deletions
|
|
@ -6,15 +6,19 @@
|
|||
<title>jQuery Mobile Docs - Configuration</title>
|
||||
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
|
||||
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
|
||||
<script>
|
||||
$(document).bind("mobileinit", function(){
|
||||
$.mobile.defaultDialogTransition = 'flip';
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script>
|
||||
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../../js/jquery.js"></script>
|
||||
<script>
|
||||
$(document).bind("mobileinit", function(){
|
||||
$.mobile.defaultDialogTransition = 'flip';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
require( {
|
||||
baseUrl: "../../js"
|
||||
}) ( [ "jquery.mobile.docs" ] )
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,17 +6,19 @@
|
|||
<title>jQuery Mobile Docs - Configuration</title>
|
||||
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
|
||||
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
|
||||
<script src="../_assets/js/jqm-docs.js"></script><!-- Moving the docs JS up here because it was overriding with my override -->
|
||||
|
||||
<script>
|
||||
$(document).bind("mobileinit", function(){
|
||||
$.mobile.defaultPageTransition = 'fade';
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<script data-main="../../js/jquery.mobile.js" src="../../external/requirejs/require.js"></script>
|
||||
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../../js/jquery.js"></script>
|
||||
<script>
|
||||
$(document).bind("mobileinit", function(){
|
||||
$.mobile.defaultPageTransition = 'fade';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
require( {
|
||||
baseUrl: "../../js"
|
||||
}) ( [ "jquery.mobile.docs" ] )
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue