Skip to content

Commit 038c709

Browse files
committed
Adjusted some wording
1 parent 21bac6a commit 038c709

6 files changed

Lines changed: 13 additions & 12 deletions

File tree

docs/_includes/examples/matcher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section>
22

3-
<h1 id="matcher">Custom matcher</h1>
3+
<h1 id="matcher">Customizing how results are matched</h1>
44

55
<p>
66
Unlike other dropdowns on this page, this one matches options only if

docs/_includes/examples/programmatic-control.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h1 id="programmatic-control" class="page-header">
44
Programmatic control
55
</h1>
66

7-
<h2 id="events">Events</h2>
7+
<h2 id="events">DOM events</h2>
88

99
<p>
1010
Select2 will trigger some events on the original select element,
@@ -138,8 +138,8 @@ <h2 id="programmatic">Programmatic access</h2>
138138
<pre data-fill-from=".js-code-programmatic"></pre>
139139

140140
<script type="text/javascript" class="js-code-programmatic">
141-
var $example = $(".js-example-programmatic");
142-
var $exampleMulti = $(".js-example-programmatic-multi");
141+
var $example = $(".js-example-programmatic").select2();
142+
var $exampleMulti = $(".js-example-programmatic-multi").select2();
143143

144144
$(".js-programmatic-set-val").on("click", function () { $example.val("CA").trigger("change"); });
145145

docs/_includes/nav/examples.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<a href="#programmatic-control">Programmatic control</a>
4444
<ul class="nav">
4545
<li>
46-
<a href="#events">Events</a>
46+
<a href="#events">DOM events</a>
4747
</li>
4848
<li>
4949
<a href="#programmatic">Programmatic access</a>
@@ -57,7 +57,7 @@
5757
<a href="#tokenizer">Automatic tokenization</a>
5858
</li>
5959
<li>
60-
<a href="#matcher">Custom matcher</a>
60+
<a href="#matcher">Customizing how results are matched</a>
6161
</li>
6262
<li>
6363
<a href="#localization-rtl-diacritics">Localization, RTL and diacritics support</a>

docs/_includes/nav/options.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<ul class="nav">
66
<li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li>
77
<li><a href="#amd">AMD compatibility</a></li>
8-
<li><a href="#core-options-display">Display</a></li>
9-
<li><a href="#core-options-results">Results</a></li>
8+
<li><a href="#core-options-display">Displaying selections</a></li>
9+
<li><a href="#core-options-results">Returning and displaying results</a></li>
1010
</ul>
1111
</li>
1212
<li>
@@ -27,12 +27,13 @@
2727
</ul>
2828
</li>
2929
<li>
30-
<a href="#adapters">Adapters</a>
30+
<a href="#adapters">The plugin system (adapters)</a>
3131
<ul class="nav">
3232
<li><a href="#adapters-all">All adapters</a></li>
3333
<li><a href="#selectionAdapter">Container (selection)</a></li>
3434
<li><a href="#dataAdapter">Data set</a></li>
3535
<li><a href="#dropdownAdapter">Dropdown</a></li>
36+
<li><a href="#resultsAdapter">Results</a></li>
3637
</ul>
3738
</li>
3839
<li>

docs/_includes/options/core-options.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ <h2 id="amd">
140140
</div>
141141

142142
<h2 id="core-options-display">
143-
Display
143+
Displaying selections
144144
</h2>
145145

146146
<p>
@@ -524,7 +524,7 @@ <h4 id="templateResult">
524524
</p>
525525

526526
<h2 id="core-options-results">
527-
Results
527+
Returning and displaying results
528528
</h2>
529529

530530
<p>

docs/community.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ <h1>Getting involved</h1>
145145
</div>
146146

147147
<p>
148-
You can find more information on triaging tickets in the
148+
You can find more information on getting involved with Select2 in the
149149
<a href="https://github.com/select2/select2/blob/master/CONTRIBUTING.md#triaging-issues-and-pull-requests">
150150
contributing guide.
151151
</a>

0 commit comments

Comments
 (0)