Fixed remaining loading sequence issues for global config tests

This commit is contained in:
Jake Boone 2012-01-28 11:31:03 -05:00
parent e37c7e9bf5
commit e6b685d017
6 changed files with 54 additions and 24 deletions

View file

@ -10,6 +10,10 @@
<title>jQuery Mobile Docs - Configuration</title> <title>jQuery Mobile Docs - Configuration</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../external/requirejs/require.js"></script>
<script src="../../js/jquery.js"></script>
<script> <script>
$(document).bind("mobileinit", function() { $(document).bind("mobileinit", function() {
if (!!window.navigator.standalone) { if (!!window.navigator.standalone) {
@ -17,10 +21,11 @@
} }
}); });
</script> </script>
<script>
require( {
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script> baseUrl: "../../js"
<script src="../../js/jquery.js"></script> }) ( [ "jquery.mobile.docs" ] )
</script>
</head> </head>
<body> <body>

View file

@ -6,15 +6,20 @@
<title>jQuery Mobile Docs - Configuration</title> <title>jQuery Mobile Docs - Configuration</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../external/requirejs/require.js"></script>
<script src="../../js/jquery.js"></script>
<script> <script>
$(document).bind("mobileinit", function(){ $(document).bind("mobileinit", function(){
$.mobile.loadingMessage = false; $.mobile.loadingMessage = false;
}); });
</script> </script>
<script>
require( {
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script> baseUrl: "../../js"
<script src="../../js/jquery.js"></script> }) ( [ "jquery.mobile.docs" ] )
</script>
</head> </head>
<body> <body>

View file

@ -6,15 +6,20 @@
<title>jQuery Mobile Docs - Configuration</title> <title>jQuery Mobile Docs - Configuration</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../external/requirejs/require.js"></script>
<script src="../../js/jquery.js"></script>
<script> <script>
$(document).bind("mobileinit", function(){ $(document).bind("mobileinit", function(){
$.mobile.minScrollBack = 999; $.mobile.minScrollBack = 999;
}); });
</script> </script>
<script>
require( {
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script> baseUrl: "../../js"
<script src="../../js/jquery.js"></script> }) ( [ "jquery.mobile.docs" ] )
</script>
</head> </head>
<body> <body>

View file

@ -6,15 +6,20 @@
<title>jQuery Mobile Docs - Configuration</title> <title>jQuery Mobile Docs - Configuration</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../external/requirejs/require.js"></script>
<script src="../../js/jquery.js"></script>
<script> <script>
$(document).bind("mobileinit", function(){ $(document).bind("mobileinit", function(){
$.mobile.pageLoadErrorMessage = 'Yikes, we broke the internet!'; $.mobile.pageLoadErrorMessage = 'Yikes, we broke the internet!';
}); });
</script> </script>
<script>
require( {
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script> baseUrl: "../../js"
<script src="../../js/jquery.js"></script> }) ( [ "jquery.mobile.docs" ] )
</script>
</head> </head>
<body> <body>

View file

@ -6,15 +6,20 @@
<title>jQuery Mobile Docs - Configuration</title> <title>jQuery Mobile Docs - Configuration</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../external/requirejs/require.js"></script>
<script src="../../js/jquery.js"></script>
<script> <script>
$(document).bind("mobileinit", function(){ $(document).bind("mobileinit", function(){
$.mobile.pushStateEnabled = false; $.mobile.pushStateEnabled = false;
}); });
</script> </script>
<script>
require( {
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script> baseUrl: "../../js"
<script src="../../js/jquery.js"></script> }) ( [ "jquery.mobile.docs" ] )
</script>
</head> </head>
<body> <body>

View file

@ -6,15 +6,20 @@
<title>jQuery Mobile Docs - Configuration</title> <title>jQuery Mobile Docs - Configuration</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../external/requirejs/require.js"></script>
<script src="../../js/jquery.js"></script>
<script> <script>
$(document).bind("mobileinit", function(){ $(document).bind("mobileinit", function(){
$.mobile.touchOverflowEnabled = true; $.mobile.touchOverflowEnabled = true;
}); });
</script> </script>
<script>
require( {
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script> baseUrl: "../../js"
<script src="../../js/jquery.js"></script> }) ( [ "jquery.mobile.docs" ] )
</script>
</head> </head>
<body> <body>