Skip to content

Commit 13f9310

Browse files
committed
Spinner: Added Themeswitcher to visual testpage
1 parent aa59bdf commit 13f9310

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/visual/spinner/spinner.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@
1010
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
1111
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
1212
<script type="text/javascript" src="../../../ui/jquery.ui.spinner.js"></script>
13+
<script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
1314
<script type="text/javascript">
1415
$(function() {
16+
$.fn.themeswitcher && $('<div/>').css({
17+
position: "absolute",
18+
right: 10,
19+
top: 10
20+
}).appendTo(document.body).themeswitcher();
21+
1522
$('#spinner').spinner({
1623
start: function(event, ui) {
1724
console.log(event.type, ui.value, $(this).spinner("value"));

0 commit comments

Comments
 (0)