fomantic-ui 2.10.0-beta.1 → 2.10.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +6 -6
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +7 -7
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +4 -4
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +29 -29
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +2 -2
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/emoji.css +1 -1
  42. package/dist/components/emoji.min.css +1 -1
  43. package/dist/components/feed.css +1 -1
  44. package/dist/components/feed.min.css +1 -1
  45. package/dist/components/flag.css +1 -1
  46. package/dist/components/flag.min.css +1 -1
  47. package/dist/components/flyout.css +1 -1
  48. package/dist/components/flyout.js +3 -3
  49. package/dist/components/flyout.min.css +1 -1
  50. package/dist/components/flyout.min.js +2 -2
  51. package/dist/components/form.css +5 -5
  52. package/dist/components/form.js +11 -11
  53. package/dist/components/form.min.css +1 -1
  54. package/dist/components/form.min.js +1 -1
  55. package/dist/components/grid.css +1 -1
  56. package/dist/components/grid.min.css +1 -1
  57. package/dist/components/header.css +1 -1
  58. package/dist/components/header.min.css +1 -1
  59. package/dist/components/icon.css +1 -1
  60. package/dist/components/icon.min.css +1 -1
  61. package/dist/components/image.css +1 -1
  62. package/dist/components/image.min.css +1 -1
  63. package/dist/components/input.css +1 -1
  64. package/dist/components/input.min.css +1 -1
  65. package/dist/components/item.css +1 -1
  66. package/dist/components/item.min.css +1 -1
  67. package/dist/components/label.css +1 -1
  68. package/dist/components/label.min.css +1 -1
  69. package/dist/components/list.css +1 -1
  70. package/dist/components/list.min.css +1 -1
  71. package/dist/components/loader.css +1 -1
  72. package/dist/components/loader.min.css +1 -1
  73. package/dist/components/menu.css +1 -1
  74. package/dist/components/menu.min.css +1 -1
  75. package/dist/components/message.css +1 -1
  76. package/dist/components/message.min.css +1 -1
  77. package/dist/components/modal.css +1 -1
  78. package/dist/components/modal.js +2 -2
  79. package/dist/components/modal.min.css +1 -1
  80. package/dist/components/modal.min.js +1 -1
  81. package/dist/components/nag.css +1 -1
  82. package/dist/components/nag.js +2 -2
  83. package/dist/components/nag.min.css +1 -1
  84. package/dist/components/nag.min.js +1 -1
  85. package/dist/components/placeholder.css +1 -1
  86. package/dist/components/placeholder.min.css +1 -1
  87. package/dist/components/popup.css +1 -1
  88. package/dist/components/popup.js +8 -8
  89. package/dist/components/popup.min.css +1 -1
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +1 -1
  92. package/dist/components/progress.js +7 -7
  93. package/dist/components/progress.min.css +1 -1
  94. package/dist/components/progress.min.js +1 -1
  95. package/dist/components/rail.css +1 -1
  96. package/dist/components/rail.min.css +1 -1
  97. package/dist/components/rating.css +1 -1
  98. package/dist/components/rating.js +1 -1
  99. package/dist/components/rating.min.css +1 -1
  100. package/dist/components/rating.min.js +1 -1
  101. package/dist/components/reset.css +1 -1
  102. package/dist/components/reset.min.css +1 -1
  103. package/dist/components/reveal.css +1 -1
  104. package/dist/components/reveal.min.css +1 -1
  105. package/dist/components/search.css +1 -1
  106. package/dist/components/search.js +7 -7
  107. package/dist/components/search.min.css +1 -1
  108. package/dist/components/search.min.js +1 -1
  109. package/dist/components/segment.css +1 -1
  110. package/dist/components/segment.min.css +1 -1
  111. package/dist/components/shape.css +1 -1
  112. package/dist/components/shape.js +2 -2
  113. package/dist/components/shape.min.css +1 -1
  114. package/dist/components/shape.min.js +1 -1
  115. package/dist/components/sidebar.css +1 -1
  116. package/dist/components/sidebar.js +2 -2
  117. package/dist/components/sidebar.min.css +1 -1
  118. package/dist/components/sidebar.min.js +1 -1
  119. package/dist/components/site.css +1 -1
  120. package/dist/components/site.js +1 -1
  121. package/dist/components/site.min.css +1 -1
  122. package/dist/components/site.min.js +1 -1
  123. package/dist/components/slider.css +1 -1
  124. package/dist/components/slider.js +5 -5
  125. package/dist/components/slider.min.css +1 -1
  126. package/dist/components/slider.min.js +2 -2
  127. package/dist/components/state.js +3 -3
  128. package/dist/components/state.min.js +1 -1
  129. package/dist/components/statistic.css +1 -1
  130. package/dist/components/statistic.min.css +1 -1
  131. package/dist/components/step.css +1 -1
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +5 -5
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +1 -1
  137. package/dist/components/tab.css +1 -1
  138. package/dist/components/tab.js +10 -13
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +2 -2
  141. package/dist/components/table.css +1 -1
  142. package/dist/components/table.min.css +1 -1
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +1 -1
  146. package/dist/components/toast.js +4 -4
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +1 -1
  149. package/dist/components/transition.css +1 -1
  150. package/dist/components/transition.js +5 -5
  151. package/dist/components/transition.min.css +1 -1
  152. package/dist/components/transition.min.js +1 -1
  153. package/dist/components/visibility.js +2 -2
  154. package/dist/components/visibility.min.js +1 -1
  155. package/dist/semantic.css +57 -57
  156. package/dist/semantic.js +131 -134
  157. package/dist/semantic.min.css +1 -1
  158. package/dist/semantic.min.js +2 -2
  159. package/package.json +1 -1
  160. package/src/README.md +3 -3
  161. package/src/definitions/behaviors/api.js +5 -5
  162. package/src/definitions/behaviors/form.js +10 -10
  163. package/src/definitions/behaviors/state.js +2 -2
  164. package/src/definitions/behaviors/visibility.js +1 -1
  165. package/src/definitions/collections/form.less +1 -1
  166. package/src/definitions/modules/calendar.js +6 -6
  167. package/src/definitions/modules/dimmer.js +3 -3
  168. package/src/definitions/modules/dropdown.js +28 -28
  169. package/src/definitions/modules/embed.js +1 -1
  170. package/src/definitions/modules/flyout.js +2 -2
  171. package/src/definitions/modules/modal.js +1 -1
  172. package/src/definitions/modules/nag.js +1 -1
  173. package/src/definitions/modules/popup.js +7 -7
  174. package/src/definitions/modules/progress.js +6 -6
  175. package/src/definitions/modules/search.js +6 -6
  176. package/src/definitions/modules/shape.js +1 -1
  177. package/src/definitions/modules/sidebar.js +1 -1
  178. package/src/definitions/modules/slider.js +4 -4
  179. package/src/definitions/modules/slider.less +1 -1
  180. package/src/definitions/modules/sticky.js +4 -4
  181. package/src/definitions/modules/tab.js +9 -12
  182. package/src/definitions/modules/toast.js +3 -3
  183. package/src/definitions/modules/transition.js +4 -4
  184. package/src/themes/default/modules/slider.variables +1 -1
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -9,7 +9,7 @@
9
9
  *
10
10
  */
11
11
  /*!
12
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Site
12
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Site
13
13
  * https://github.com/fomantic/Fomantic-UI/
14
14
  *
15
15
  *
@@ -465,7 +465,7 @@
465
465
  })(jQuery, window, document);
466
466
 
467
467
  /*!
468
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Form Validation
468
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Form Validation
469
469
  * https://github.com/fomantic/Fomantic-UI/
470
470
  *
471
471
  *
@@ -843,10 +843,10 @@
843
843
  if (currentValue === undefined || currentValue === null) {
844
844
  currentValue = '';
845
845
  } else if (Array.isArray(currentValue)) {
846
- // multiple select values are returned as arrays which are never equal, so do string conversion first
846
+ // multiple select values are returned as arrays which are never equal, so do the string conversion first
847
847
  currentValue = currentValue.toString();
848
848
  }
849
- // Boolean values can be encoded as "true/false" or "True/False" depending on underlying frameworks so we need a case insensitive comparison
849
+ // Boolean values can be encoded as "true/false" or "True/False" depending on underlying frameworks, so we need a case-insensitive comparison
850
850
  var boolRegex = /^(true|false)$/i;
851
851
  var isBoolValue = boolRegex.test(initialValue) && boolRegex.test(currentValue);
852
852
  if (isBoolValue) {
@@ -960,7 +960,7 @@
960
960
  event.returnValue = settings.text.leavingMessage;
961
961
  }
962
962
 
963
- // For olders...
963
+ // For older...
964
964
  return settings.text.leavingMessage;
965
965
  }
966
966
  },
@@ -1781,7 +1781,7 @@
1781
1781
  if (typeof settings.errorFocus === 'string') {
1782
1782
  $focusElement = $(document).find(settings.errorFocus);
1783
1783
  hasTabIndex = $focusElement.is('[tabindex]');
1784
- // to be able to focus/scroll into non input elements we need a tabindex
1784
+ // to be able to focus/scroll into non-input elements, we need a tabindex
1785
1785
  if (!hasTabIndex) {
1786
1786
  $focusElement.attr('tabindex', -1);
1787
1787
  }
@@ -2324,7 +2324,7 @@
2324
2324
  return $.fn.form.settings.regExp.email.test(value);
2325
2325
  },
2326
2326
 
2327
- // value is most likely url
2327
+ // value is most likely the url
2328
2328
  url: function (value) {
2329
2329
  return $.fn.form.settings.regExp.url.test(value);
2330
2330
  },
@@ -2400,7 +2400,7 @@
2400
2400
  );
2401
2401
  },
2402
2402
 
2403
- // is valid number (with decimal)
2403
+ // is it a valid number (with decimal)
2404
2404
  decimal: function (value, range) {
2405
2405
  return $.fn.form.settings.rules.range(value, range, 'decimal');
2406
2406
  },
@@ -2410,7 +2410,7 @@
2410
2410
  return $.fn.form.settings.rules.range(value, range, 'number');
2411
2411
  },
2412
2412
 
2413
- // is value (case insensitive)
2413
+ // is value (case-insensitive)
2414
2414
  is: function (value, text) {
2415
2415
  text = typeof text === 'string'
2416
2416
  ? text.toLowerCase()
@@ -2427,7 +2427,7 @@
2427
2427
  return value == text;
2428
2428
  },
2429
2429
 
2430
- // value is not another value (case insensitive)
2430
+ // value is not another value (case-insensitive)
2431
2431
  not: function (value, notValue) {
2432
2432
  value = typeof value === 'string'
2433
2433
  ? value.toLowerCase()
@@ -2439,7 +2439,7 @@
2439
2439
  return value != notValue;
2440
2440
  },
2441
2441
 
2442
- // value is not another value (case sensitive)
2442
+ // value is not another value (case-sensitive)
2443
2443
  notExactly: function (value, notValue) {
2444
2444
  return value != notValue;
2445
2445
  },
@@ -2504,7 +2504,7 @@
2504
2504
  : false;
2505
2505
  },
2506
2506
 
2507
- // different than another field
2507
+ // different from another field
2508
2508
  different: function (value, identifier, module) {
2509
2509
  var matchingValue = module.get.value(identifier, true);
2510
2510
 
@@ -2665,7 +2665,7 @@
2665
2665
  })(jQuery, window, document);
2666
2666
 
2667
2667
  /*!
2668
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Accordion
2668
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Accordion
2669
2669
  * https://github.com/fomantic/Fomantic-UI/
2670
2670
  *
2671
2671
  *
@@ -3261,7 +3261,7 @@
3261
3261
  })(jQuery, window, document);
3262
3262
 
3263
3263
  /*!
3264
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Calendar
3264
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Calendar
3265
3265
  * https://github.com/fomantic/Fomantic-UI/
3266
3266
  *
3267
3267
  *
@@ -3411,7 +3411,7 @@
3411
3411
  $container = $('<div/>', { id: module.popupId }).addClass(className.popup).appendTo($document.find(settings.context));
3412
3412
  } else {
3413
3413
  // prepend the popup element to the activator's parent so that it has less chance of messing with
3414
- // the styling (eg input action button needs to be the last child to have correct border radius)
3414
+ // the styling (e.g., input action button needs to be the last child to have the correct border radius)
3415
3415
  var
3416
3416
  $activatorParent = $activator.parent(),
3417
3417
  domPositionFunction = $activatorParent.closest(selector.append).length > 0 ? 'appendTo' : 'prependTo'
@@ -3893,7 +3893,7 @@
3893
3893
  }
3894
3894
  var parent = target.parent();
3895
3895
  if (parent.data(metadata.date) || parent.data(metadata.focusDate) || parent.data(metadata.mode)) {
3896
- // clicked on a child element, switch to parent (used when clicking directly on prev/next <i> icon element)
3896
+ // clicked on a child element, switch to parent (used when clicking directly on the prev/next <i> icon element)
3897
3897
  target = parent;
3898
3898
  }
3899
3899
  var date = target.data(metadata.date);
@@ -4885,12 +4885,12 @@
4885
4885
 
4886
4886
  context: false,
4887
4887
 
4888
- type: 'datetime', // picker type, can be 'datetime', 'date', 'time', 'month', or 'year'
4888
+ type: 'datetime', // picker type. can be 'datetime', 'date', 'time', 'month', or 'year'
4889
4889
  firstDayOfWeek: 0, // day for first day column (0 = Sunday)
4890
4890
  constantHeight: true, // add rows to shorter months to keep day calendar height consistent (6 rows)
4891
4891
  today: false, // show a 'today/now' button at the bottom of the calendar
4892
4892
  closable: true, // close the popup after selecting a date/time
4893
- monthFirst: true, // month before day when parsing date from text
4893
+ monthFirst: true, // month before day when parsing date from a text
4894
4894
  touchReadonly: true, // set input to readonly on touch devices
4895
4895
  inline: false, // create the calendar inline instead of inside a popup
4896
4896
  on: null, // when to show the popup (defaults to 'focus' for input, 'click' for others)
@@ -4907,7 +4907,7 @@
4907
4907
  multiMonth: 1, // show multiple months when in 'day' mode
4908
4908
  monthOffset: 0, // position current month by offset when multimonth > 1
4909
4909
  minTimeGap: 5,
4910
- showWeekNumbers: false, // show Number of Week at the very first column of a dayView
4910
+ showWeekNumbers: false, // show Number of Weeks at the very first column of a dayView
4911
4911
  disabledHours: [], // specific hour(s) which won't be selectable and contain additional information.
4912
4912
  disabledDates: [], // specific day(s) which won't be selectable and contain additional information.
4913
4913
  disabledDaysOfWeek: [], // day(s) which won't be selectable(s) (0 = Sunday)
@@ -5202,7 +5202,7 @@
5202
5202
 
5203
5203
  var date = new Date(year, month - 1, day, hour, minute);
5204
5204
  if (date.getMonth() !== month - 1 || date.getFullYear() !== year) {
5205
- // month or year don't match up, switch to last day of the month
5205
+ // month or year don't match up, switch to the last day of the month
5206
5206
  date = new Date(year, month, 0, hour, minute);
5207
5207
  }
5208
5208
 
@@ -5307,7 +5307,7 @@
5307
5307
  })(jQuery, window, document);
5308
5308
 
5309
5309
  /*!
5310
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Checkbox
5310
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Checkbox
5311
5311
  * https://github.com/fomantic/Fomantic-UI/
5312
5312
  *
5313
5313
  *
@@ -6196,7 +6196,7 @@
6196
6196
  })(jQuery, window, document);
6197
6197
 
6198
6198
  /*!
6199
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Dimmer
6199
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Dimmer
6200
6200
  * https://github.com/fomantic/Fomantic-UI/
6201
6201
  *
6202
6202
  *
@@ -6840,7 +6840,7 @@
6840
6840
  verbose: false,
6841
6841
  performance: true,
6842
6842
 
6843
- // whether should use flex layout
6843
+ // whether flex layout should be used
6844
6844
  useFlex: true,
6845
6845
 
6846
6846
  // name to distinguish between multiple dimmers in context
@@ -6852,10 +6852,10 @@
6852
6852
  // whether to bind close events
6853
6853
  closable: 'auto',
6854
6854
 
6855
- // whether to use css animations
6855
+ // whether to use CSS animations
6856
6856
  useCSS: true,
6857
6857
 
6858
- // css animation to use
6858
+ // CSS animation to use
6859
6859
  transition: 'fade',
6860
6860
 
6861
6861
  // event to bind to
@@ -6929,7 +6929,7 @@
6929
6929
  })(jQuery, window, document);
6930
6930
 
6931
6931
  /*!
6932
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Dropdown
6932
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Dropdown
6933
6933
  * https://github.com/fomantic/Fomantic-UI/
6934
6934
  *
6935
6935
  *
@@ -7394,7 +7394,7 @@
7394
7394
  $firstModules = $allModules.slice(0, elementIndex),
7395
7395
  $lastModules = $allModules.slice(elementIndex + 1)
7396
7396
  ;
7397
- // adjust all modules to use correct reference
7397
+ // adjust all modules to use the correct reference
7398
7398
  $allModules = $firstModules.add($module).add($lastModules);
7399
7399
  },
7400
7400
  },
@@ -8101,7 +8101,7 @@
8101
8101
  },
8102
8102
  mousedown: function () {
8103
8103
  if (module.is.searchSelection(true)) {
8104
- // prevent menu hiding on immediate re-focus
8104
+ // prevent the menu hiding on immediate re-focus
8105
8105
  willRefocus = true;
8106
8106
  } else {
8107
8107
  // prevents focus callback from occurring on mousedown
@@ -8110,7 +8110,7 @@
8110
8110
  },
8111
8111
  mouseup: function () {
8112
8112
  if (module.is.searchSelection(true)) {
8113
- // prevent menu hiding on immediate re-focus
8113
+ // prevent the menu hiding on immediate re-focus
8114
8114
  willRefocus = false;
8115
8115
  } else {
8116
8116
  activated = false;
@@ -8398,7 +8398,7 @@
8398
8398
  },
8399
8399
 
8400
8400
  document: {
8401
- // label selection should occur even when element has no focus
8401
+ // label selection should occur even when the element has no focus
8402
8402
  keydown: function (event) {
8403
8403
  var
8404
8404
  pressedKey = event.which,
@@ -8544,7 +8544,7 @@
8544
8544
  $nextItem,
8545
8545
  isSubMenuItem
8546
8546
  ;
8547
- // allow selection with menu closed
8547
+ // allow selection with the menu closed
8548
8548
  if (isAdditionWithoutMenu) {
8549
8549
  if (selectedIsSelectable && settings.hideAdditions) {
8550
8550
  module.verbose('Selecting item from keyboard shortcut', $selectedItem);
@@ -8560,7 +8560,7 @@
8560
8560
 
8561
8561
  // visible menu keyboard shortcuts
8562
8562
  if (module.is.visible()) {
8563
- // enter (select or open sub-menu)
8563
+ // enter (select or open submenu)
8564
8564
  if (pressedKey === keys.enter || delimiterPressed) {
8565
8565
  if (pressedKey === keys.enter && hasSelectedItem && hasSubMenu && !settings.allowCategorySelection) {
8566
8566
  module.verbose('Pressed enter on unselectable category, opening sub menu');
@@ -8599,7 +8599,7 @@
8599
8599
  }
8600
8600
  }
8601
8601
 
8602
- // right arrow (show sub-menu)
8602
+ // right arrow (show submenu)
8603
8603
  if (pressedKey === keys.rightArrow) {
8604
8604
  if (hasSubMenu) {
8605
8605
  module.verbose('Right key pressed, opening sub-menu');
@@ -8922,7 +8922,7 @@
8922
8922
  isEmptyMultiselect = Array.isArray(value) && value.length === 1 && value[0] === ''
8923
8923
  ;
8924
8924
 
8925
- // prevents placeholder element from being selected when multiple
8925
+ // prevents the placeholder element from being selected when multiple
8926
8926
  return value === undefined || isEmptyMultiselect
8927
8927
  ? ''
8928
8928
  : value;
@@ -9266,7 +9266,7 @@
9266
9266
  }
9267
9267
  },
9268
9268
  values: function () {
9269
- // prevents callbacks from occurring on initial load
9269
+ // prevents callbacks from occurring on the initial load
9270
9270
  module.set.initialLoad();
9271
9271
  if (settings.apiSettings && settings.saveRemoteData && module.get.remoteValues()) {
9272
9272
  module.restore.remoteValues();
@@ -9587,7 +9587,7 @@
9587
9587
  $nextValue = false,
9588
9588
  $nextItem
9589
9589
  ;
9590
- // check next of same letter
9590
+ // check next of the same letter
9591
9591
  if (alreadySelectedLetter) {
9592
9592
  $nextItem = $selectedItem.nextAll($item).eq(0);
9593
9593
  if (module.has.firstLetter($nextItem, letter)) {
@@ -9606,7 +9606,7 @@
9606
9606
  })
9607
9607
  ;
9608
9608
  }
9609
- // set next value
9609
+ // set the next value
9610
9610
  if ($nextValue) {
9611
9611
  module.verbose('Scrolling to next value with letter', letter);
9612
9612
  module.set.scrollPosition($nextValue);
@@ -9623,7 +9623,7 @@
9623
9623
  if (!$menu) {
9624
9624
  module.remove.upward();
9625
9625
  } else if (module.is.upward($menu)) {
9626
- // we need make sure when make assertion openDownward for $menu, $menu does not have upward class
9626
+ // we need to make sure when make assertion openDownward for $menu, $menu does not have upward class
9627
9627
  module.remove.upward($menu);
9628
9628
  }
9629
9629
 
@@ -10996,33 +10996,33 @@
10996
10996
  match: 'both', // what to match against with search selection (both, text, or label)
10997
10997
  fullTextSearch: 'exact', // search anywhere in value (set to 'exact' to require exact matches)
10998
10998
  highlightMatches: false, // Whether search result should highlight matching strings
10999
- ignoreDiacritics: false, // match results also if they contain diacritics of the same base character (for example searching for "a" will also match "á" or "â" or "à", etc...)
10999
+ ignoreDiacritics: false, // match results also if they contain diacritics of the same base character (for example, searching for "a" will also match "á" or "â" or "à", etc...)
11000
11000
  hideDividers: false, // Whether to hide any divider elements (specified in selector.divider) that are sibling to any items when searched (set to true will hide all dividers, set to 'empty' will hide them when they are not followed by a visible item)
11001
11001
 
11002
- placeholder: 'auto', // whether to convert blank <select> values to placeholder text
11003
- preserveHTML: true, // preserve html when selecting value
11002
+ placeholder: 'auto', // whether to convert blank <select> values to the placeholder text
11003
+ preserveHTML: true, // preserve HTML when selecting value
11004
11004
  sortSelect: false, // sort selection on init
11005
11005
 
11006
11006
  forceSelection: false, // force a choice on blur with search selection
11007
11007
 
11008
11008
  allowAdditions: false, // whether multiple select should allow user added values
11009
- keepSearchTerm: false, // whether the search value should be kept and menu stays filtered on item selection
11009
+ keepSearchTerm: false, // whether the search value should be kept, and the menu stays filtered on item selection
11010
11010
  ignoreCase: false, // whether to consider case sensitivity when creating labels
11011
11011
  ignoreSearchCase: true, // whether to consider case sensitivity when filtering items
11012
- hideAdditions: true, // whether or not to hide special message prompting a user they can enter a value
11012
+ hideAdditions: true, // whether to hide a special message prompting a user, they can enter a value
11013
11013
 
11014
- maxSelections: false, // When set to a number limits the number of selections to this count
11014
+ maxSelections: false, // When set to a number, limits the number of selections to this count
11015
11015
  useLabels: true, // whether multiple select should filter currently active selections from choices
11016
- delimiter: ',', // when multiselect uses normal <input> the values will be delimited with this character
11016
+ delimiter: ',', // when multiselect uses normal <input >, the values will be delimited with this character
11017
11017
 
11018
- showOnFocus: false, // show menu on focus
11018
+ showOnFocus: false, // show the menu on focus
11019
11019
  allowReselection: false, // whether current value should trigger callbacks when reselected
11020
- allowTab: true, // add tabindex to element
11021
- allowCategorySelection: false, // allow elements with sub-menus to be selected
11020
+ allowTab: true, // add tabindex to the element
11021
+ allowCategorySelection: false, // allow elements with submenus to be selected
11022
11022
 
11023
11023
  fireOnInit: false, // Whether callbacks should fire when initializing dropdown values
11024
11024
 
11025
- transition: 'auto', // auto transition will slide down or up based on direction
11025
+ transition: 'auto', // auto transition will slide down or up based on the direction
11026
11026
  duration: 200, // duration of transition
11027
11027
  displayType: false, // displayType of transition
11028
11028
 
@@ -11102,23 +11102,23 @@
11102
11102
  value: 'value',
11103
11103
  },
11104
11104
 
11105
- // property names for remote query
11105
+ // property names for the remote query
11106
11106
  fields: {
11107
11107
  remoteValues: 'results', // grouping for api results
11108
11108
  values: 'values', // grouping for all dropdown values
11109
11109
  disabled: 'disabled', // whether value should be disabled
11110
- name: 'name', // displayed dropdown text
11110
+ name: 'name', // the displayed dropdown text
11111
11111
  description: 'description', // displayed dropdown description
11112
11112
  descriptionVertical: 'descriptionVertical', // whether description should be vertical
11113
11113
  value: 'value', // actual dropdown value
11114
- text: 'text', // displayed text when selected
11114
+ text: 'text', // the displayed text when selected
11115
11115
  data: 'data', // custom data attributes
11116
11116
  type: 'type', // type of dropdown element
11117
11117
  image: 'image', // optional image path
11118
11118
  imageClass: 'imageClass', // optional individual class for image
11119
11119
  alt: 'alt', // optional alt text for image
11120
11120
  icon: 'icon', // optional icon name
11121
- iconClass: 'iconClass', // optional individual class for icon (for example to use flag instead)
11121
+ iconClass: 'iconClass', // optional individual class for icon (for example, to use a flag instead)
11122
11122
  class: 'class', // optional individual class for item/header
11123
11123
  divider: 'divider', // optional divider append for group headers
11124
11124
  actionable: 'actionable', // optional actionable item
@@ -11353,7 +11353,7 @@
11353
11353
  return message;
11354
11354
  },
11355
11355
 
11356
- // generates user addition to selection menu
11356
+ // generates user addition to the selection menu
11357
11357
  addition: function (choice) {
11358
11358
  return choice;
11359
11359
  },
@@ -11362,7 +11362,7 @@
11362
11362
  })(jQuery, window, document);
11363
11363
 
11364
11364
  /*!
11365
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Embed
11365
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Embed
11366
11366
  * https://github.com/fomantic/Fomantic-UI/
11367
11367
  *
11368
11368
  *
@@ -11532,7 +11532,7 @@
11532
11532
  }
11533
11533
  },
11534
11534
 
11535
- // clears embed
11535
+ // clear embed
11536
11536
  reset: function () {
11537
11537
  module.debug('Clearing embed and showing placeholder');
11538
11538
  module.remove.data();
@@ -12051,7 +12051,7 @@
12051
12051
  })(jQuery, window, document);
12052
12052
 
12053
12053
  /*!
12054
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Flyout
12054
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Flyout
12055
12055
  * https://github.com/fomantic/Fomantic-UI/
12056
12056
  *
12057
12057
  *
@@ -12242,7 +12242,7 @@
12242
12242
 
12243
12243
  create: {
12244
12244
  flyout: function () {
12245
- module.verbose('Programmaticaly create flyout', $context);
12245
+ module.verbose('Programmatically create flyout', $context);
12246
12246
  $module = $('<div/>', { class: className.flyout, role: 'dialog', 'aria-modal': settings.dimPage });
12247
12247
  if (settings.closeIcon) {
12248
12248
  $closeIcon = $('<i/>', {
@@ -12568,7 +12568,7 @@
12568
12568
  shouldRefreshInputs = true;
12569
12569
  }
12570
12570
  } else {
12571
- // mutationobserver only provides the parent nodes
12571
+ // mutationobserver only provides the parent nodes,
12572
12572
  // so let's collect all childs as well to find nested inputs
12573
12573
  var $addedInputs = $(collectNodes(mutation.addedNodes)).filter('a[href], [tabindex], :input:enabled').filter(':visible'),
12574
12574
  $removedInputs = $(collectNodes(mutation.removedNodes)).filter('a[href], [tabindex], :input');
@@ -13603,7 +13603,7 @@
13603
13603
  })(jQuery, window, document);
13604
13604
 
13605
13605
  /*!
13606
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Modal
13606
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Modal
13607
13607
  * https://github.com/fomantic/Fomantic-UI/
13608
13608
  *
13609
13609
  *
@@ -13888,7 +13888,7 @@
13888
13888
  }
13889
13889
  } else {
13890
13890
  shouldRefresh = true;
13891
- // mutationobserver only provides the parent nodes
13891
+ // mutationobserver only provides the parent nodes,
13892
13892
  // so let's collect all childs as well to find nested inputs
13893
13893
  var $addedInputs = $(collectNodes(mutation.addedNodes)).filter('a[href], [tabindex], :input:enabled').filter(':visible'),
13894
13894
  $removedInputs = $(collectNodes(mutation.removedNodes)).filter('a[href], [tabindex], :input');
@@ -15241,7 +15241,7 @@
15241
15241
  })(jQuery, window, document);
15242
15242
 
15243
15243
  /*!
15244
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Nag
15244
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Nag
15245
15245
  * https://github.com/fomantic/Fomantic-UI/
15246
15246
  *
15247
15247
  *
@@ -15737,7 +15737,7 @@
15737
15737
  // allows cookie to be overridden
15738
15738
  persist: false,
15739
15739
 
15740
- // set to zero to require manually dismissal, otherwise hides on its own
15740
+ // set to zero to require manual dismissal, otherwise hides on its own
15741
15741
  displayTime: 0,
15742
15742
 
15743
15743
  animation: {
@@ -15808,7 +15808,7 @@
15808
15808
  })(jQuery, window, document);
15809
15809
 
15810
15810
  /*!
15811
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Popup
15811
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Popup
15812
15812
  * https://github.com/fomantic/Fomantic-UI/
15813
15813
  *
15814
15814
  *
@@ -15979,7 +15979,7 @@
15979
15979
  if (documentObserver) {
15980
15980
  documentObserver.disconnect();
15981
15981
  }
15982
- // remove element only if was created dynamically
15982
+ // remove the element only if was created dynamically
15983
15983
  if ($popup && !settings.preserve) {
15984
15984
  module.removePopup();
15985
15985
  }
@@ -16366,7 +16366,7 @@
16366
16366
  },
16367
16367
  };
16368
16368
 
16369
- // if popup offset context is not same as target, then adjust calculations
16369
+ // if popup offset context is different from target, then adjust calculations
16370
16370
  if ($popupOffsetParent[0] !== $offsetParent[0]) {
16371
16371
  var
16372
16372
  popupOffset = $popupOffsetParent.offset()
@@ -16627,7 +16627,7 @@
16627
16627
  module.debug('RTL: Popup position updated', position);
16628
16628
  }
16629
16629
 
16630
- // if last attempt use specified last resort position
16630
+ // if last attempt, use specified last resort position
16631
16631
  if (searchDepth === settings.maxSearchDepth && typeof settings.lastResort === 'string') {
16632
16632
  position = settings.lastResort;
16633
16633
  }
@@ -17171,7 +17171,7 @@
17171
17171
  // whether it should use dom mutation observers
17172
17172
  observeChanges: true,
17173
17173
 
17174
- // callback only when element added to dom
17174
+ // callback only when the element was added to dom
17175
17175
  onCreate: function () {},
17176
17176
 
17177
17177
  // callback before element removed from dom
@@ -17216,7 +17216,7 @@
17216
17216
  // element which popup should be relative to
17217
17217
  target: false,
17218
17218
 
17219
- // jq selector or element that should be used as popup
17219
+ // jQuery selector or element that should be used as a popup
17220
17220
  popup: false,
17221
17221
 
17222
17222
  // popup should remain inline next to activator
@@ -17231,7 +17231,7 @@
17231
17231
  // explicitly set content
17232
17232
  content: false,
17233
17233
 
17234
- // explicitly set html
17234
+ // explicitly set HTML
17235
17235
  html: false,
17236
17236
 
17237
17237
  // explicitly set title
@@ -17274,7 +17274,7 @@
17274
17274
  duration: 200,
17275
17275
  transition: 'scale',
17276
17276
 
17277
- // distance away from activating element in px
17277
+ // distance away from the activating element in px
17278
17278
  distanceAway: 0,
17279
17279
 
17280
17280
  // number of pixels an element is allowed to be "offstage" for a position to be chosen (allows for rounding)
@@ -17370,7 +17370,7 @@
17370
17370
  })(jQuery, window, document);
17371
17371
 
17372
17372
  /*!
17373
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Progress
17373
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Progress
17374
17374
  * https://github.com/fomantic/Fomantic-UI/
17375
17375
  *
17376
17376
  *
@@ -17440,13 +17440,13 @@
17440
17440
  /**
17441
17441
  * Derive precision for multiple progress with total and values.
17442
17442
  *
17443
- * This helper dervices a precision that is sufficiently large to show minimum value of multiple progress.
17443
+ * This helper dervices a precision that is large enough to show the minimum value of multiple progress.
17444
17444
  *
17445
17445
  * Example1
17446
17446
  * - total: 1122
17447
17447
  * - values: [325, 111, 74, 612]
17448
17448
  * - min ratio: 74/1122 = 0.0659...
17449
- * - required precision: 100
17449
+ * - required precision: 100
17450
17450
  *
17451
17451
  * Example2
17452
17452
  * - total: 10541
@@ -17694,7 +17694,7 @@
17694
17694
  : value;
17695
17695
  },
17696
17696
 
17697
- // gets current displayed percentage (if animating values this is the intermediary value)
17697
+ // gets current displayed percentage (if animating values, this is the intermediary value)
17698
17698
  displayPercent: function (index) {
17699
17699
  var
17700
17700
  $bar = $($bars[index]),
@@ -17858,10 +17858,10 @@
17858
17858
  var isMultipleValues = percents.length > 1 && hasTotal;
17859
17859
  var sumTotal = module.helper.sum(module.helper.forceArray(module.value));
17860
17860
  if (isMultipleValues && sumTotal > module.total) {
17861
- // Sum values instead of pecents to avoid precision issues when summing floats
17861
+ // Sum values instead of percents to avoid precision issues when summing floats
17862
17862
  module.error(error.sumExceedsTotal, sumTotal, module.total);
17863
17863
  } else if (!isMultipleValues && totalPercent > 100) {
17864
- // Sum before rounding since sum of rounded may have error though sum of actual is fine
17864
+ // Sum before rounding, since sum of rounded may have error though sum of actual is fine
17865
17865
  module.error(error.tooHigh, totalPercent);
17866
17866
  } else if (totalPercent < 0) {
17867
17867
  module.error(error.tooLow, totalPercent);
@@ -18293,7 +18293,7 @@
18293
18293
  total: false,
18294
18294
  value: false,
18295
18295
 
18296
- // delay in ms for fail safe animation callback
18296
+ // delay in ms for fail-safe animation callback
18297
18297
  failSafeDelay: 100,
18298
18298
 
18299
18299
  onLabelUpdate: function (state, text, value, total) {
@@ -18350,7 +18350,7 @@
18350
18350
  })(jQuery, window, document);
18351
18351
 
18352
18352
  /*!
18353
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Slider
18353
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Slider
18354
18354
  * https://github.com/fomantic/Fomantic-UI/
18355
18355
  *
18356
18356
  *
@@ -18622,7 +18622,7 @@
18622
18622
  isHover = false;
18623
18623
  });
18624
18624
  // All touch events are invoked on the element where the touch *started*. Thus, we can bind them all
18625
- // on the thumb(s) and don't need to worry about interference with other components, i.e. no dynamic binding
18625
+ // on the thumb(s) and don't need to worry about interference with other components, i.e., no dynamic binding
18626
18626
  // and unbinding required.
18627
18627
  $module.find('.thumb')
18628
18628
  .on('touchstart' + eventNamespace, module.event.touchDown)
@@ -18632,7 +18632,7 @@
18632
18632
  ;
18633
18633
  },
18634
18634
  slidingEvents: function () {
18635
- // these don't need the identifier because we only ever want one of them to be registered with document
18635
+ // these don't need the identifier because we only ever want one of them to be registered with the document
18636
18636
  module.verbose('Binding page wide events while handle is being draged');
18637
18637
  $document.on('mousemove' + eventNamespace, module.event.move);
18638
18638
  $document.on('mouseup' + eventNamespace, module.event.up);
@@ -18857,7 +18857,7 @@
18857
18857
  },
18858
18858
 
18859
18859
  resync: function () {
18860
- module.verbose('Resyncing thumb position based on value');
18860
+ module.verbose('Re-syncing thumb position based on value');
18861
18861
  module.setup.labels();
18862
18862
  if (module.is.range()) {
18863
18863
  module.update.position(module.secondThumbVal, $secondThumb);
@@ -19336,7 +19336,7 @@
19336
19336
  if (value !== difference) {
19337
19337
  module.verbose('Rounding value to closest step: ' + difference);
19338
19338
  }
19339
- // Use precision to avoid ugly Javascript floating point rounding issues
19339
+ // Use precision to avoid ugly JavaScript floating point rounding issues
19340
19340
  // (like 35 * .01 = 0.35000000000000003)
19341
19341
  module.verbose('Cutting off additional decimal places');
19342
19342
 
@@ -19897,7 +19897,7 @@
19897
19897
  })(jQuery, window, document);
19898
19898
 
19899
19899
  /*!
19900
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Rating
19900
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Rating
19901
19901
  * https://github.com/fomantic/Fomantic-UI/
19902
19902
  *
19903
19903
  *
@@ -20438,7 +20438,7 @@
20438
20438
  })(jQuery, window, document);
20439
20439
 
20440
20440
  /*!
20441
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Search
20441
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Search
20442
20442
  * https://github.com/fomantic/Fomantic-UI/
20443
20443
  *
20444
20444
  *
@@ -20573,7 +20573,7 @@
20573
20573
  determine: {
20574
20574
  searchFields: function () {
20575
20575
  // this makes sure $.extend does not add specified search fields to default fields
20576
- // this is the only setting which should not extend defaults
20576
+ // this is the only setting that should not extend defaults
20577
20577
  if (parameters && parameters.searchFields !== undefined) {
20578
20578
  settings.searchFields = Array.isArray(parameters.searchFields)
20579
20579
  ? parameters.searchFields
@@ -21099,7 +21099,7 @@
21099
21099
  ? searchFields
21100
21100
  : settings.searchFields;
21101
21101
 
21102
- // search fields should be array to loop correctly
21102
+ // search fields should be an array to loop correctly
21103
21103
  if (!Array.isArray(searchFields)) {
21104
21104
  searchFields = [searchFields];
21105
21105
  }
@@ -21377,7 +21377,7 @@
21377
21377
  id: function (results) {
21378
21378
  module.debug('Injecting unique ids into results');
21379
21379
  var
21380
- // since results may be object, we must use counters
21380
+ // since results may be an object, we must use counters
21381
21381
  categoryIndex = 0,
21382
21382
  resultIndex = 0
21383
21383
  ;
@@ -21781,7 +21781,7 @@
21781
21781
  // minimum characters required to search
21782
21782
  minCharacters: 1,
21783
21783
 
21784
- // whether to select first result after searching automatically
21784
+ // whether to select the first result after searching automatically
21785
21785
  selectFirstResult: false,
21786
21786
 
21787
21787
  // API config
@@ -21809,7 +21809,7 @@
21809
21809
  // Whether search result should highlight matching strings
21810
21810
  highlightMatches: false,
21811
21811
 
21812
- // match results also if they contain diacritics of the same base character (for example searching for "a" will also match "á" or "â" or "à", etc...)
21812
+ // match results also if they contain diacritics of the same base character (for example, searching for "a" will also match "á" or "â" or "à", etc...)
21813
21813
  ignoreDiacritics: false,
21814
21814
 
21815
21815
  // whether to consider case sensitivity on local searching
@@ -21818,7 +21818,7 @@
21818
21818
  // whether to add events to prompt automatically
21819
21819
  automatic: true,
21820
21820
 
21821
- // delay before hiding menu after blur
21821
+ // delay before hiding the menu after blur
21822
21822
  hideDelay: 0,
21823
21823
 
21824
21824
  // delay before searching
@@ -22080,7 +22080,7 @@
22080
22080
  })(jQuery, window, document);
22081
22081
 
22082
22082
  /*!
22083
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Shape
22083
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Shape
22084
22084
  * https://github.com/fomantic/Fomantic-UI/
22085
22085
  *
22086
22086
  *
@@ -22848,7 +22848,7 @@
22848
22848
  onBeforeChange: function () {},
22849
22849
  onChange: function () {},
22850
22850
 
22851
- // allow animation to same side
22851
+ // allow animation to the same side
22852
22852
  allowRepeats: false,
22853
22853
 
22854
22854
  // animation duration
@@ -22878,7 +22878,7 @@
22878
22878
  })(jQuery, window, document);
22879
22879
 
22880
22880
  /*!
22881
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Sidebar
22881
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Sidebar
22882
22882
  * https://github.com/fomantic/Fomantic-UI/
22883
22883
  *
22884
22884
  *
@@ -23268,7 +23268,7 @@
23268
23268
  if (module.othersActive()) {
23269
23269
  module.debug('Other sidebars currently visible');
23270
23270
  if (settings.exclusive) {
23271
- // if not overlay queue animation after hide
23271
+ // if not overlay, queue animation after hide
23272
23272
  if (settings.transition !== 'overlay') {
23273
23273
  module.hideOthers(module.show);
23274
23274
 
@@ -23933,7 +23933,7 @@
23933
23933
  })(jQuery, window, document);
23934
23934
 
23935
23935
  /*!
23936
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Sticky
23936
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Sticky
23937
23937
  * https://github.com/fomantic/Fomantic-UI/
23938
23938
  *
23939
23939
  *
@@ -24805,10 +24805,10 @@
24805
24805
  // Offset to adjust scroll when attached to bottom of screen
24806
24806
  bottomOffset: 0,
24807
24807
 
24808
- // will only set container height if difference between context and container is larger than this number
24808
+ // will only set container height if the difference between context and container is larger than this number
24809
24809
  jitter: 5,
24810
24810
 
24811
- // set width of sticky element when it is fixed to page (used to make sure 100% width is maintained if no fixed size set)
24811
+ // set width of the sticky element when it is fixed to page (used to make sure 100% width is maintained if no fixed size set)
24812
24812
  setSize: true,
24813
24813
 
24814
24814
  // Whether to automatically observe changes with Mutation Observers
@@ -24820,10 +24820,10 @@
24820
24820
  // Called on each scroll
24821
24821
  onScroll: function () {},
24822
24822
 
24823
- // Called when element is stuck to viewport
24823
+ // Called when the element is stuck to viewport
24824
24824
  onStick: function () {},
24825
24825
 
24826
- // Called when element is unstuck from viewport
24826
+ // Called when the element is unstuck from viewport
24827
24827
  onUnstick: function () {},
24828
24828
 
24829
24829
  // Called when element reaches top of context
@@ -24851,7 +24851,7 @@
24851
24851
  })(jQuery, window, document);
24852
24852
 
24853
24853
  /*!
24854
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Tab
24854
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Tab
24855
24855
  * https://github.com/fomantic/Fomantic-UI/
24856
24856
  *
24857
24857
  *
@@ -25172,7 +25172,7 @@
25172
25172
  pushStateAvailable = window.history && window.history.pushState,
25173
25173
  shouldIgnoreLoad = pushStateAvailable && settings.ignoreFirstLoad && firstLoad,
25174
25174
  remoteContent = settings.auto || $.isPlainObject(settings.apiSettings),
25175
- // only add default path if not remote content
25175
+ // only add the default path if not remote content
25176
25176
  pathArray = remoteContent && !shouldIgnoreLoad
25177
25177
  ? module.utilities.pathToArray(tabPath)
25178
25178
  : module.get.defaultPathArray(tabPath)
@@ -25244,7 +25244,7 @@
25244
25244
  $anchor = $('#' + tabPath + ', a[name="' + tabPath + '"]');
25245
25245
  currentPath = $anchor.closest('[data-tab]').data(metadata.tab);
25246
25246
  $tab = module.get.tabElement(currentPath);
25247
- // if anchor exists use parent tab
25247
+ // if anchor exists, use parent tab
25248
25248
  if ($anchor && $anchor.length > 0 && currentPath) {
25249
25249
  module.debug('Anchor link used, opening parent tab', $tab, $anchor);
25250
25250
  if (settings.onBeforeChange.call(element, currentPath) === false) {
@@ -25323,9 +25323,6 @@
25323
25323
  encodeParameters: false,
25324
25324
  on: 'now',
25325
25325
  cache: settings.alwaysRefresh,
25326
- headers: {
25327
- 'X-Remote': true,
25328
- },
25329
25326
  onSuccess: function (response) {
25330
25327
  if (settings.cacheType === 'response') {
25331
25328
  module.cache.add(fullTabPath, response);
@@ -25470,7 +25467,7 @@
25470
25467
  path: function () {
25471
25468
  return $.address.value();
25472
25469
  },
25473
- // adds default tabs to tab path
25470
+ // adds default tabs to the tab path
25474
25471
  defaultPathArray: function (tabPath) {
25475
25472
  return module.utilities.pathToArray(module.get.defaultPath(tabPath));
25476
25473
  },
@@ -25754,7 +25751,7 @@
25754
25751
  verbose: false,
25755
25752
  performance: true,
25756
25753
 
25757
- auto: false, // uses pjax style endpoints fetching content from same url with remote-content headers
25754
+ auto: false, // uses pjax style endpoints fetching content from the same url with remote-content headers
25758
25755
  history: false, // use browser history
25759
25756
  historyType: 'hash', // #/ or html5 state
25760
25757
  path: false, // base path of url
@@ -25768,21 +25765,21 @@
25768
25765
  alwaysRefresh: false, // load tab content new every tab click
25769
25766
  cache: true, // cache the content requests to pull locally
25770
25767
  loadOnce: false, // Whether tab data should only be loaded once when using remote content
25771
- cacheType: 'response', // Whether to cache exact response, or to html cache contents after scripts execute
25772
- ignoreFirstLoad: false, // don't load remote content on first load
25768
+ cacheType: 'response', // Whether to cache exact response, or to HTML cache contents after scripts execute
25769
+ ignoreFirstLoad: false, // don't load remote content on the first load
25773
25770
 
25774
25771
  apiSettings: false, // settings for api call
25775
25772
  evaluateScripts: 'once', // whether inline scripts should be parsed (true/false/once). Once will not re-evaluate on cached content
25776
- autoTabActivation: true, // whether a non existing active tab will auto activate the first available tab
25773
+ autoTabActivation: true, // whether a non-existing active tab will auto activate the first available tab
25777
25774
 
25778
25775
  onFirstLoad: function (tabPath, parameterArray, historyEvent) {}, // called first time loaded
25779
25776
  onLoad: function (tabPath, parameterArray, historyEvent) {}, // called on every load
25780
25777
  onVisible: function (tabPath, parameterArray, historyEvent) {}, // called every time tab visible
25781
- onRequest: function (tabPath, parameterArray, historyEvent) {}, // called ever time a tab beings loading remote content
25778
+ onRequest: function (tabPath, parameterArray, historyEvent) {}, // called every time a tab beings loading remote content
25782
25779
  onBeforeChange: function (tabPath) {}, // called before a tab is about to be changed. Returning false will cancel the tab change
25783
25780
 
25784
25781
  templates: {
25785
- determineTitle: function (tabArray) {}, // returns page title for path
25782
+ determineTitle: function (tabArray) {}, // returns page title for the path
25786
25783
  },
25787
25784
 
25788
25785
  error: {
@@ -25819,7 +25816,7 @@
25819
25816
  })(jQuery, window, document);
25820
25817
 
25821
25818
  /*!
25822
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Toast
25819
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Toast
25823
25820
  * https://github.com/fomantic/Fomantic-UI/
25824
25821
  *
25825
25822
  *
@@ -26646,8 +26643,8 @@
26646
26643
 
26647
26644
  title: '',
26648
26645
  message: '',
26649
- displayTime: 3000, // set to zero to require manually dismissal, otherwise hides on its own
26650
- minDisplayTime: 1000, // minimum displaytime in case displayTime is set to 'auto'
26646
+ displayTime: 3000, // set to zero to require manual dismissal, otherwise hides on its own
26647
+ minDisplayTime: 1000, // minimum display time in case displayTime is set to 'auto'
26651
26648
  wordsPerMinute: 120,
26652
26649
  showIcon: false,
26653
26650
  newestOnTop: false,
@@ -26670,7 +26667,7 @@
26670
26667
  showDuration: 500,
26671
26668
  hideMethod: 'scale',
26672
26669
  hideDuration: 500,
26673
- closeEasing: 'easeOutCubic', // Set to empty string to stack the closed toast area immediately (old behaviour)
26670
+ closeEasing: 'easeOutCubic', // Set to empty string to stack the closed toast area immediately (old behavior)
26674
26671
  closeDuration: 500,
26675
26672
  },
26676
26673
 
@@ -26784,7 +26781,7 @@
26784
26781
  })(jQuery, window, document);
26785
26782
 
26786
26783
  /*!
26787
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Transition
26784
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Transition
26788
26785
  * https://github.com/fomantic/Fomantic-UI/
26789
26786
  *
26790
26787
  *
@@ -27373,7 +27370,7 @@
27373
27370
  if (shouldDetermine && $module.data(metadata.displayType) === undefined) {
27374
27371
  var currentDisplay = $module.css('display');
27375
27372
  if (currentDisplay === '' || currentDisplay === 'none') {
27376
- // create fake element to determine display state
27373
+ // create a fake element to determine display state
27377
27374
  module.can.transition(true);
27378
27375
  } else {
27379
27376
  module.save.displayType(currentDisplay);
@@ -27752,7 +27749,7 @@
27752
27749
  // event namespace
27753
27750
  namespace: 'transition',
27754
27751
 
27755
- // delay between animations in group
27752
+ // delay between animations in a group
27756
27753
  interval: 0,
27757
27754
 
27758
27755
  // whether group animations should be reversed
@@ -27775,13 +27772,13 @@
27775
27772
  // whether timeout should be used to ensure callback fires in cases animationend does not
27776
27773
  useFailSafe: true,
27777
27774
 
27778
- // delay in ms for fail safe
27775
+ // delay in ms for fail-safe
27779
27776
  failSafeDelay: 100,
27780
27777
 
27781
27778
  // whether EXACT animation can occur twice in a row
27782
27779
  allowRepeats: false,
27783
27780
 
27784
- // Override final display type on visible
27781
+ // Override the final display type on visible
27785
27782
  displayType: false,
27786
27783
 
27787
27784
  // animation duration
@@ -27819,7 +27816,7 @@
27819
27816
  })(jQuery, window, document);
27820
27817
 
27821
27818
  /*!
27822
- * # Fomantic-UI 2.10.0-beta.1+bee406e - API
27819
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - API
27823
27820
  * https://github.com/fomantic/Fomantic-UI/
27824
27821
  *
27825
27822
  *
@@ -28031,7 +28028,7 @@
28031
28028
  // call beforesend and get any settings changes
28032
28029
  requestSettings = module.get.settings();
28033
28030
 
28034
- // check if before send cancelled request
28031
+ // check if before send canceled request
28035
28032
  if (requestSettings === false) {
28036
28033
  module.cancelled = true;
28037
28034
  module.error(error.beforeSend);
@@ -28587,8 +28584,8 @@
28587
28584
  },
28588
28585
  errorFromRequest: function (response, status, httpMessage) {
28589
28586
  return $.isPlainObject(response) && response.error !== undefined
28590
- ? response.error // use json error message
28591
- : (settings.error[status] !== undefined // use server error message
28587
+ ? response.error // use JSON error message
28588
+ : (settings.error[status] !== undefined // use the server error message
28592
28589
  ? settings.error[status]
28593
28590
  : httpMessage);
28594
28591
  },
@@ -28945,7 +28942,7 @@
28945
28942
  // whether to add default data to url data
28946
28943
  defaultData: true,
28947
28944
 
28948
- // whether to serialize closest form
28945
+ // whether to serialize the closest form
28949
28946
  // use true to convert complex named keys like a[b][1][c][] into a nested object
28950
28947
  // use 'formdata' for formdata web api
28951
28948
  serializeForm: false,
@@ -28982,7 +28979,7 @@
28982
28979
  // after request
28983
28980
  onResponse: false, // function(response) { },
28984
28981
 
28985
- // response was successful, if JSON passed validation
28982
+ // response was successful if JSON passed validation
28986
28983
  onSuccess: function (response, $module) {},
28987
28984
 
28988
28985
  // request finished without aborting
@@ -29045,7 +29042,7 @@
29045
29042
  })(jQuery, window, document);
29046
29043
 
29047
29044
  /*!
29048
- * # Fomantic-UI 2.10.0-beta.1+bee406e - State
29045
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - State
29049
29046
  * https://github.com/fomantic/Fomantic-UI/
29050
29047
  *
29051
29048
  *
@@ -29119,7 +29116,7 @@
29119
29116
  initialize: function () {
29120
29117
  module.verbose('Initializing module');
29121
29118
 
29122
- // allow module to guess desired state based on element
29119
+ // allow module to guess the desired state based on the element
29123
29120
  if (settings.automatic) {
29124
29121
  module.add.defaults();
29125
29122
  }
@@ -29661,7 +29658,7 @@
29661
29658
  // whether to automatically map default states
29662
29659
  automatic: true,
29663
29660
 
29664
- // activate / deactivate changes all elements instantiated at same time
29661
+ // activate / deactivate changes all elements instantiated at the same time
29665
29662
  sync: false,
29666
29663
 
29667
29664
  // default flash text duration, used for temporarily changing text of an element
@@ -29743,7 +29740,7 @@
29743
29740
  })(jQuery, window, document);
29744
29741
 
29745
29742
  /*!
29746
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Visibility
29743
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Visibility
29747
29744
  * https://github.com/fomantic/Fomantic-UI/
29748
29745
  *
29749
29746
  *
@@ -30955,7 +30952,7 @@
30955
30952
  // whether to refresh calculations after page resize event
30956
30953
  refreshOnResize: true,
30957
30954
 
30958
- // should call callbacks on refresh event (resize, etc)
30955
+ // should call callbacks on refresh event (resize, etc.)
30959
30956
  checkOnRefresh: true,
30960
30957
 
30961
30958
  // callback should only occur one time