From 0369086113e74fcb2862635d2bb18fa7a359e005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Tue, 24 Feb 2015 15:44:28 +0100 Subject: [PATCH 1/2] Entries: Use "properties" when referring to individual options Removes some ambiguity since we also "setting" as a verb. Fixes #247 --- entries/accordion.xml | 2 +- entries/datepicker.xml | 18 +++++++++--------- entries/effect.xml | 2 +- entries/hide.xml | 2 +- entries/jQuery.widget.xml | 6 +++--- entries/show.xml | 2 +- entries/tabs.xml | 4 ++-- entries/toggle.xml | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/entries/accordion.xml b/entries/accordion.xml index b4c107eb..adcecd07 100644 --- a/entries/accordion.xml +++ b/entries/accordion.xml @@ -78,7 +78,7 @@ Name of easing to use with default duration. - Animation settings with easing and duration properties. + easing and duration properties to configure animations.
  • Can also contain a down property with any of the above options.
  • "Down" animations occur when the panel being activated has a lower index than the currently active panel.
  • diff --git a/entries/datepicker.xml b/entries/datepicker.xml index d819cf55..6e7513d5 100644 --- a/entries/datepicker.xml +++ b/entries/datepicker.xml @@ -27,9 +27,9 @@

    Utility functions

    -

    $.datepicker.setDefaults( settings )

    -

    Change the default settings for all date pickers.

    -

    Use the option() method to change settings for individual instances.

    +

    $.datepicker.setDefaults( options )

    +

    Change the default options for all date pickers.

    +

    Use the option() method to change options for individual instances.

    Code examples:

    Set all date pickers to open on focus or a click on an icon.

    @@ -47,7 +47,7 @@
    -

    $.datepicker.formatDate( format, date, settings )

    +

    $.datepicker.formatDate( format, date, options )

    Format a date into a string value with a specified format.

    The format can be combinations of the following:

      @@ -101,7 +101,7 @@ -

      $.datepicker.parseDate( format, value, settings )

      +

      $.datepicker.parseDate( format, value, options )

      Extract a date from a string value with a specified format.

      The format can be combinations of the following:

        @@ -175,7 +175,7 @@

        Localization

        -

        Datepicker provides support for localizing its content to cater for different languages and date formats. Each localization is contained within its own file with the language code appended to the name, e.g., jquery.ui.datepicker-fr.js for French. The desired localization file should be included after the main datepicker code. Each localization file adds its settings to the set of available localizations and automatically applies them as defaults for all instances. Localization files can be found at https://github.com/jquery/jquery-ui/tree/master/ui/i18n.

        +

        Datepicker provides support for localizing its content to cater for different languages and date formats. Each localization is contained within its own file with the language code appended to the name, e.g., jquery.ui.datepicker-fr.js for French. The desired localization file should be included after the main datepicker code. Each localization file adds its options to the set of available localizations and automatically applies them as defaults for all instances. Localization files can be found at https://github.com/jquery/jquery-ui/tree/master/ui/i18n.

        The $.datepicker.regional attribute holds an array of localizations, indexed by language code, with "" referring to the default (English). Each entry is an object with the following attributes: closeText, prevText, nextText, currentText, monthNames, monthNamesShort, dayNames, dayNamesShort, dayNamesMin, weekHeader, dateFormat, firstDay, isRTL, showMonthAfterYear, and yearSuffix.

        You can restore the default localizations with:

        $.datepicker.setDefaults( $.datepicker.regional[ "" ] ); @@ -405,7 +405,7 @@ When the datepicker should appear. The datepicker can appear when the field receives focus ("focus"), when a button is clicked ("button"), or when either event occurs ("both").