wp/wp-includes/js/jquery/ui/progressbar.js
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
     1 /*!
     1 /*!
     2  * jQuery UI Progressbar 1.12.1
     2  * jQuery UI Progressbar 1.13.1
     3  * http://jqueryui.com
     3  * http://jqueryui.com
     4  *
     4  *
     5  * Copyright jQuery Foundation and other contributors
     5  * Copyright jQuery Foundation and other contributors
     6  * Released under the MIT license.
     6  * Released under the MIT license.
     7  * http://jquery.org/license
     7  * http://jquery.org/license
     8  */
     8  */
     9 
     9 
    10 //>>label: Progressbar
    10 //>>label: Progressbar
    11 //>>group: Widgets
    11 //>>group: Widgets
    12 // jscs:disable maximumLineLength
    12 /* eslint-disable max-len */
    13 //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators.
    13 //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators.
    14 // jscs:enable maximumLineLength
    14 /* eslint-enable max-len */
    15 //>>docs: http://api.jqueryui.com/progressbar/
    15 //>>docs: http://api.jqueryui.com/progressbar/
    16 //>>demos: http://jqueryui.com/progressbar/
    16 //>>demos: http://jqueryui.com/progressbar/
    17 //>>css.structure: ../../themes/base/core.css
    17 //>>css.structure: ../../themes/base/core.css
    18 //>>css.structure: ../../themes/base/progressbar.css
    18 //>>css.structure: ../../themes/base/progressbar.css
    19 //>>css.theme: ../../themes/base/theme.css
    19 //>>css.theme: ../../themes/base/theme.css
    20 
    20 
    21 ( function( factory ) {
    21 ( function( factory ) {
       
    22 	"use strict";
       
    23 
    22 	if ( typeof define === "function" && define.amd ) {
    24 	if ( typeof define === "function" && define.amd ) {
    23 
    25 
    24 		// AMD. Register as an anonymous module.
    26 		// AMD. Register as an anonymous module.
    25 		define( [
    27 		define( [
    26 			"jquery",
    28 			"jquery",
    29 	} else {
    31 	} else {
    30 
    32 
    31 		// Browser globals
    33 		// Browser globals
    32 		factory( jQuery );
    34 		factory( jQuery );
    33 	}
    35 	}
    34 }( function( $ ) {
    36 } )( function( $ ) {
       
    37 "use strict";
    35 
    38 
    36 return $.widget( "ui.progressbar", {
    39 return $.widget( "ui.progressbar", {
    37 	version: "1.12.1",
    40 	version: "1.13.1",
    38 	options: {
    41 	options: {
    39 		classes: {
    42 		classes: {
    40 			"ui-progressbar": "ui-corner-all",
    43 			"ui-progressbar": "ui-corner-all",
    41 			"ui-progressbar-value": "ui-corner-left",
    44 			"ui-progressbar-value": "ui-corner-left",
    42 			"ui-progressbar-complete": "ui-corner-right"
    45 			"ui-progressbar-complete": "ui-corner-right"
   172 			this._trigger( "complete" );
   175 			this._trigger( "complete" );
   173 		}
   176 		}
   174 	}
   177 	}
   175 } );
   178 } );
   176 
   179 
   177 } ) );
   180 } );