Skip to content
Permalink
Browse files

Spinner: Updates for new button widget and classes option

  • Loading branch information...
arschmitz committed Jan 8, 2015
1 parent 9f7f0a4 commit 16abde399daa07e11f3b972ab675d59374cf08be
@@ -5,18 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery UI Button - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/button.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
$( function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( ".widget input[type=submit], .widget a, .widget button" ).button();
$( "button, input, a" ).click( function( event ) {
event.preventDefault();
} );
} );
</script>
</head>
<body>
@@ -5,13 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery UI Button - Icons</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/button.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
$( function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( ".widget button" ).first()
.button()
.next().button( {
@@ -29,7 +25,6 @@
icon: "ui-icon-gear",
iconPosition: "bottom"
} );
} );
</script>
</head>
<body>
@@ -41,7 +36,6 @@ <h1>Widget</h1>
<button>Button with icon on the right</button>
<button>Button with icon on the top</button>
<button>Button with icon on the bottom</button>
<button>Button with icon on the top</button>
</div>
<div class="css">
<h1>CSS</h1>

This file was deleted.

This file was deleted.

@@ -4,17 +4,12 @@
<meta charset="utf-8">
<title>jQuery UI Checkboxradio - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/checkboxradio.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( "input" ).checkboxradio({
label: "foo"
});
});
</script>
</head>
<body>
@@ -4,17 +4,12 @@
<meta charset="utf-8">
<title>jQuery UI Checkboxradio - No Icons</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/checkboxradio.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( "input" ).checkboxradio({
icon: false
});
});
</script>
</head>
<body>
@@ -4,14 +4,9 @@
<meta charset="utf-8">
<title>jQuery UI Checkboxradio - Product Selector</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/checkboxradio.js"></script>
<script src="../../ui/controlgroup.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( "input" ).checkboxradio();
$( "[name='shape']").on( "change", function(){
$( ".shape" ).removeClass( "circle pill square rectangle" )
@@ -34,7 +29,6 @@
$( ".toggles" ).controlgroup({
direction: "vertical"
});
});
</script>
<style>
.shape {
@@ -4,17 +4,11 @@
<meta charset="utf-8">
<title>jQuery UI Checkboxradio - Radio Group</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/checkboxradio.js"></script>
<script src="../../ui/controlgroup.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( "input" ).checkboxradio();
$( "fieldset" ).controlgroup();
});
</script>
</head>
<body>
@@ -1,6 +1,6 @@
define( [
"lib/common",
"ui/button"
"ui/widgets/button"
], function( common ) {

common.testWidget( "button", {
@@ -1,5 +1,6 @@
define( [
"jquery",
"ui/safe-active-element",
"ui/widgets/button"
], function( $ ) {

@@ -1,6 +1,6 @@
define( [
"jquery",
"ui/button"
"ui/widgets/button"
], function( $ ) {

module( "Button (deprecated): core" );
@@ -1,6 +1,6 @@
define( [
"lib/common",
"ui/checkboxradio"
"ui/widgets/checkboxradio"
], function( common ) {

common.testWidget( "checkboxradio", {
@@ -1,6 +1,6 @@
define( [
"jquery",
"ui/checkboxradio"
"ui/widgets/checkboxradio"
], function( $ ) {

module( "Checkboxradio: core" );

0 comments on commit 16abde3

Please sign in to comment.
You can’t perform that action at this time.