فهرست منبع

Rename options-new to options

Kevin Brown 9 سال پیش
والد
کامیت
2b91ac0a20
36فایلهای تغییر یافته به همراه82 افزوده شده و 82 حذف شده
  1. 0 0
      docs/_includes/nav/options.html
  2. 0 10
      docs/_includes/options-new/compatibility.html
  3. 0 9
      docs/_includes/options-new/core.html
  4. 0 9
      docs/_includes/options-new/data.html
  5. 0 9
      docs/_includes/options-new/dropdown.html
  6. 0 8
      docs/_includes/options-new/events.html
  7. 0 10
      docs/_includes/options-new/selections.html
  8. 10 0
      docs/_includes/options/compatibility.html
  9. 0 0
      docs/_includes/options/compatibility/initial-selection.html
  10. 0 0
      docs/_includes/options/compatibility/introduction.html
  11. 0 0
      docs/_includes/options/compatibility/matcher.html
  12. 0 0
      docs/_includes/options/compatibility/query-function.html
  13. 0 0
      docs/_includes/options/compatibility/text-input.html
  14. 9 0
      docs/_includes/options/core.html
  15. 0 0
      docs/_includes/options/core/amd-support.html
  16. 0 0
      docs/_includes/options/core/data-attributes.html
  17. 0 0
      docs/_includes/options/core/options.html
  18. 9 0
      docs/_includes/options/data.html
  19. 1 1
      docs/_includes/options/data/ajax.html
  20. 0 0
      docs/_includes/options/data/array.html
  21. 0 0
      docs/_includes/options/data/select.html
  22. 9 0
      docs/_includes/options/dropdown.html
  23. 3 3
      docs/_includes/options/dropdown/filtering.html
  24. 4 4
      docs/_includes/options/dropdown/placement.html
  25. 2 2
      docs/_includes/options/dropdown/selections.html
  26. 8 0
      docs/_includes/options/events.html
  27. 0 0
      docs/_includes/options/events/internal.html
  28. 4 4
      docs/_includes/options/events/jquery.html
  29. 0 0
      docs/_includes/options/introduction.html
  30. 0 0
      docs/_includes/options/not-written.html
  31. 10 0
      docs/_includes/options/selections.html
  32. 2 2
      docs/_includes/options/selections/clearing-selections.html
  33. 0 0
      docs/_includes/options/selections/multiple.html
  34. 0 0
      docs/_includes/options/selections/placeholder.html
  35. 3 3
      docs/_includes/options/selections/templating.html
  36. 8 8
      docs/options.html

+ 0 - 0
docs/_includes/nav/options-new.html → docs/_includes/nav/options.html


+ 0 - 10
docs/_includes/options-new/compatibility.html

@@ -1,10 +0,0 @@
-<section>
-  <h1>
-    Backwards compatibility
-  </h1>
-
-  {% include options-new/compatibility/matcher.html %}
-  {% include options-new/compatibility/initial-selection.html %}
-  {% include options-new/compatibility/query-function.html %}
-  {% include options-new/compatibility/text-input.html %}
-</section>

+ 0 - 9
docs/_includes/options-new/core.html

@@ -1,9 +0,0 @@
-<section>
-  <h1>
-    Core options
-  </h1>
-  
-  {% include options-new/core/options.html %}
-  {% include options-new/core/data-attributes.html %}
-  {% include options-new/core/amd-support.html %}
-</section>

+ 0 - 9
docs/_includes/options-new/data.html

@@ -1,9 +0,0 @@
-<section>
-  <h1>
-    Data adapters
-  </h1>
-  
-  {% include options-new/data/select.html %}
-  {% include options-new/data/array.html %}
-  {% include options-new/data/ajax.html %}
-</section>

+ 0 - 9
docs/_includes/options-new/dropdown.html

@@ -1,9 +0,0 @@
-<section>
-  <h1 id="results">
-    Displaying results
-  </h1>
-
-  {% include options-new/dropdown/filtering.html %}
-  {% include options-new/dropdown/selections.html %}
-  {% include options-new/dropdown/placement.html %}
-</section>

+ 0 - 8
docs/_includes/options-new/events.html

@@ -1,8 +0,0 @@
-<section>
-  <h1>
-    Events
-  </h1>
-  
-  {% include options-new/events/jquery.html %}
-  {% include options-new/events/internal.html %}
-</section>

+ 0 - 10
docs/_includes/options-new/selections.html

@@ -1,10 +0,0 @@
-<section>
-  <h1 id="selections">
-    Displaying selections
-  </h1>
-  
-  {% include options-new/selections/multiple.html %}
-  {% include options-new/selections/placeholder.html %}
-  {% include options-new/selections/clearing-selections.html %}
-  {% include options-new/selections/templating.html %}
-</section>

+ 10 - 0
docs/_includes/options/compatibility.html

@@ -0,0 +1,10 @@
+<section>
+  <h1>
+    Backwards compatibility
+  </h1>
+
+  {% include options/compatibility/matcher.html %}
+  {% include options/compatibility/initial-selection.html %}
+  {% include options/compatibility/query-function.html %}
+  {% include options/compatibility/text-input.html %}
+</section>

+ 0 - 0
docs/_includes/options-new/compatibility/initial-selection.html → docs/_includes/options/compatibility/initial-selection.html


+ 0 - 0
docs/_includes/options-new/compatibility/introduction.html → docs/_includes/options/compatibility/introduction.html


+ 0 - 0
docs/_includes/options-new/compatibility/matcher.html → docs/_includes/options/compatibility/matcher.html


+ 0 - 0
docs/_includes/options-new/compatibility/query-function.html → docs/_includes/options/compatibility/query-function.html


+ 0 - 0
docs/_includes/options-new/compatibility/text-input.html → docs/_includes/options/compatibility/text-input.html


+ 9 - 0
docs/_includes/options/core.html

@@ -0,0 +1,9 @@
+<section>
+  <h1>
+    Core options
+  </h1>
+
+  {% include options/core/options.html %}
+  {% include options/core/data-attributes.html %}
+  {% include options/core/amd-support.html %}
+</section>

+ 0 - 0
docs/_includes/options-new/core/amd-support.html → docs/_includes/options/core/amd-support.html


+ 0 - 0
docs/_includes/options-new/core/data-attributes.html → docs/_includes/options/core/data-attributes.html


+ 0 - 0
docs/_includes/options-new/core/options.html → docs/_includes/options/core/options.html


+ 9 - 0
docs/_includes/options/data.html

@@ -0,0 +1,9 @@
+<section>
+  <h1>
+    Data adapters
+  </h1>
+
+  {% include options/data/select.html %}
+  {% include options/data/array.html %}
+  {% include options/data/ajax.html %}
+</section>

+ 1 - 1
docs/_includes/options-new/data/ajax.html → docs/_includes/options/data/ajax.html

@@ -19,7 +19,7 @@
     What should the results returned to Select2 look like?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     Is there a way to modify the response before passing it back to Select2?

+ 0 - 0
docs/_includes/options-new/data/array.html → docs/_includes/options/data/array.html


+ 0 - 0
docs/_includes/options-new/data/select.html → docs/_includes/options/data/select.html


+ 9 - 0
docs/_includes/options/dropdown.html

@@ -0,0 +1,9 @@
+<section>
+  <h1 id="results">
+    Displaying results
+  </h1>
+
+  {% include options/dropdown/filtering.html %}
+  {% include options/dropdown/selections.html %}
+  {% include options/dropdown/placement.html %}
+</section>

+ 3 - 3
docs/_includes/options-new/dropdown/filtering.html → docs/_includes/options/dropdown/filtering.html

@@ -7,17 +7,17 @@
     Can Select2 wait until the user has typed a search term before triggering the request?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     Select2 is allowing long search terms, can this be prevented?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     I only want the search box if there are enough results
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 </section>

+ 4 - 4
docs/_includes/options-new/dropdown/placement.html → docs/_includes/options/dropdown/placement.html

@@ -7,23 +7,23 @@
     Can the dropdown be placed directly after the selection container?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3 id="dropdownParent">
     Can I pick an element for the dropdown to be appended to?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     I&apos;m using a Bootstrap modal and I can&apos;t use the search box
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     I&apos;m using jQuery UI and I can&apos;t use the search box
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 </section>

+ 2 - 2
docs/_includes/options-new/dropdown/selections.html → docs/_includes/options/dropdown/selections.html

@@ -7,11 +7,11 @@
     Can I select the highlighted result when the dropdown is closed?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     Can I prevent the dropdown from closing when a result is selected?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 </section>

+ 8 - 0
docs/_includes/options/events.html

@@ -0,0 +1,8 @@
+<section>
+  <h1>
+    Events
+  </h1>
+
+  {% include options/events/jquery.html %}
+  {% include options/events/internal.html %}
+</section>

+ 0 - 0
docs/_includes/options-new/events/internal.html → docs/_includes/options/events/internal.html


+ 4 - 4
docs/_includes/options-new/events/jquery.html → docs/_includes/options/events/jquery.html

@@ -7,23 +7,23 @@
     What events will Select2 trigger?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     How can I attach listeners for these events?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     What events does Select2 listen for?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     What events can be prevented? How can I prevent a selection from being made?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 </section>

+ 0 - 0
docs/_includes/options-new/introduction.html → docs/_includes/options/introduction.html


+ 0 - 0
docs/_includes/options-new/not-written.html → docs/_includes/options/not-written.html


+ 10 - 0
docs/_includes/options/selections.html

@@ -0,0 +1,10 @@
+<section>
+  <h1 id="selections">
+    Displaying selections
+  </h1>
+
+  {% include options/selections/multiple.html %}
+  {% include options/selections/placeholder.html %}
+  {% include options/selections/clearing-selections.html %}
+  {% include options/selections/templating.html %}
+</section>

+ 2 - 2
docs/_includes/options-new/selections/clearing-selections.html → docs/_includes/options/selections/clearing-selections.html

@@ -7,11 +7,11 @@
     The "x" icon is not clearing the selection
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     Can users remove all of their selections in a multiple select at once?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 </section>

+ 0 - 0
docs/_includes/options-new/selections/multiple.html → docs/_includes/options/selections/multiple.html


+ 0 - 0
docs/_includes/options-new/selections/placeholder.html → docs/_includes/options/selections/placeholder.html


+ 3 - 3
docs/_includes/options-new/selections/templating.html → docs/_includes/options/selections/templating.html

@@ -7,17 +7,17 @@
     Nothing is being displayed when I select an option
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     I am using HTML in my selection template but it isn't displaying it
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 
   <h3>
     How can I access the container where the selection is displayed?
   </h3>
 
-  {% include options-new/not-written.html %}
+  {% include options/not-written.html %}
 </section>

+ 8 - 8
docs/options-new.html → docs/options.html

@@ -18,16 +18,16 @@ slug: options
 <div class="container s2-docs-container">
   <div class="row">
     <div class="col-md-9" role="main">
-      {% include options-new/introduction.html %}
-      {% include options-new/core.html %}
-      {% include options-new/data.html %}
-      {% include options-new/selections.html %}
-      {% include options-new/dropdown.html %}
-      {% include options-new/events.html %}
-      {% include options-new/compatibility.html %}
+      {% include options/introduction.html %}
+      {% include options/core.html %}
+      {% include options/data.html %}
+      {% include options/selections.html %}
+      {% include options/dropdown.html %}
+      {% include options/events.html %}
+      {% include options/compatibility.html %}
     </div>
     <div class="col-md-3" role="complementary">
-      {% include nav/options-new.html %}
+      {% include nav/options.html %}
     </div>
   </div>
 </div>