From 69600667e6d2a9c98aae6d962d888d672a532b2e Mon Sep 17 00:00:00 2001 From: sedrubal Date: Sun, 30 Oct 2016 17:22:31 +0100 Subject: [PATCH] Fix typos in docs --- .../examples/themes-templating-responsive-design.html | 2 +- docs/_includes/options/core/options.html | 4 ++-- docs/_includes/options/data/ajax.html | 2 +- docs/_includes/options/data/array.html | 4 ++-- docs/_includes/options/events/internal.html | 4 ++-- docs/_includes/options/selections/placeholder.html | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/_includes/examples/themes-templating-responsive-design.html b/docs/_includes/examples/themes-templating-responsive-design.html index 15537f74..6c345095 100644 --- a/docs/_includes/examples/themes-templating-responsive-design.html +++ b/docs/_includes/examples/themes-templating-responsive-design.html @@ -97,7 +97,7 @@ $(".js-example-templating").select2({
Select2 will do its best to resolve the percent width specified via a - css class, but it is not always possible. The best way to ensure that + CSS class, but it is not always possible. The best way to ensure that Select2 is using a percent based width is to inline the style declaration into the tag.
diff --git a/docs/_includes/options/core/options.html b/docs/_includes/options/core/options.html index aaa2b112..5ff3f44d 100644 --- a/docs/_includes/options/core/options.html +++ b/docs/_includes/options/core/options.html @@ -36,7 +36,7 @@ $('select').select2({

When setting options globally, any past defaults that have been set will - be overriden. Default options are only used when an option is requested + be overridden. Default options are only used when an option is requested that has not been set during initialization.

@@ -77,4 +77,4 @@ $.fn.select2.defaults.set("ajax--cache", false); {% highlight js linenos %} $.fn.select2.defaults.reset(); {% endhighlight %} - \ No newline at end of file + diff --git a/docs/_includes/options/data/ajax.html b/docs/_includes/options/data/ajax.html index b23ec91e..d214b249 100644 --- a/docs/_includes/options/data/ajax.html +++ b/docs/_includes/options/data/ajax.html @@ -98,7 +98,7 @@ $('select').select2({

- By default, Select2 will send the query term as well as the pagination data as query parameters in requests. You can override the data that is sent to your API, or change any of the query paramters, by overriding the ajax.data option. + By default, Select2 will send the query term as well as the pagination data as query parameters in requests. You can override the data that is sent to your API, or change any of the query parameters, by overriding the ajax.data option.

{% highlight js linenos %} diff --git a/docs/_includes/options/data/array.html b/docs/_includes/options/data/array.html index b32c0080..f4d4d9e8 100644 --- a/docs/_includes/options/data/array.html +++ b/docs/_includes/options/data/array.html @@ -86,7 +86,7 @@ $('select').select2({ Because Select2 falls back to an <optgroup> when creating nested options, only a single level of nesting - is supported. Any additional levels of nesting is not guarenteed to be + is supported. Any additional levels of nesting is not guaranteed to be displayed properly across all browsers and devices.

@@ -147,4 +147,4 @@ var data = $.map(yourArrayData, function (obj) { return obj; }); {% endhighlight %} - \ No newline at end of file + diff --git a/docs/_includes/options/events/internal.html b/docs/_includes/options/events/internal.html index df49d5c9..219a4d02 100644 --- a/docs/_includes/options/events/internal.html +++ b/docs/_includes/options/events/internal.html @@ -4,6 +4,6 @@

- Select2 has an internal event system that works independently of the DOM event system. This internal event system is only accesssible from plugins and adapters that are connected to Select2. + Select2 has an internal event system that works independently of the DOM event system. This internal event system is only accessible from plugins and adapters that are connected to Select2.

- \ No newline at end of file + diff --git a/docs/_includes/options/selections/placeholder.html b/docs/_includes/options/selections/placeholder.html index 3dd5ef9c..4d3728da 100644 --- a/docs/_includes/options/selections/placeholder.html +++ b/docs/_includes/options/selections/placeholder.html @@ -18,7 +18,7 @@ $('select').select2({

- This usually means that you do not have a blank <option></option> as the first option in your <select>. + This usually means that you do not have a blank <option></option> as the first option in your <select>.

@@ -71,7 +71,7 @@ $('select').select2({ {% endhighlight %}

- When multiple selections are allowed, the placeholder will be displayed using the placeholder attribute on the search box. You can cusotmize the display of this placholder using CSS, as explained in the following Stack Overflow answer: Change an input's HTML5 placeholder color with CSS + When multiple selections are allowed, the placeholder will be displayed using the placeholder attribute on the search box. You can customize the display of this placeholder using CSS, as explained in the following Stack Overflow answer: Change an input's HTML5 placeholder color with CSS