From 995a6ce3414b59d7541c41eb9085a0a473f79199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 23 Sep 2013 11:48:14 -0400 Subject: [PATCH 001/280] jQuery.widget: Started adding method examples. --- entries/jQuery.widget.xml | 64 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 61fbe232..6feac249 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -186,11 +186,27 @@ The _create() method is the widget's constructor. There are no parameters, but this.element and this.options are already set. + + Set the background color of the widget's element based on an option. + + The public destroy() method cleans up all common data, events, etc. and then delegates out to _destroy() for custom, widget-specific, cleanup. + + Remove a class from the widget's element when the wiget is destroyed. + + @@ -289,6 +305,12 @@ The number of milliseconds to wait before invoking the function. Defaults to 0. + + Call the _foo() method on the widget after 100 milliseconds. + + @@ -307,6 +329,12 @@ The element(s) to apply the focusable behavior to. + + Apply focusable styling to a set of elements within the widget. + + @@ -325,6 +353,23 @@ A hash of data associated with the event. + + Trigger a search event whenever a key is pressed. + + @@ -340,6 +385,15 @@ Callback to invoke after the element has been fully shown. + + Pass along the show option for custom animations. + + @@ -355,6 +409,16 @@ Callback to invoke after the element has been fully hidden. + + Pass along the hide option for custom animations. + + From 33fa3448011f180a78baa2f464bf2423206167ae Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Sat, 28 Sep 2013 14:58:26 -0400 Subject: [PATCH 002/280] jQuery.widget: Example for _getCreateEventData method. --- entries/jQuery.widget.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 6feac249..2331e8fe 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -212,6 +212,14 @@ _destroy: function() { All widgets trigger the create event. By default, no data is provided in the event, but this method can return an object which will be passed as the create event's data. + + Pass the widget's options create event handlers as an argument. + + From 99f466b922d63a95d42acef0b1179bb38cf21e1f Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Tue, 1 Oct 2013 19:18:06 +0300 Subject: [PATCH 003/280] jQuery.widget: Adding an example for _getCreateOptions() --- entries/jQuery.widget.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 2331e8fe..52d8a9cb 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -213,7 +213,7 @@ _destroy: function() { All widgets trigger the create event. By default, no data is provided in the event, but this method can return an object which will be passed as the create event's data. - Pass the widget's options create event handlers as an argument. + Pass the widget's options to create event handlers as an argument. + From 9daa400331d4285e5534a3405ef1c6ec20002971 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Tue, 1 Oct 2013 19:28:48 +0300 Subject: [PATCH 004/280] jQuery.widget: Add example for _hoverable() --- entries/jQuery.widget.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 52d8a9cb..963b4940 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -336,6 +336,12 @@ this._delay( this._foo, 100 ); The element(s) to apply the hoverable behavior to. + + Apply the ui-state-hover class to all <div>s within the element on hover. + + From 5cff6e47ce3fe71e79b4a2377b730ea75ea6d32c Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Wed, 2 Oct 2013 18:02:15 +0300 Subject: [PATCH 005/280] jQuery.widget: Adding the only logical example I can think of for _init(). --- entries/jQuery.widget.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 963b4940..33d50faa 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -240,6 +240,16 @@ _getCreateOptions: function() {

Note: Initialization should only be handled if there is a logical action to perform on successive calls to the widget with no arguments.

+ + Call the open() method if the autoOpen option is set. + +
@@ -337,7 +347,7 @@ this._delay( this._foo, 100 ); The element(s) to apply the hoverable behavior to. - Apply the ui-state-hover class to all <div>s within the element on hover. + Apply hoverable styling to all <div>s within the element on hover. From d9b092f0b455a2b8aea226253e62eccd85df1eae Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Thu, 3 Oct 2013 19:44:33 +0300 Subject: [PATCH 006/280] jQuery.widget: Adding an example for _setOptions(). --- entries/jQuery.widget.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 33d50faa..4e46088e 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -256,6 +256,26 @@ _init: function() { Called whenever the option() method is called, regardless of the form in which the option() method was called.

Overriding this is useful if you can defer processor-intensive changes for multiple option changes.

+ + Call a resize() method if the height or width options change. + + A map of option-value pairs to set. From 96ccdbd2e67855b26726d03b30daf1865c836d70 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Thu, 3 Oct 2013 19:52:58 +0300 Subject: [PATCH 007/280] jQuery.widget: Adding example for _setOption(). --- entries/jQuery.widget.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 4e46088e..1bc4ea75 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -290,6 +290,20 @@ _setOptions: function( options ) { A value to set for the option. + + Update a widget's element when its height or width option changes. + +
From 53007d126d76150a2e02aee9b7ebfe51a6a66b80 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Thu, 3 Oct 2013 22:29:50 +0300 Subject: [PATCH 008/280] jQuery.widget: Adding example for _on(). --- entries/jQuery.widget.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 1bc4ea75..fb372f73 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -325,6 +325,16 @@ _setOption: function( key, value ) { A map in which the string keys represent the event type and optional selector for delegation, and the values represent a handler function to be called for the event. + + Prevent the default action of all links clicked within the widget's element. + + From 7333b3098bb66d6e129e9b9ec3f0ebb59894e701 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Thu, 3 Oct 2013 23:07:26 +0300 Subject: [PATCH 009/280] jQuery.widget: Adding example for _off(). --- entries/jQuery.widget.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index fb372f73..c1ce4e60 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -348,6 +348,12 @@ this._on( this.element, { One or more space-separated event types. + + Unbind all click events from the widget's element. + + From 6817f59627d201f3347727f01cacb7a6ba9d8eb3 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Thu, 3 Oct 2013 23:22:31 +0300 Subject: [PATCH 010/280] jQuery.widget: Adding examples for _super() and _superApply(). --- entries/jQuery.widget.xml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index c1ce4e60..23d22a4a 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -265,7 +265,7 @@ _setOptions: function( options ) { $.each( options, function( key, value ) { that._setOption( key, value ); - if ( key == "height" || key == "width" ) { + if ( key === "height" || key === "width" ) { resize = true; } }); @@ -294,10 +294,10 @@ _setOptions: function( options ) { Update a widget's element when its height or width option changes. + @@ -367,6 +375,14 @@ this._off( this.element, "click" ); Array of arguments to pass to the parent method. + + Call the parent widget's _setOption() method. + + @@ -414,7 +430,7 @@ this._hoverable( this.element.find( "div" ) ); Apply focusable styling to a set of elements within the widget. From 8245cc795cdd66201f9fdb6b624998a22fd8410a Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Sun, 6 Oct 2013 22:15:20 +0300 Subject: [PATCH 011/280] jQuery.widget: Adding a code example for destroy(). --- entries/jQuery.widget.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 23d22a4a..104b25f2 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -176,7 +176,22 @@ - + + + Removes the functionality completely. This will return the element back to its pre-init state. + + + Destroy the widget when any of its anchors are clicked. + + + From 5d6024a22e63055a1ad7266ae757d0612a6633d1 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Sun, 6 Oct 2013 22:20:34 +0300 Subject: [PATCH 012/280] jQuery.widget: Change the _super() and _superApply() examples to do something other than the default behavior. --- entries/jQuery.widget.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 104b25f2..9a7e7144 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -375,10 +375,14 @@ this._off( this.element, "click" ); Invokes the method of the same name from the parent widget, with any specified arguments. Essentially .call(). - Call the parent widget's _setOption() method. + Handle the width option and call the parent widget's _setOption() method to handle all other options. @@ -391,10 +395,14 @@ _setOption: function( key, value ) { Array of arguments to pass to the parent method. - Call the parent widget's _setOption() method. + Handle the width option and call the parent widget's _setOption() method to handle all other options. From dfb2a85dcabf04f197eb8f8432398b7280a0cdaf Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Sun, 6 Oct 2013 22:28:39 +0300 Subject: [PATCH 013/280] jQuery.widget: Fix context of _hide() and _show() examples. --- entries/jQuery.widget.xml | 82 +++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 9a7e7144..459f2ff8 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -184,10 +184,10 @@ Destroy the widget when any of its anchors are clicked. @@ -275,19 +275,19 @@ _init: function() { Call a resize() method if the height or width options change. @@ -309,13 +309,13 @@ _setOptions: function( options ) { Update a widget's element when its height or width option changes. @@ -344,9 +344,9 @@ _setOption: function( key, value ) { Prevent the default action of all links clicked within the widget's element. @@ -378,11 +378,11 @@ this._off( this.element, "click" ); Handle the width option and call the parent widget's _setOption() method to handle all other options. @@ -398,11 +398,11 @@ _setOption: function( key, value ) { Handle the width option and call the parent widget's _setOption() method to handle all other options. @@ -511,8 +511,8 @@ this._on( this.element, { @@ -535,8 +535,8 @@ this._show( this.element, this.options.show, function() { From 7b373103b4cb3eafd98c45c220f9d3e9ec66ef1d Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Sun, 6 Oct 2013 22:43:38 +0300 Subject: [PATCH 014/280] jQuery.widget: Adding code examples for enable(), disable(), and widget(). --- entries/jQuery.widget.xml | 48 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 459f2ff8..2d08de87 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -192,10 +192,52 @@ this._on( this.element, { ]]> - - + + + Disables the . + + + Disable the widget when any of its anchors are clicked. + + + + + + Enables the . + + + Enable the widget when any of its anchors are clicked. + + + - + + + Returns a jQuery object containing the . + + + Place a red border around the widget's original element when it's created. + + + The _create() method is the widget's constructor. From 46143c2163dc7bd3ce403e45ee9b995ace7d1221 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Sun, 6 Oct 2013 22:58:40 +0300 Subject: [PATCH 015/280] jQuery.widget: Adding code examples for the various permutations of the option() method. --- entries/jQuery.widget.xml | 60 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 2d08de87..9dd7a311 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -224,7 +224,65 @@ this._on( this.element, { ]]> - + + + Sets one or more options for the . + + + Gets the value currently associated with the specified optionName. + + The name of the option to get. + + + Retrieve the value of the width option. + + + + + Gets an object containing key/value pairs representing the current options hash. + + Log the key and value of each of the widget's options for debugging. + + + + + Sets the value of the option associated with the specified optionName. + + The name of the option to set. + + + A value to set for the option. + + + Set the width option to 500. + + + + + Sets one or more options for the . + + A map of option-value pairs to set. + + + Set the height and width options to 500. + + + + Returns a jQuery object containing the . From 3139dbf276efe0c2db7a2081cef78b5d231a43ba Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Mon, 7 Oct 2013 10:42:52 -0400 Subject: [PATCH 016/280] jQuery.widget: Final updates to widget method examples. Fixes #76. --- entries/jQuery.widget.xml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 9dd7a311..95158576 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -475,14 +475,13 @@ this._off( this.element, "click" ); Invokes the method of the same name from the parent widget, with any specified arguments. Essentially .call(). - Handle the width option and call the parent widget's _setOption() method to handle all other options. + Handle title option updates and call the parent widget's _setOption() to update the internal storage of the option. @@ -495,14 +494,13 @@ _setOption: function( key, value ) { Array of arguments to pass to the parent method. - Handle the width option and call the parent widget's _setOption() method to handle all other options. + Handle title option updates and call the parent widget's _setOption() to update the internal storage of the option. @@ -636,7 +634,7 @@ this._show( this.element, this.options.show, function() { this._hide( this.element, this.options.hide, function() { // Remove the element from the DOM when it's fully hidden. - this.remove(); + $( this ).remove(); }); ]]> From ac9138253128d4e3827283569f57d98fe98454ed Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Wed, 9 Oct 2013 12:49:59 -0400 Subject: [PATCH 017/280] 1.10.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 491bc20d..6f64bb6a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "api.jqueryui.com", "title": "jQuery UI API Docs", "description": "API reference documentation for jQuery UI.", - "version": "1.10.4", + "version": "1.10.5", "homepage": "https://github.com/jquery/api.jqueryui.com", "author": { "name": "jQuery Foundation (http://jquery.org/)" From 806e5394664f19d24fcf1354360157515be285dc Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Fri, 11 Oct 2013 10:37:24 -0400 Subject: [PATCH 018/280] jQuery.widget: Documenting _super()'s optional string argument(s). Fixes #179. --- entries/jQuery.widget.xml | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 95158576..d6173d36 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -474,6 +474,11 @@ this._off( this.element, "click" ); Invokes the method of the same name from the parent widget, with any specified arguments. Essentially .call(). + + + Zero to many string arguments to pass to the parent widget's method. + + Handle title option updates and call the parent widget's _setOption() to update the internal storage of the option. Invokes the method of the same name from the parent widget, with any specified arguments. Essentially .call(). - + - Zero to many string arguments to pass to the parent widget's method. + Zero to many arguments to pass to the parent widget's method. From ee9939715cea1c4245d893dc391ddbe8488cc924 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Mon, 14 Oct 2013 08:44:36 -0400 Subject: [PATCH 020/280] Autocomplete: Wrong argument type for change, focus, and select events. Fixes #181. --- entries/autocomplete.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/entries/autocomplete.xml b/entries/autocomplete.xml index d0d60fa3..09f71ced 100644 --- a/entries/autocomplete.xml +++ b/entries/autocomplete.xml @@ -104,7 +104,7 @@ Triggered when the field is blurred, if the value has changed. - + The item selected from the menu, if any. Otherwise the property is null. @@ -122,7 +122,7 @@ - + The focused item. @@ -153,8 +153,8 @@ - - The selected item. + + An Object with label and value properties for the selected option. From a6989a47404d2f6f0828cd32788179f1d80ea901 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Wed, 23 Oct 2013 10:03:43 -0700 Subject: [PATCH 021/280] Upgrading grunt-jquery-content to 0.10.7. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1adb4f0f..ebae25c2 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "grunt": "0.3.17", "grunt-clean": "0.3.0", "grunt-wordpress": "1.0.7", - "grunt-jquery-content": "0.10.6", + "grunt-jquery-content": "0.10.7", "grunt-check-modules": "0.1.0" }, "devDependencies": {}, From eadec64ec0f25fa91fbfca8528e5d7b380fc8e3e Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Wed, 23 Oct 2013 10:04:02 -0700 Subject: [PATCH 022/280] 1.10.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ebae25c2..d59c22e1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "api.jqueryui.com", "title": "jQuery UI API Docs", "description": "API reference documentation for jQuery UI.", - "version": "1.10.5", + "version": "1.10.6", "homepage": "https://github.com/jquery/api.jqueryui.com", "author": { "name": "jQuery Foundation (http://jquery.org/)" From c44a59b8f2f0c2bda4280303ddbb75413c805cba Mon Sep 17 00:00:00 2001 From: Anne-Gaelle Colom Date: Mon, 4 Nov 2013 15:24:00 +0000 Subject: [PATCH 023/280] jQuery.widget: minor cleanup --- entries/jQuery.widget.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 4bba8aa5..ea6d748f 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -19,7 +19,7 @@

jQuery UI contains many widgets that maintain state and therefore have a slightly different usage pattern than typical jQuery plugins. All of jQuery UI's widgets use the same patterns, which is defined by the widget factory. So if you learn how to use one widget, then you'll know how to use all of them.

-

Note: This documentation shows examples using the progressbar widget but the syntax is the same for every widget.

+

Note: This documentation shows examples using the progressbar widget but the syntax is the same for every widget.

Initialization

@@ -113,11 +113,11 @@ $( "#elem" ).data( "ui-progressbar" );
-

Whether an element has a given widget bound to it can be determined using the :data selector.

+

Whether an element has a given widget bound to it can be determined using the :data selector.


 				$( "#elem" ).is( ":data( 'ui-progressbar' )" ); // true
-				$( "#elem" ).is( ":data( 'ui-draggable' )" ); //false
+				$( "#elem" ).is( ":data( 'ui-draggable' )" ); // false
 			

You can also use :data to get a list of all elements that are instances of a given widget.

@@ -150,7 +150,7 @@ version: The string version of the widget. For jQuery UI widgets this will be set to the version of jQuery UI the widget is using. Widget developers have to set this property in their prototype explicitly.
  • - widgetEventPrefix: The prefix prepended to the name of events fired from this widget. For example the widgetEventPrefix of the draggable widget is "drag", therefore when a draggable is created, the name of the event fired is "dragcreate". By default the widgetEventPrefix of a widget is its name. Note: This property is deprecated and will be removed in a later release. Event names will be changed to widgetName:eventName (e.g. "draggable:create". + widgetEventPrefix: The prefix prepended to the name of events fired from this widget. For example the widgetEventPrefix of the draggable widget is "drag", therefore when a draggable is created, the name of the event fired is "dragcreate". By default the widgetEventPrefix of a widget is its name. Note: This property is deprecated and will be removed in a later release. Event names will be changed to widgetName:eventName (e.g. "draggable:create".
  • widgetFullName: The full name of the widget including the namespace. For $.widget( "myNamespace.myWidget", {} ), widgetFullName will be "myNamespace-myWidget". From f1f6b9f3c5f2f426bfa1bff6d08f2431104dda25 Mon Sep 17 00:00:00 2001 From: Anne-Gaelle Colom Date: Mon, 4 Nov 2013 15:32:06 +0000 Subject: [PATCH 024/280] widget-theming: added missing trailing slash --- includes/widget-theming.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/widget-theming.xml b/includes/widget-theming.xml index 05491004..79812e92 100644 --- a/includes/widget-theming.xml +++ b/includes/widget-theming.xml @@ -2,5 +2,5 @@

    Theming

    -

    The widget uses the jQuery UI CSS framework to style its look and feel. If specific styling is needed, the following CSS class names can be used:

    +

    The widget uses the jQuery UI CSS framework to style its look and feel. If specific styling is needed, the following CSS class names can be used:

    From 7ed578a5264906e86cb5be0cb2537f1d77abc9d0 Mon Sep 17 00:00:00 2001 From: Anne-Gaelle Colom Date: Mon, 4 Nov 2013 15:48:20 +0000 Subject: [PATCH 025/280] various files: added the missing trailing slash in links, based on regexp search by Scott --- entries/autocomplete.xml | 2 +- entries/dialog.xml | 2 +- entries/removeUniqueId.xml | 2 +- entries/tabs.xml | 2 +- entries/tooltip.xml | 2 +- entries/uniqueId.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/entries/autocomplete.xml b/entries/autocomplete.xml index 09f71ced..8d6bbd18 100644 --- a/entries/autocomplete.xml +++ b/entries/autocomplete.xml @@ -63,7 +63,7 @@ The minimum number of characters a user must type before a search is performed. Zero is useful for local data with just a few items, but a higher value should be used when a single character search could match a few thousand items. diff --git a/entries/uniqueId.xml b/entries/uniqueId.xml index 3cf76c2f..7cd1e710 100644 --- a/entries/uniqueId.xml +++ b/entries/uniqueId.xml @@ -6,7 +6,7 @@ 1.9 -

    Many widgets need to generate unique ids for elements. .uniqueId() will check if the element has an id, and if not, it will generate one and set it on the element. It is safe to call .uniqueId() on an element without checking if it already has an id. If/when the widget needs to clean up after itself, the .removeUniqueId() method will remove the id from the element if it was added by .uniqueId() and leave the id alone if it was not. .removeUniqueId() is able to be smart about this because the generated ids have a prefix of "ui-id-".

    +

    Many widgets need to generate unique ids for elements. .uniqueId() will check if the element has an id, and if not, it will generate one and set it on the element. It is safe to call .uniqueId() on an element without checking if it already has an id. If/when the widget needs to clean up after itself, the .removeUniqueId() method will remove the id from the element if it was added by .uniqueId() and leave the id alone if it was not. .removeUniqueId() is able to be smart about this because the generated ids have a prefix of "ui-id-".

    From 1894f0421030a4338196551335630e1db998253f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 18 Nov 2013 13:58:26 -0500 Subject: [PATCH 026/280] Upgrade to grunt-jquery-content 0.10.8 and lint include files. --- grunt.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grunt.js b/grunt.js index 9f62f6d4..431baddd 100644 --- a/grunt.js +++ b/grunt.js @@ -19,7 +19,7 @@ grunt.initConfig({ tasks: "deploy" }, xmllint: { - all: [].concat( entryFiles, "categories.xml", "entries2html.xsl", "notes.xsl" ) + all: [].concat( entryFiles, grunt.file.expandFiles( "includes/**" ), "categories.xml", "entries2html.xsl", "notes.xsl" ) }, xmltidy: { all: [].concat( entryFiles, "categories.xml" ) diff --git a/package.json b/package.json index d59c22e1..fd2aa78f 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "grunt": "0.3.17", "grunt-clean": "0.3.0", "grunt-wordpress": "1.0.7", - "grunt-jquery-content": "0.10.7", + "grunt-jquery-content": "0.10.8", "grunt-check-modules": "0.1.0" }, "devDependencies": {}, From 85ad6ee3584c4fb1979b504bade4cf2386539b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 18 Nov 2013 14:00:50 -0500 Subject: [PATCH 027/280] cleanup --- grunt.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grunt.js b/grunt.js index 431baddd..26a9b080 100644 --- a/grunt.js +++ b/grunt.js @@ -19,7 +19,8 @@ grunt.initConfig({ tasks: "deploy" }, xmllint: { - all: [].concat( entryFiles, grunt.file.expandFiles( "includes/**" ), "categories.xml", "entries2html.xsl", "notes.xsl" ) + all: [].concat( entryFiles, grunt.file.expandFiles( "includes/**" ), + "categories.xml", "entries2html.xsl", "notes.xsl" ) }, xmltidy: { all: [].concat( entryFiles, "categories.xml" ) From 6d402ce294479ed48462d890d9e232f0daf4386c Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Fri, 22 Nov 2013 15:42:42 -0500 Subject: [PATCH 028/280] Dialog: "slow" isn't a valid value for the show option. "fade" is. --- entries/dialog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/dialog.xml b/entries/dialog.xml index 0935e2d7..313b77a7 100644 --- a/entries/dialog.xml +++ b/entries/dialog.xml @@ -190,7 +190,7 @@ If set to true, the dialog will be resizable. Requires the jQuery UI Resizable widget to be included. - - + - +