Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

unit-jq2.html 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="vendor/qunit-1.23.1.css" type="text/css" />
  5. <link rel="stylesheet" href="../../dist/css/select2.css" type="text/css" />
  6. </head>
  7. <body>
  8. <div id="qunit"></div>
  9. <div id="qunit-fixture">
  10. <div class="event-container">
  11. <select></select>
  12. </div>
  13. <select class="single">
  14. <option>One</option>
  15. </select>
  16. <select class="single-empty"></select>
  17. <select class="single-with-placeholder">
  18. <option>placeholder</option>
  19. <option>One</option>
  20. </select>
  21. <select class="multiple" multiple="multiple">
  22. <option>One</option>
  23. <option>Two</option>
  24. </select>
  25. <select class="groups">
  26. <optgroup label="Test">
  27. <option value="one">One</option>
  28. <option value="two">Two</option>
  29. </optgroup>
  30. <optgroup label="Empty"></optgroup>
  31. </select>
  32. <select class="duplicates">
  33. <option value="one">One</option>
  34. <option value="two">Two</option>
  35. <option value="one">Uno</option>
  36. </select>
  37. <select class="duplicates-multi" multiple="multiple">
  38. <option value="one">One</option>
  39. <option value="two">Two</option>
  40. <option value="one">Uno</option>
  41. </select>
  42. <select class="user-defined"></select>
  43. </div>
  44. <script src="vendor/qunit-1.23.1.js" type="text/javascript"></script>
  45. <script src="vendor/jquery-2.2.4.js" type="text/javascript"></script>
  46. <script src="../dist/js/select2.full.js" type="text/javascript"></script>
  47. <script src="helpers.js" type="text/javascript"></script>
  48. <script src="a11y/selection-tests.js" type="text/javascript"></script>
  49. <script src="data/array-tests.js" type="text/javascript"></script>
  50. <script src="data/base-tests.js" type="text/javascript"></script>
  51. <script src="data/inputData-tests.js" type="text/javascript"></script>
  52. <script src="data/select-tests.js" type="text/javascript"></script>
  53. <script src="data/tags-tests.js" type="text/javascript"></script>
  54. <script src="data/tokenizer-tests.js" type="text/javascript"></script>
  55. <script src="data/maximumInputLength-tests.js" type="text/javascript"></script>
  56. <script src="data/maximumSelectionLength-tests.js" type="text/javascript"></script>
  57. <script src="data/minimumInputLength-tests.js" type="text/javascript"></script>
  58. <script src="dropdown/dropdownCss-tests.js" type="text/javascript"></script>
  59. <script src="dropdown/dropdownParent-tests.js" type="text/javascript"></script>
  60. <script src="dropdown/positioning-tests.js" type="text/javascript"></script>
  61. <script src="dropdown/search-a11y-tests.js" type="text/javascript"></script>
  62. <script src="dropdown/selectOnClose-tests.js" type="text/javascript"></script>
  63. <script src="dropdown/stopPropagation-tests.js" type="text/javascript"></script>
  64. <script src="options/ajax-tests.js" type="text/javascript"></script>
  65. <script src="options/data-tests.js" type="text/javascript"></script>
  66. <script src="options/deprecated-tests.js" type="text/javascript"></script>
  67. <script src="options/translation-tests.js" type="text/javascript"></script>
  68. <script src="options/width-tests.js" type="text/javascript"></script>
  69. <script src="results/a11y-tests.js" type="text/javascript"></script>
  70. <script src="results/focusing-tests.js" type="text/javascript"></script>
  71. <script src="results/infiniteScroll-tests.js" type="text/javascript"></script>
  72. <script src="results/option-tests.js" type="text/javascript"></script>
  73. <script src="selection/allowClear-tests.js" type="text/javascript"></script>
  74. <script src="selection/containerCss-tests.js" type="text/javascript"></script>
  75. <script src="selection/focusing-tests.js" type="text/javascript"></script>
  76. <script src="selection/multiple-tests.js" type="text/javascript"></script>
  77. <script src="selection/placeholder-tests.js" type="text/javascript"></script>
  78. <script src="selection/search-tests.js" type="text/javascript"></script>
  79. <script src="selection/search-a11y-tests.js" type="text/javascript"></script>
  80. <script src="selection/search-placeholder-tests.js" type="text/javascript"></script>
  81. <script src="selection/single-tests.js" type="text/javascript"></script>
  82. <script src="selection/stopPropagation-tests.js" type="text/javascript"></script>
  83. <script src="utils/data-tests.js" type="text/javascript"></script>
  84. <script src="utils/decorator-tests.js" type="text/javascript"></script>
  85. <script src="utils/escapeMarkup-tests.js" type="text/javascript"></script>
  86. </body>
  87. </html>