mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-28 03:30:27 +00:00
update dialog tests to use amd
This commit is contained in:
parent
a8aa89c470
commit
c50b33f89f
1 changed files with 16 additions and 5 deletions
|
|
@ -13,15 +13,26 @@
|
|||
});
|
||||
</script>
|
||||
<script src="../jquery.setNameSpace.js"></script>
|
||||
<script src="../../../js/"></script>
|
||||
<script src="../../../tests/jquery.testHelper.js"></script>
|
||||
<script src="../../jquery.testHelper.js"></script>
|
||||
<script src="../../../external/qunit.js"></script>
|
||||
<script src="../../../external/require.js"></script>
|
||||
<script>
|
||||
$.testHelper.asyncLoad([
|
||||
[
|
||||
"jquery.mobile.dialog",
|
||||
"jquery.mobile.page",
|
||||
"jquery.mobile.page.sections"
|
||||
],
|
||||
[ "jquery.mobile.init" ],
|
||||
[
|
||||
"dialog_events"
|
||||
]
|
||||
]);
|
||||
</script>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../css/themes/default/"/>
|
||||
<link rel="stylesheet" href="../../../external/qunit.css"/>
|
||||
<script src="../../../external/qunit.js"></script>
|
||||
|
||||
<script src="dialog_events.js"></script>
|
||||
|
||||
<script src="../swarminject.js"></script>
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Reference in a new issue