aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-09 11:47:06 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-10-08 14:02:35 -0400
commita8fa502853822f7442e3cbc9a66dc3d9e5a44ee1 (patch)
tree1eccb77b4b88a48514dcb7dba0056ddcdfee5d09
parent16abde399daa07e11f3b972ab675d59374cf08be (diff)
downloadjquery-ui-a8fa502853822f7442e3cbc9a66dc3d9e5a44ee1.tar.gz
jquery-ui-a8fa502853822f7442e3cbc9a66dc3d9e5a44ee1.zip
Checkboxxradio: Adjust demo headers
-rw-r--r--demos/checkboxradio/product-selector.html2
-rw-r--r--demos/checkboxradio/radiogroup.html2
-rw-r--r--ui/widgets/checkboxradio.js13
3 files changed, 12 insertions, 5 deletions
diff --git a/demos/checkboxradio/product-selector.html b/demos/checkboxradio/product-selector.html
index 4e6db4507..e8be051dd 100644
--- a/demos/checkboxradio/product-selector.html
+++ b/demos/checkboxradio/product-selector.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../themes/base/all.css">
<link rel="stylesheet" href="../demos.css">
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="controlgroup">
$( "input" ).checkboxradio();
$( "[name='shape']").on( "change", function(){
$( ".shape" ).removeClass( "circle pill square rectangle" )
diff --git a/demos/checkboxradio/radiogroup.html b/demos/checkboxradio/radiogroup.html
index bfca290b0..a8f808c11 100644
--- a/demos/checkboxradio/radiogroup.html
+++ b/demos/checkboxradio/radiogroup.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../themes/base/all.css">
<link rel="stylesheet" href="../demos.css">
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="controlgroup">
$( "input" ).checkboxradio();
$( "fieldset" ).controlgroup();
</script>
diff --git a/ui/widgets/checkboxradio.js b/ui/widgets/checkboxradio.js
index 781274b9b..58b637581 100644
--- a/ui/widgets/checkboxradio.js
+++ b/ui/widgets/checkboxradio.js
@@ -2,12 +2,19 @@
* jQuery UI Checkboxradio @VERSION
* http://jqueryui.com
*
- * Copyright 2014 jQuery Foundation and other contributors
+ * Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
- *
- * http://api.jqueryui.com/checkboxradio/
*/
+
+//>>label: Checkboxradio
+//>>group: Widgets
+//>>description: Enhances a form with multiple themeable checkboxes or radio buttons.
+//>>docs: http://api.jqueryui.com/checkboxradio/
+//>>demos: http://jqueryui.com/checkboxradio/
+//>>css.structure: ../themes/base/core.css, ../themes/base/button.css, ../themes/base/checkboxradio.css
+//>>css.theme: ../themes/base/theme.css
+
( function( factory ) {
if ( typeof define === "function" && define.amd ) {