From e9455e1a846ce0230ef5889a47aa67bb47a32238 Mon Sep 17 00:00:00 2001 From: Eric Dahl Date: Sat, 10 Jan 2015 12:39:53 -0800 Subject: [PATCH] Docs: typos --- docs/announcements-4.0.html | 2 +- docs/examples.html | 2 +- docs/index.html | 2 +- docs/options.html | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/announcements-4.0.html b/docs/announcements-4.0.html index 2bd6a34a..1c9dffab 100644 --- a/docs/announcements-4.0.html +++ b/docs/announcements-4.0.html @@ -312,7 +312,7 @@ $("select").select2({

When working with array and AJAX data in the past, Select2 allowed a custom 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();

Select2 supports displaying the messages in different languages, as well - as provding your own + as providing your own custom messages that can be displayed.

diff --git a/docs/index.html b/docs/index.html index 230f3fd5..ecaa637b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -81,7 +81,7 @@ slug: home
  • - Initialize Select2 on the >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
     
         

    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.

    @@ -683,7 +683,7 @@ ajax: { adapters. You can change almost anything involving the way Select2 works to the way Select2 interacts with the page by modifying the core adapters. Most third-party plugins should provide decorators (used to wrap adapters) - and custom adpaters that you can use. + and custom adapters that you can use.

    @@ -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.