From e9455e1a846ce0230ef5889a47aa67bb47a32238 Mon Sep 17 00:00:00 2001
From: Eric Dahl
When working with array and AJAX data in the past, Select2 allowed a
custom
Select2 supports displaying the messages in different languages, as well
- as provding your own
+ as providing your own
custom messages
that can be displayed.
Select2 will automatically apply decorators to any adapters which have not
- been manually overriden. The only time you need to decorate adapters is
+ been manually overridden. The only time you need to decorate adapters is
when you are using third-party adapters not provided by Select2, or you
are using features not provided in the Select2 core. You can apply a
decorator to an adapter using the
@@ -570,7 +570,7 @@ ajax: {
- Select2 can place the dropdown directly after the selection cotainer, so
+ Select2 can place the dropdown directly after the selection container, so
it will appear in the same location within the DOM as the rest of Select2.
id
function or attribute to be set in various places,
- ranging from the initializion of Select2 to when the remote data was being
+ ranging from the initialization of Select2 to when the remote data was being
returned. This allowed Select2 to better integrate with existing data
sources that did not necessarily use the id
attribute to
indicate the unique identifier for an object.
diff --git a/docs/examples.html b/docs/examples.html
index d6c5d265..41aa1e3d 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -622,7 +622,7 @@ $(".js-example-diacritics").select2();
>select<
element that you
+ Initialize Select2 on the <select>
element that you
want to make awesome.
diff --git a/docs/options.html b/docs/options.html
index 543ba2f0..560d4095 100644
--- a/docs/options.html
+++ b/docs/options.html
@@ -20,7 +20,7 @@ slug: options
@@ -813,7 +813,7 @@ SelectionAdapter.update = function (data) { }; // what options within the results are selected. // // @param callback A function that should be called when the current selection -// has been retrieved. The first paramter to the function should be an array +// has been retrieved. The first parameter to the function should be an array // of data objects. DataAdapter.current = function (callback) { callback(currentData); @@ -867,7 +867,7 @@ DataAdapter.query = function (params, callback) { The results adapter controls the list of results that the user can select from. While the results adapter does not define any additional methods that must be implemented, it makes extensive use of the Select2 event - system for cotrolling the display of results and messages. + system for controlling the display of results and messages.