Skip to content

Commit d51570e

Browse files
committed
Merge pull request select2#3041 from minddust/fix-typos
Fix typos
2 parents 05f5a1b + a5532ee commit d51570e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/announcements-4.0.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1>Select2 4.0.0</h1>
3434
</p>
3535

3636
<p>
37-
This release contains many breaking changes, but easy-upgrade pathes have
37+
This release contains many breaking changes, but easy-upgrade paths have
3838
been created as well as helper modules that will allow for backwards
3939
compatibility to be maintained with past versions of Select2. Upgrading
4040
<em>will</em> require you to read the release notes carefully, but the
@@ -273,7 +273,7 @@ <h2 id="value-ordering">Display reflects the actual order of the values</h2>
273273
<p>
274274
In past versions of Select2, choices were displayed in the order that
275275
they were selected. In cases where Select2 was used on a
276-
<code>&lt;select&gt;</code> element, the order that the server recieved
276+
<code>&lt;select&gt;</code> element, the order that the server received
277277
the selections did not always match the order that the choices were
278278
displayed, resulting in confusion in situations where the order is
279279
important.
@@ -392,7 +392,7 @@ <h3 id="query-to-data-adapter">
392392

393393
<p>
394394
<a href="http://select2.github.io/select2/#data">In the past</a>, any time
395-
you wanted to hook Select2 up to a diferent data source you would be
395+
you wanted to hook Select2 up to a different data source you would be
396396
required to implement custom <code>query</code> and
397397
<code>initSelection</code> methods. This allowed Select2 to determine the
398398
initial selection and the list of results to display, and it would handle

docs/options.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h2 id="amd">
115115
<a href="announcements-4.0.html#amd-builds">viewing the 4.0 release notes</a>.
116116
Select2 automatically loads some modules when the adapters are being
117117
automatically constructed, so those who are using Select2 with a custom
118-
AMD build using their own system will need to specify the pathes that are
118+
AMD build using their own system will need to specify the paths that are
119119
generated to the Select2 modules.
120120
</p>
121121

@@ -353,7 +353,7 @@ <h3 id="width">
353353
<tr>
354354
<td>Anything else</td>
355355
<td>
356-
The value of the <code>width</code> option is diretly set as the width of the container.
356+
The value of the <code>width</code> option is directly set as the width of the container.
357357
</td>
358358
</tr>
359359
</tbody>
@@ -455,7 +455,7 @@ <h4 id="templateSelection">
455455
<p>
456456
When an option is displayed after it has been selected, it is passed
457457
through a formatting function that determines what is displayed. By
458-
default, the function only retuns the <code>text</code> key of the data
458+
default, the function only returns the <code>text</code> key of the data
459459
object.
460460
</p>
461461

@@ -501,7 +501,7 @@ <h4 id="templateResult">
501501
<p>
502502
When an option is displayed after it has been selected, it is passed
503503
through a formatting function that determines what is displayed. By
504-
default, the function only retuns the <code>text</code> key of the data
504+
default, the function only returns the <code>text</code> key of the data
505505
object.
506506
</p>
507507

@@ -867,7 +867,7 @@ <h2 id="dropdownParent">
867867
displaying the dropdown below the container. Select2 will display above
868868
the container if there is not enough space below the container, but there
869869
is enough space above it. You are also not limited to displaying the
870-
drodown within the parent container, which means Select2 will render
870+
dropdown within the parent container, which means Select2 will render
871871
correctly inside of modals and other small containers.
872872
</p>
873873

0 commit comments

Comments
 (0)