wp/wp-includes/js/jquery/ui/controlgroup.js
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     1 /*!
     1 /*!
     2  * jQuery UI Controlgroup 1.13.1
     2  * jQuery UI Controlgroup 1.13.3
     3  * http://jqueryui.com
     3  * https://jqueryui.com
     4  *
     4  *
     5  * Copyright jQuery Foundation and other contributors
     5  * Copyright OpenJS Foundation and other contributors
     6  * Released under the MIT license.
     6  * Released under the MIT license.
     7  * http://jquery.org/license
     7  * https://jquery.org/license
     8  */
     8  */
     9 
     9 
    10 //>>label: Controlgroup
    10 //>>label: Controlgroup
    11 //>>group: Widgets
    11 //>>group: Widgets
    12 //>>description: Visually groups form control widgets
    12 //>>description: Visually groups form control widgets
    13 //>>docs: http://api.jqueryui.com/controlgroup/
    13 //>>docs: https://api.jqueryui.com/controlgroup/
    14 //>>demos: http://jqueryui.com/controlgroup/
    14 //>>demos: https://jqueryui.com/controlgroup/
    15 //>>css.structure: ../../themes/base/core.css
    15 //>>css.structure: ../../themes/base/core.css
    16 //>>css.structure: ../../themes/base/controlgroup.css
    16 //>>css.structure: ../../themes/base/controlgroup.css
    17 //>>css.theme: ../../themes/base/theme.css
    17 //>>css.theme: ../../themes/base/theme.css
    18 
    18 
    19 ( function( factory ) {
    19 ( function( factory ) {
    22 	if ( typeof define === "function" && define.amd ) {
    22 	if ( typeof define === "function" && define.amd ) {
    23 
    23 
    24 		// AMD. Register as an anonymous module.
    24 		// AMD. Register as an anonymous module.
    25 		define( [
    25 		define( [
    26 			"jquery",
    26 			"jquery",
    27 			"./core"
    27 			"../widget"
    28 		], factory );
    28 		], factory );
    29 	} else {
    29 	} else {
    30 
    30 
    31 		// Browser globals
    31 		// Browser globals
    32 		factory( jQuery );
    32 		factory( jQuery );
    35 "use strict";
    35 "use strict";
    36 
    36 
    37 var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;
    37 var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;
    38 
    38 
    39 return $.widget( "ui.controlgroup", {
    39 return $.widget( "ui.controlgroup", {
    40 	version: "1.13.1",
    40 	version: "1.13.3",
    41 	defaultElement: "<div>",
    41 	defaultElement: "<div>",
    42 	options: {
    42 	options: {
    43 		direction: "horizontal",
    43 		direction: "horizontal",
    44 		disabled: null,
    44 		disabled: null,
    45 		onlyVisible: true,
    45 		onlyVisible: true,