update buttonMarkup tests to amd

This commit is contained in:
John Bender 2011-12-20 22:43:25 -08:00
parent 1e4be460c2
commit 88c22906a4

View file

@ -5,10 +5,24 @@
<title>jQuery Mobile Button Markup Test Suite</title>
<!-- meta viewport left out on purpose for test append -->
<script src="../../../js/jquery.js"></script>
<script src="../../../js/"></script>
<script src="../jquery.setNameSpace.js"></script>
<script src="../../../external/qunit.js"></script>
<script src="../../jquery.testHelper.js"></script>
<script src="buttonMarkup_core.js"></script>
<script src="../../../external/require.js"></script>
<script>
$.testHelper.asyncLoad([
[
"jquery.mobile.buttonMarkup",
"jquery.mobile.controlGroup",
"jquery.mobile.fixHeaderFooter",
"jquery.mobile.forms.button",
],
[ "jquery.mobile.init" ],
[
"buttonMarkup_core"
]
]);
</script>
<link rel="stylesheet" href="../../../css/themes/default/" />
<link rel="stylesheet" href="../../../external/qunit.css"/>
@ -24,22 +38,22 @@
</ol>
<div data-nstest-role="page" id="default">
<div data-role="content" id="control-group-content">
<a href="index.html" data-role="button" data-shadow="false">No shadow</a>
<a href="index.html" data-role="button" data-corners="false">No corners</a>
<a href="index.html" data-role="button" data-shadow="false" data-corners="false">No shadow or corners</a>
<a href="index.html" data-role="button" data-icon="delete" data-iconshadow="false">No iconshadow</a>
<button data-shadow="false" data-corners="false" data-icon="delete" data-iconshadow="false">None of the above</button>
<svg id="embedded-svg" width="120" height="120" viewPort="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="100" height="100"/>
</svg>
</div>
<div data-role="footer" id="control-group-footer" class="ui-bar" data-position="inline">
<div data-role="controlgroup" data-type="horizontal">
<a href="index.html" data-icon="delete">Remove</a>
<a href="index.html" data-icon="plus">Add</a>
<a href="index.html" data-icon="arrow-u">Up</a>
<a href="index.html" data-icon="arrow-d">Down</a>
<div data-nstest-role="content" id="control-group-content">
<a href="index.html" data-nstest-role="button" data-nstest-shadow="false">No shadow</a>
<a href="index.html" data-nstest-role="button" data-nstest-corners="false">No corners</a>
<a href="index.html" data-nstest-role="button" data-nstest-shadow="false" data-nstest-corners="false">No shadow or corners</a>
<a href="index.html" data-nstest-role="button" data-nstest-icon="delete" data-nstest-iconshadow="false">No iconshadow</a>
<button data-nstest-shadow="false" data-nstest-corners="false" data-nstest-icon="delete" data-nstest-iconshadow="false">None of the above</button>
<svg id="embedded-svg" width="120" height="120" viewPort="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="100" height="100"/>
</svg>
</div>
<div data-nstest-role="footer" id="control-group-footer" class="ui-bar" data-nstest-position="inline">
<div data-nstest-role="controlgroup" data-nstest-type="horizontal">
<a href="index.html" data-nstest-icon="delete">Remove</a>
<a href="index.html" data-nstest-icon="plus">Add</a>
<a href="index.html" data-nstest-icon="arrow-u">Up</a>
<a href="index.html" data-nstest-icon="arrow-d">Down</a>
</div>
</div>
</div>