Bladeren bron

Adjusted some wording

Kevin Brown 10 jaren geleden
bovenliggende
commit
038c709c8b

+ 1 - 1
docs/_includes/examples/matcher.html

@@ -1,6 +1,6 @@
 <section>
 
-  <h1 id="matcher">Custom matcher</h1>
+  <h1 id="matcher">Customizing how results are matched</h1>
 
   <p>
     Unlike other dropdowns on this page, this one matches options only if

+ 3 - 3
docs/_includes/examples/programmatic-control.html

@@ -4,7 +4,7 @@
     Programmatic control
   </h1>
 
-  <h2 id="events">Events</h2>
+  <h2 id="events">DOM events</h2>
 
   <p>
     Select2 will trigger some events on the original select element,
@@ -138,8 +138,8 @@ function log (name, evt) {
   <pre data-fill-from=".js-code-programmatic"></pre>
 
 <script type="text/javascript" class="js-code-programmatic">
-var $example = $(".js-example-programmatic");
-var $exampleMulti = $(".js-example-programmatic-multi");
+var $example = $(".js-example-programmatic").select2();
+var $exampleMulti = $(".js-example-programmatic-multi").select2();
 
 $(".js-programmatic-set-val").on("click", function () { $example.val("CA").trigger("change"); });
 

+ 2 - 2
docs/_includes/nav/examples.html

@@ -43,7 +43,7 @@
       <a href="#programmatic-control">Programmatic control</a>
       <ul class="nav">
         <li>
-          <a href="#events">Events</a>
+          <a href="#events">DOM events</a>
         </li>
         <li>
           <a href="#programmatic">Programmatic access</a>
@@ -57,7 +57,7 @@
       <a href="#tokenizer">Automatic tokenization</a>
     </li>
     <li>
-      <a href="#matcher">Custom matcher</a>
+      <a href="#matcher">Customizing how results are matched</a>
     </li>
     <li>
       <a href="#localization-rtl-diacritics">Localization, RTL and diacritics support</a>

+ 4 - 3
docs/_includes/nav/options.html

@@ -5,8 +5,8 @@
       <ul class="nav">
         <li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li>
         <li><a href="#amd">AMD compatibility</a></li>
-        <li><a href="#core-options-display">Display</a></li>
-        <li><a href="#core-options-results">Results</a></li>
+        <li><a href="#core-options-display">Displaying selections</a></li>
+        <li><a href="#core-options-results">Returning and displaying results</a></li>
       </ul>
     </li>
     <li>
@@ -27,12 +27,13 @@
       </ul>
     </li>
     <li>
-      <a href="#adapters">Adapters</a>
+      <a href="#adapters">The plugin system (adapters)</a>
       <ul class="nav">
         <li><a href="#adapters-all">All adapters</a></li>
         <li><a href="#selectionAdapter">Container (selection)</a></li>
         <li><a href="#dataAdapter">Data set</a></li>
         <li><a href="#dropdownAdapter">Dropdown</a></li>
+        <li><a href="#resultsAdapter">Results</a></li>
       </ul>
     </li>
     <li>

+ 2 - 2
docs/_includes/options/core-options.html

@@ -140,7 +140,7 @@ $("select").select2({
   </div>
 
   <h2 id="core-options-display">
-    Display
+    Displaying selections
   </h2>
 
   <p>
@@ -524,7 +524,7 @@ language: {
   </p>
 
   <h2 id="core-options-results">
-    Results
+    Returning and displaying results
   </h2>
 
   <p>

+ 1 - 1
docs/community.html

@@ -145,7 +145,7 @@ slug: community
     </div>
 
     <p>
-      You can find more information on triaging tickets in the
+      You can find more information on getting involved with Select2 in the
       <a href="https://github.com/select2/select2/blob/master/CONTRIBUTING.md#triaging-issues-and-pull-requests">
         contributing guide.
       </a>