diff --git a/docs/announcements-4.0.html b/docs/announcements-4.0.html index 9db7ae0e..c6fbf79b 100644 --- a/docs/announcements-4.0.html +++ b/docs/announcements-4.0.html @@ -34,7 +34,7 @@ slug: announcements-4.0

- This release contains many breaking changes, but easy-upgrade pathes have + This release contains many breaking changes, but easy-upgrade paths have been created as well as helper modules that will allow for backwards compatibility to be maintained with past versions of Select2. Upgrading will require you to read the release notes carefully, but the @@ -273,7 +273,7 @@ $("select").select2({

In past versions of Select2, choices were displayed in the order that they were selected. In cases where Select2 was used on a - <select> element, the order that the server recieved + <select> element, the order that the server received the selections did not always match the order that the choices were displayed, resulting in confusion in situations where the order is important. @@ -392,7 +392,7 @@ function (ArrayData, Utils) {

In the past, any time - you wanted to hook Select2 up to a diferent data source you would be + you wanted to hook Select2 up to a different data source you would be required to implement custom query and initSelection methods. This allowed Select2 to determine the initial selection and the list of results to display, and it would handle diff --git a/docs/options.html b/docs/options.html index 230773d8..242fc71b 100644 --- a/docs/options.html +++ b/docs/options.html @@ -115,7 +115,7 @@ $("select").select2({ viewing the 4.0 release notes. Select2 automatically loads some modules when the adapters are being automatically constructed, so those who are using Select2 with a custom - AMD build using their own system will need to specify the pathes that are + AMD build using their own system will need to specify the paths that are generated to the Select2 modules.

@@ -353,7 +353,7 @@ placeholder: { Anything else - The value of the width option is diretly set as the width of the container. + The value of the width option is directly set as the width of the container. @@ -455,7 +455,7 @@ language: {

When an option is displayed after it has been selected, it is passed through a formatting function that determines what is displayed. By - default, the function only retuns the text key of the data + default, the function only returns the text key of the data object.

@@ -501,7 +501,7 @@ language: {

When an option is displayed after it has been selected, it is passed through a formatting function that determines what is displayed. By - default, the function only retuns the text key of the data + default, the function only returns the text key of the data object.

@@ -867,7 +867,7 @@ matcher: function (params, data) { displaying the dropdown below the container. Select2 will display above the container if there is not enough space below the container, but there is enough space above it. You are also not limited to displaying the - drodown within the parent container, which means Select2 will render + dropdown within the parent container, which means Select2 will render correctly inside of modals and other small containers.