Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Sequence tests: Move from asyncLoad to including all of jQM -…

… REVERT this commit to test why there is a JS error otherwise". Fixes #5364.

This reverts commit d74133c.
  • Loading branch information...
commit 246883c3dc37674f189a715eb1854e8b3e50b03b 1 parent c955af6
@gabrielschulhof gabrielschulhof authored
Showing with 21 additions and 6 deletions.
  1. +21 −6 tests/unit/navigation/sequence-tests/sequence-tests.html
View
27 tests/unit/navigation/sequence-tests/sequence-tests.html
@@ -4,21 +4,36 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Mobile Sequence Test Suite</title>
-
+ <script src="../../../../external/requirejs/require.js"></script>
<script src="../../../../js/jquery.tag.inserter.js"></script>
- <script src="../../jquery.setNameSpace.js"></script>
- <script src="../../../../tests/jquery.testHelper.js"></script>
<script>
$(document).bind('mobileinit',function(){
// Expect content to inherit this theme when not explicitly set
$.mobile.page.prototype.options.contentTheme = "d";
});
</script>
- <script src="../../../../js/"></script>
+ <script src="../../jquery.setNameSpace.js"></script>
+ <script src="../../../jquery.testHelper.js"></script>
+ <script src="../../../../external/qunit.js"></script>
+ <script>
+ $.testHelper.asyncLoad([
+ [
+ "widgets/dialog",
+ "widgets/page",
+ "widgets/page.sections",
+ "widgets/popup"
+ ],
+ [ "jquery.mobile.init" ],
+ [
+ "sequence_tests.js"
+ ]
+ ], "../../../../js");
+ </script>
+
+
<link rel="stylesheet" href="../../../../css/themes/default/jquery.mobile.css"/>
<link rel="stylesheet" href="../../../../external/qunit.css"/>
- <script src="../../../../external/qunit.js"></script>
- <script src="sequence_tests.js"></script>
+
<script src="../../swarminject.js"></script>
</head>
<body>
Please sign in to comment.
Something went wrong with that request. Please try again.