diff options
-rw-r--r-- | demos/checkboxradio/product-selector.html | 2 | ||||
-rw-r--r-- | demos/checkboxradio/radiogroup.html | 2 | ||||
-rw-r--r-- | ui/widgets/checkboxradio.js | 13 |
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 ) { |