fomantic-ui 2.10.0-beta.2 → 2.10.0-beta.4

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 (264) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/CONTRIBUTING.md +4 -1
  3. package/CONTRIBUTORS.md +1 -0
  4. package/FAQ.md +7 -2
  5. package/README.md +1 -4
  6. package/ROADMAP.md +4 -4
  7. package/SECURITY.md +8 -7
  8. package/dist/components/accordion.css +1 -1
  9. package/dist/components/accordion.js +1 -1
  10. package/dist/components/accordion.min.css +1 -1
  11. package/dist/components/accordion.min.js +1 -1
  12. package/dist/components/ad.css +1 -1
  13. package/dist/components/ad.min.css +1 -1
  14. package/dist/components/api.js +6 -6
  15. package/dist/components/api.min.js +1 -1
  16. package/dist/components/breadcrumb.css +1 -1
  17. package/dist/components/breadcrumb.min.css +1 -1
  18. package/dist/components/button.css +1 -2
  19. package/dist/components/button.min.css +2 -2
  20. package/dist/components/calendar.css +1 -2
  21. package/dist/components/calendar.js +7 -7
  22. package/dist/components/calendar.min.css +2 -2
  23. package/dist/components/calendar.min.js +2 -2
  24. package/dist/components/card.css +1 -1
  25. package/dist/components/card.min.css +1 -1
  26. package/dist/components/checkbox.css +1 -2
  27. package/dist/components/checkbox.js +1 -9
  28. package/dist/components/checkbox.min.css +2 -2
  29. package/dist/components/checkbox.min.js +2 -2
  30. package/dist/components/comment.css +1 -1
  31. package/dist/components/comment.min.css +1 -1
  32. package/dist/components/container.css +2 -4
  33. package/dist/components/container.min.css +2 -2
  34. package/dist/components/dimmer.css +1 -11
  35. package/dist/components/dimmer.js +4 -4
  36. package/dist/components/dimmer.min.css +2 -2
  37. package/dist/components/dimmer.min.js +1 -1
  38. package/dist/components/divider.css +1 -2
  39. package/dist/components/divider.min.css +2 -2
  40. package/dist/components/dropdown.css +24 -47
  41. package/dist/components/dropdown.js +30 -34
  42. package/dist/components/dropdown.min.css +2 -2
  43. package/dist/components/dropdown.min.js +2 -2
  44. package/dist/components/embed.css +1 -1
  45. package/dist/components/embed.js +2 -2
  46. package/dist/components/embed.min.css +1 -1
  47. package/dist/components/embed.min.js +1 -1
  48. package/dist/components/emoji.css +1 -1
  49. package/dist/components/emoji.min.css +1 -1
  50. package/dist/components/feed.css +1 -1
  51. package/dist/components/feed.min.css +1 -1
  52. package/dist/components/flag.css +1 -1
  53. package/dist/components/flag.min.css +1 -1
  54. package/dist/components/flyout.css +2 -3
  55. package/dist/components/flyout.js +5 -45
  56. package/dist/components/flyout.min.css +2 -2
  57. package/dist/components/flyout.min.js +2 -2
  58. package/dist/components/form.css +5 -95
  59. package/dist/components/form.js +11 -16
  60. package/dist/components/form.min.css +2 -2
  61. package/dist/components/form.min.js +2 -2
  62. package/dist/components/grid.css +2 -58
  63. package/dist/components/grid.min.css +2 -2
  64. package/dist/components/header.css +1 -1
  65. package/dist/components/header.min.css +1 -1
  66. package/dist/components/icon.css +4 -4
  67. package/dist/components/icon.min.css +2 -2
  68. package/dist/components/image.css +1 -1
  69. package/dist/components/image.min.css +1 -1
  70. package/dist/components/input.css +1 -536
  71. package/dist/components/input.min.css +2 -2
  72. package/dist/components/item.css +1 -1
  73. package/dist/components/item.min.css +1 -1
  74. package/dist/components/label.css +1 -1
  75. package/dist/components/label.min.css +1 -1
  76. package/dist/components/list.css +1 -3
  77. package/dist/components/list.min.css +2 -2
  78. package/dist/components/loader.css +1 -1
  79. package/dist/components/loader.min.css +1 -1
  80. package/dist/components/menu.css +1 -9
  81. package/dist/components/menu.min.css +2 -2
  82. package/dist/components/message.css +1 -1
  83. package/dist/components/message.min.css +1 -1
  84. package/dist/components/modal.css +5 -9
  85. package/dist/components/modal.js +6 -30
  86. package/dist/components/modal.min.css +2 -2
  87. package/dist/components/modal.min.js +2 -2
  88. package/dist/components/nag.css +1 -1
  89. package/dist/components/nag.js +2 -2
  90. package/dist/components/nag.min.css +1 -1
  91. package/dist/components/nag.min.js +1 -1
  92. package/dist/components/placeholder.css +1 -1
  93. package/dist/components/placeholder.min.css +1 -1
  94. package/dist/components/popup.css +1 -2
  95. package/dist/components/popup.js +8 -8
  96. package/dist/components/popup.min.css +2 -2
  97. package/dist/components/popup.min.js +1 -1
  98. package/dist/components/progress.css +1 -1
  99. package/dist/components/progress.js +7 -7
  100. package/dist/components/progress.min.css +1 -1
  101. package/dist/components/progress.min.js +1 -1
  102. package/dist/components/rail.css +1 -1
  103. package/dist/components/rail.min.css +1 -1
  104. package/dist/components/rating.css +1 -1
  105. package/dist/components/rating.js +1 -1
  106. package/dist/components/rating.min.css +1 -1
  107. package/dist/components/rating.min.js +1 -1
  108. package/dist/components/reset.css +1 -1
  109. package/dist/components/reset.min.css +1 -1
  110. package/dist/components/reveal.css +1 -1
  111. package/dist/components/reveal.min.css +1 -1
  112. package/dist/components/search.css +2 -9
  113. package/dist/components/search.js +8 -8
  114. package/dist/components/search.min.css +2 -2
  115. package/dist/components/search.min.js +2 -2
  116. package/dist/components/segment.css +2 -7
  117. package/dist/components/segment.min.css +2 -2
  118. package/dist/components/shape.css +1 -2
  119. package/dist/components/shape.js +2 -2
  120. package/dist/components/shape.min.css +2 -2
  121. package/dist/components/shape.min.js +1 -1
  122. package/dist/components/sidebar.css +2 -3
  123. package/dist/components/sidebar.js +3 -44
  124. package/dist/components/sidebar.min.css +2 -2
  125. package/dist/components/sidebar.min.js +2 -2
  126. package/dist/components/site.css +9 -25
  127. package/dist/components/site.js +1 -1
  128. package/dist/components/site.min.css +2 -2
  129. package/dist/components/site.min.js +1 -1
  130. package/dist/components/slider.css +1 -1
  131. package/dist/components/slider.js +5 -5
  132. package/dist/components/slider.min.css +1 -1
  133. package/dist/components/slider.min.js +2 -2
  134. package/dist/components/state.js +3 -3
  135. package/dist/components/state.min.js +1 -1
  136. package/dist/components/statistic.css +1 -1
  137. package/dist/components/statistic.min.css +1 -1
  138. package/dist/components/step.css +1 -1
  139. package/dist/components/step.min.css +1 -1
  140. package/dist/components/sticky.css +1 -1
  141. package/dist/components/sticky.js +5 -5
  142. package/dist/components/sticky.min.css +1 -1
  143. package/dist/components/sticky.min.js +1 -1
  144. package/dist/components/tab.css +1 -1
  145. package/dist/components/tab.js +10 -10
  146. package/dist/components/tab.min.css +1 -1
  147. package/dist/components/tab.min.js +1 -1
  148. package/dist/components/table.css +3 -37
  149. package/dist/components/table.min.css +2 -2
  150. package/dist/components/text.css +1 -1
  151. package/dist/components/text.min.css +1 -1
  152. package/dist/components/toast.css +1 -3
  153. package/dist/components/toast.js +5 -5
  154. package/dist/components/toast.min.css +1 -1
  155. package/dist/components/toast.min.js +2 -2
  156. package/dist/components/transition.css +1 -1
  157. package/dist/components/transition.js +6 -6
  158. package/dist/components/transition.min.css +1 -1
  159. package/dist/components/transition.min.js +1 -1
  160. package/dist/components/visibility.js +2 -2
  161. package/dist/components/visibility.min.js +1 -1
  162. package/dist/semantic.css +92 -1100
  163. package/dist/semantic.js +142 -264
  164. package/dist/semantic.min.css +2 -2
  165. package/dist/semantic.min.js +2 -2
  166. package/package.json +3 -4
  167. package/src/README.md +3 -3
  168. package/src/definitions/behaviors/api.js +5 -5
  169. package/src/definitions/behaviors/form.js +10 -15
  170. package/src/definitions/behaviors/state.js +2 -2
  171. package/src/definitions/behaviors/visibility.js +1 -1
  172. package/src/definitions/collections/form.less +1 -13
  173. package/src/definitions/collections/grid.less +1 -61
  174. package/src/definitions/collections/menu.less +0 -11
  175. package/src/definitions/collections/table.less +1 -35
  176. package/src/definitions/elements/input.less +1 -61
  177. package/src/definitions/elements/segment.less +0 -6
  178. package/src/definitions/globals/site.less +2 -18
  179. package/src/definitions/modules/calendar.js +6 -6
  180. package/src/definitions/modules/checkbox.js +0 -8
  181. package/src/definitions/modules/dimmer.js +3 -3
  182. package/src/definitions/modules/dimmer.less +0 -9
  183. package/src/definitions/modules/dropdown.js +29 -33
  184. package/src/definitions/modules/dropdown.less +20 -42
  185. package/src/definitions/modules/embed.js +1 -1
  186. package/src/definitions/modules/flyout.js +4 -44
  187. package/src/definitions/modules/modal.js +5 -29
  188. package/src/definitions/modules/modal.less +1 -1
  189. package/src/definitions/modules/nag.js +1 -1
  190. package/src/definitions/modules/popup.js +7 -7
  191. package/src/definitions/modules/progress.js +6 -6
  192. package/src/definitions/modules/search.js +7 -7
  193. package/src/definitions/modules/search.less +0 -3
  194. package/src/definitions/modules/shape.js +1 -1
  195. package/src/definitions/modules/sidebar.js +2 -43
  196. package/src/definitions/modules/slider.js +4 -4
  197. package/src/definitions/modules/slider.less +1 -1
  198. package/src/definitions/modules/sticky.js +4 -4
  199. package/src/definitions/modules/tab.js +9 -9
  200. package/src/definitions/modules/toast.js +4 -4
  201. package/src/definitions/modules/toast.less +1 -1
  202. package/src/definitions/modules/transition.js +5 -5
  203. package/src/theme.less +0 -13
  204. package/src/themes/basic/elements/icon.variables +1 -1
  205. package/src/themes/default/collections/grid.variables +0 -30
  206. package/src/themes/default/collections/table.variables +1 -5
  207. package/src/themes/default/elements/icon.variables +3 -3
  208. package/src/themes/default/globals/site.variables +8 -15
  209. package/src/themes/default/globals/variation.variables +0 -1
  210. package/src/themes/default/modules/slider.variables +1 -1
  211. package/src/themes/github/elements/icon.variables +1 -1
  212. package/src/themes/material/elements/icon.variables +1 -1
  213. package/tasks/README.md +1 -1
  214. package/tasks/admin/components/create.js +1 -14
  215. package/tasks/admin/components/init.js +12 -37
  216. package/tasks/admin/components/update.js +7 -11
  217. package/tasks/admin/distributions/create.js +1 -11
  218. package/tasks/admin/distributions/init.js +10 -35
  219. package/tasks/admin/distributions/update.js +7 -8
  220. package/tasks/admin/publish.js +1 -1
  221. package/tasks/admin/register.js +3 -4
  222. package/tasks/admin/release.js +2 -2
  223. package/tasks/build/css.js +5 -5
  224. package/tasks/build/javascript.js +3 -3
  225. package/tasks/check-install.js +0 -1
  226. package/tasks/clean.js +5 -5
  227. package/tasks/collections/admin.js +1 -1
  228. package/tasks/collections/docs.js +2 -2
  229. package/tasks/config/admin/github.js +2 -10
  230. package/tasks/config/admin/templates/README.md +2 -2
  231. package/tasks/config/admin/templates/bower.json +2 -4
  232. package/tasks/config/admin/templates/composer.json +1 -1
  233. package/tasks/config/admin/templates/css-package.js +0 -1
  234. package/tasks/config/project/config.js +6 -6
  235. package/tasks/config/project/install.js +3 -4
  236. package/tasks/config/project/release.js +1 -1
  237. package/tasks/config/tasks.js +2 -9
  238. package/tasks/config/user.js +2 -4
  239. package/tasks/docs/metadata.js +8 -11
  240. package/tasks/docs/serve.js +3 -1
  241. package/tasks/install.js +14 -20
  242. package/tasks/rtl/watch.js +1 -1
  243. package/tasks/watch.js +4 -2
  244. package/types/fomantic-ui-calendar.d.ts +1 -1
  245. package/types/fomantic-ui-dropdown.d.ts +1 -1
  246. package/types/fomantic-ui-flyout.d.ts +1 -1
  247. package/types/fomantic-ui-form.d.ts +0 -7
  248. package/types/fomantic-ui-modal.d.ts +1 -1
  249. package/types/fomantic-ui-search.d.ts +6 -0
  250. package/types/fomantic-ui-toast.d.ts +1 -1
  251. package/src/themes/basic/assets/fonts/icons.woff +0 -0
  252. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  253. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  254. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  255. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  256. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  257. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  258. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  259. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  260. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  261. package/src/themes/default/assets/fonts/icons.woff +0 -0
  262. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  263. package/src/themes/github/assets/fonts/octicons.woff +0 -0
  264. package/src/themes/material/assets/fonts/icons.woff +0 -0
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.2+d30ebd7
2
+ * # Fomantic UI - 2.10.0-beta.4+fcf090f
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.2+d30ebd7 - Site
12
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - 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.2+d30ebd7 - Form Validation
468
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - 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
  }
@@ -2309,11 +2309,6 @@
2309
2309
  return !(value === undefined || value === '' || (Array.isArray(value) && value.length === 0));
2310
2310
  },
2311
2311
 
2312
- /* Deprecated */
2313
- empty: function (value) {
2314
- return $.fn.form.settings.rules.notEmpty(value);
2315
- },
2316
-
2317
2312
  // checkbox checked
2318
2313
  checked: function () {
2319
2314
  return $(this).filter(':checked').length > 0;
@@ -2324,7 +2319,7 @@
2324
2319
  return $.fn.form.settings.regExp.email.test(value);
2325
2320
  },
2326
2321
 
2327
- // value is most likely url
2322
+ // value is most likely the url
2328
2323
  url: function (value) {
2329
2324
  return $.fn.form.settings.regExp.url.test(value);
2330
2325
  },
@@ -2400,7 +2395,7 @@
2400
2395
  );
2401
2396
  },
2402
2397
 
2403
- // is valid number (with decimal)
2398
+ // is it a valid number (with decimal)
2404
2399
  decimal: function (value, range) {
2405
2400
  return $.fn.form.settings.rules.range(value, range, 'decimal');
2406
2401
  },
@@ -2410,7 +2405,7 @@
2410
2405
  return $.fn.form.settings.rules.range(value, range, 'number');
2411
2406
  },
2412
2407
 
2413
- // is value (case insensitive)
2408
+ // is value (case-insensitive)
2414
2409
  is: function (value, text) {
2415
2410
  text = typeof text === 'string'
2416
2411
  ? text.toLowerCase()
@@ -2427,7 +2422,7 @@
2427
2422
  return value == text;
2428
2423
  },
2429
2424
 
2430
- // value is not another value (case insensitive)
2425
+ // value is not another value (case-insensitive)
2431
2426
  not: function (value, notValue) {
2432
2427
  value = typeof value === 'string'
2433
2428
  ? value.toLowerCase()
@@ -2439,7 +2434,7 @@
2439
2434
  return value != notValue;
2440
2435
  },
2441
2436
 
2442
- // value is not another value (case sensitive)
2437
+ // value is not another value (case-sensitive)
2443
2438
  notExactly: function (value, notValue) {
2444
2439
  return value != notValue;
2445
2440
  },
@@ -2504,7 +2499,7 @@
2504
2499
  : false;
2505
2500
  },
2506
2501
 
2507
- // different than another field
2502
+ // different from another field
2508
2503
  different: function (value, identifier, module) {
2509
2504
  var matchingValue = module.get.value(identifier, true);
2510
2505
 
@@ -2665,7 +2660,7 @@
2665
2660
  })(jQuery, window, document);
2666
2661
 
2667
2662
  /*!
2668
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Accordion
2663
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Accordion
2669
2664
  * https://github.com/fomantic/Fomantic-UI/
2670
2665
  *
2671
2666
  *
@@ -3261,7 +3256,7 @@
3261
3256
  })(jQuery, window, document);
3262
3257
 
3263
3258
  /*!
3264
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Calendar
3259
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Calendar
3265
3260
  * https://github.com/fomantic/Fomantic-UI/
3266
3261
  *
3267
3262
  *
@@ -3411,7 +3406,7 @@
3411
3406
  $container = $('<div/>', { id: module.popupId }).addClass(className.popup).appendTo($document.find(settings.context));
3412
3407
  } else {
3413
3408
  // 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)
3409
+ // the styling (e.g., input action button needs to be the last child to have the correct border radius)
3415
3410
  var
3416
3411
  $activatorParent = $activator.parent(),
3417
3412
  domPositionFunction = $activatorParent.closest(selector.append).length > 0 ? 'appendTo' : 'prependTo'
@@ -3893,7 +3888,7 @@
3893
3888
  }
3894
3889
  var parent = target.parent();
3895
3890
  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)
3891
+ // clicked on a child element, switch to parent (used when clicking directly on the prev/next <i> icon element)
3897
3892
  target = parent;
3898
3893
  }
3899
3894
  var date = target.data(metadata.date);
@@ -4885,12 +4880,12 @@
4885
4880
 
4886
4881
  context: false,
4887
4882
 
4888
- type: 'datetime', // picker type, can be 'datetime', 'date', 'time', 'month', or 'year'
4883
+ type: 'datetime', // picker type. can be 'datetime', 'date', 'time', 'month', or 'year'
4889
4884
  firstDayOfWeek: 0, // day for first day column (0 = Sunday)
4890
4885
  constantHeight: true, // add rows to shorter months to keep day calendar height consistent (6 rows)
4891
4886
  today: false, // show a 'today/now' button at the bottom of the calendar
4892
4887
  closable: true, // close the popup after selecting a date/time
4893
- monthFirst: true, // month before day when parsing date from text
4888
+ monthFirst: false, // month before day when parsing date from a text
4894
4889
  touchReadonly: true, // set input to readonly on touch devices
4895
4890
  inline: false, // create the calendar inline instead of inside a popup
4896
4891
  on: null, // when to show the popup (defaults to 'focus' for input, 'click' for others)
@@ -4907,7 +4902,7 @@
4907
4902
  multiMonth: 1, // show multiple months when in 'day' mode
4908
4903
  monthOffset: 0, // position current month by offset when multimonth > 1
4909
4904
  minTimeGap: 5,
4910
- showWeekNumbers: false, // show Number of Week at the very first column of a dayView
4905
+ showWeekNumbers: false, // show Number of Weeks at the very first column of a dayView
4911
4906
  disabledHours: [], // specific hour(s) which won't be selectable and contain additional information.
4912
4907
  disabledDates: [], // specific day(s) which won't be selectable and contain additional information.
4913
4908
  disabledDaysOfWeek: [], // day(s) which won't be selectable(s) (0 = Sunday)
@@ -5202,7 +5197,7 @@
5202
5197
 
5203
5198
  var date = new Date(year, month - 1, day, hour, minute);
5204
5199
  if (date.getMonth() !== month - 1 || date.getFullYear() !== year) {
5205
- // month or year don't match up, switch to last day of the month
5200
+ // month or year don't match up, switch to the last day of the month
5206
5201
  date = new Date(year, month, 0, hour, minute);
5207
5202
  }
5208
5203
 
@@ -5307,7 +5302,7 @@
5307
5302
  })(jQuery, window, document);
5308
5303
 
5309
5304
  /*!
5310
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Checkbox
5305
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Checkbox
5311
5306
  * https://github.com/fomantic/Fomantic-UI/
5312
5307
  *
5313
5308
  *
@@ -5641,8 +5636,6 @@
5641
5636
  module.set.enabled();
5642
5637
  if (!module.should.ignoreCallbacks()) {
5643
5638
  settings.onEnable.call(input);
5644
- // preserve legacy callbacks
5645
- settings.onEnabled.call(input);
5646
5639
  }
5647
5640
  },
5648
5641
 
@@ -5656,8 +5649,6 @@
5656
5649
  module.set.disabled();
5657
5650
  if (!module.should.ignoreCallbacks()) {
5658
5651
  settings.onDisable.call(input);
5659
- // preserve legacy callbacks
5660
- settings.onDisabled.call(input);
5661
5652
  }
5662
5653
  },
5663
5654
 
@@ -6167,10 +6158,6 @@
6167
6158
  onEnable: function () {},
6168
6159
  onDisable: function () {},
6169
6160
 
6170
- // preserve misspelled callbacks (will be removed in 3.0)
6171
- onEnabled: function () {},
6172
- onDisabled: function () {},
6173
-
6174
6161
  className: {
6175
6162
  checked: 'checked',
6176
6163
  indeterminate: 'indeterminate',
@@ -6196,7 +6183,7 @@
6196
6183
  })(jQuery, window, document);
6197
6184
 
6198
6185
  /*!
6199
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Dimmer
6186
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Dimmer
6200
6187
  * https://github.com/fomantic/Fomantic-UI/
6201
6188
  *
6202
6189
  *
@@ -6840,7 +6827,7 @@
6840
6827
  verbose: false,
6841
6828
  performance: true,
6842
6829
 
6843
- // whether should use flex layout
6830
+ // whether flex layout should be used
6844
6831
  useFlex: true,
6845
6832
 
6846
6833
  // name to distinguish between multiple dimmers in context
@@ -6852,10 +6839,10 @@
6852
6839
  // whether to bind close events
6853
6840
  closable: 'auto',
6854
6841
 
6855
- // whether to use css animations
6842
+ // whether to use CSS animations
6856
6843
  useCSS: true,
6857
6844
 
6858
- // css animation to use
6845
+ // CSS animation to use
6859
6846
  transition: 'fade',
6860
6847
 
6861
6848
  // event to bind to
@@ -6929,7 +6916,7 @@
6929
6916
  })(jQuery, window, document);
6930
6917
 
6931
6918
  /*!
6932
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Dropdown
6919
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Dropdown
6933
6920
  * https://github.com/fomantic/Fomantic-UI/
6934
6921
  *
6935
6922
  *
@@ -7394,7 +7381,7 @@
7394
7381
  $firstModules = $allModules.slice(0, elementIndex),
7395
7382
  $lastModules = $allModules.slice(elementIndex + 1)
7396
7383
  ;
7397
- // adjust all modules to use correct reference
7384
+ // adjust all modules to use the correct reference
7398
7385
  $allModules = $firstModules.add($module).add($lastModules);
7399
7386
  },
7400
7387
  },
@@ -8101,7 +8088,7 @@
8101
8088
  },
8102
8089
  mousedown: function () {
8103
8090
  if (module.is.searchSelection(true)) {
8104
- // prevent menu hiding on immediate re-focus
8091
+ // prevent the menu hiding on immediate re-focus
8105
8092
  willRefocus = true;
8106
8093
  } else {
8107
8094
  // prevents focus callback from occurring on mousedown
@@ -8110,7 +8097,7 @@
8110
8097
  },
8111
8098
  mouseup: function () {
8112
8099
  if (module.is.searchSelection(true)) {
8113
- // prevent menu hiding on immediate re-focus
8100
+ // prevent the menu hiding on immediate re-focus
8114
8101
  willRefocus = false;
8115
8102
  } else {
8116
8103
  activated = false;
@@ -8366,7 +8353,6 @@
8366
8353
  hasSubMenu = $subMenu.length > 0,
8367
8354
  isBubbledEvent = $subMenu.find($target).length > 0
8368
8355
  ;
8369
- // prevents IE11 bug where menu receives focus even though `tabindex=-1`
8370
8356
  if (document.activeElement.tagName.toLowerCase() !== 'input') {
8371
8357
  $(document.activeElement).trigger('blur');
8372
8358
  }
@@ -8398,7 +8384,7 @@
8398
8384
  },
8399
8385
 
8400
8386
  document: {
8401
- // label selection should occur even when element has no focus
8387
+ // label selection should occur even when the element has no focus
8402
8388
  keydown: function (event) {
8403
8389
  var
8404
8390
  pressedKey = event.which,
@@ -8544,7 +8530,7 @@
8544
8530
  $nextItem,
8545
8531
  isSubMenuItem
8546
8532
  ;
8547
- // allow selection with menu closed
8533
+ // allow selection with the menu closed
8548
8534
  if (isAdditionWithoutMenu) {
8549
8535
  if (selectedIsSelectable && settings.hideAdditions) {
8550
8536
  module.verbose('Selecting item from keyboard shortcut', $selectedItem);
@@ -8560,7 +8546,7 @@
8560
8546
 
8561
8547
  // visible menu keyboard shortcuts
8562
8548
  if (module.is.visible()) {
8563
- // enter (select or open sub-menu)
8549
+ // enter (select or open submenu)
8564
8550
  if (pressedKey === keys.enter || delimiterPressed) {
8565
8551
  if (pressedKey === keys.enter && hasSelectedItem && hasSubMenu && !settings.allowCategorySelection) {
8566
8552
  module.verbose('Pressed enter on unselectable category, opening sub menu');
@@ -8599,7 +8585,7 @@
8599
8585
  }
8600
8586
  }
8601
8587
 
8602
- // right arrow (show sub-menu)
8588
+ // right arrow (show submenu)
8603
8589
  if (pressedKey === keys.rightArrow) {
8604
8590
  if (hasSubMenu) {
8605
8591
  module.verbose('Right key pressed, opening sub-menu');
@@ -8852,7 +8838,7 @@
8852
8838
  $sizer.text(value);
8853
8839
 
8854
8840
  // prevent rounding issues
8855
- return Math.ceil($sizer.width() + (module.is.edge() ? 3 : 1));
8841
+ return Math.ceil($sizer.width() + 1);
8856
8842
  },
8857
8843
  selectionCount: function () {
8858
8844
  var
@@ -8922,7 +8908,7 @@
8922
8908
  isEmptyMultiselect = Array.isArray(value) && value.length === 1 && value[0] === ''
8923
8909
  ;
8924
8910
 
8925
- // prevents placeholder element from being selected when multiple
8911
+ // prevents the placeholder element from being selected when multiple
8926
8912
  return value === undefined || isEmptyMultiselect
8927
8913
  ? ''
8928
8914
  : value;
@@ -9266,7 +9252,7 @@
9266
9252
  }
9267
9253
  },
9268
9254
  values: function () {
9269
- // prevents callbacks from occurring on initial load
9255
+ // prevents callbacks from occurring on the initial load
9270
9256
  module.set.initialLoad();
9271
9257
  if (settings.apiSettings && settings.saveRemoteData && module.get.remoteValues()) {
9272
9258
  module.restore.remoteValues();
@@ -9587,7 +9573,7 @@
9587
9573
  $nextValue = false,
9588
9574
  $nextItem
9589
9575
  ;
9590
- // check next of same letter
9576
+ // check next of the same letter
9591
9577
  if (alreadySelectedLetter) {
9592
9578
  $nextItem = $selectedItem.nextAll($item).eq(0);
9593
9579
  if (module.has.firstLetter($nextItem, letter)) {
@@ -9606,7 +9592,7 @@
9606
9592
  })
9607
9593
  ;
9608
9594
  }
9609
- // set next value
9595
+ // set the next value
9610
9596
  if ($nextValue) {
9611
9597
  module.verbose('Scrolling to next value with letter', letter);
9612
9598
  module.set.scrollPosition($nextValue);
@@ -9623,7 +9609,7 @@
9623
9609
  if (!$menu) {
9624
9610
  module.remove.upward();
9625
9611
  } else if (module.is.upward($menu)) {
9626
- // we need make sure when make assertion openDownward for $menu, $menu does not have upward class
9612
+ // we need to make sure when make assertion openDownward for $menu, $menu does not have upward class
9627
9613
  module.remove.upward($menu);
9628
9614
  }
9629
9615
 
@@ -10380,9 +10366,6 @@
10380
10366
  bubbledIconClick: function (event) {
10381
10367
  return $(event.target).closest($icon).length > 0;
10382
10368
  },
10383
- edge: function () {
10384
- return !!window.chrome && !!window.StyleMedia;
10385
- },
10386
10369
  empty: function () {
10387
10370
  return $module.hasClass(className.empty);
10388
10371
  },
@@ -10996,33 +10979,33 @@
10996
10979
  match: 'both', // what to match against with search selection (both, text, or label)
10997
10980
  fullTextSearch: 'exact', // search anywhere in value (set to 'exact' to require exact matches)
10998
10981
  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...)
10982
+ 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
10983
  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
10984
 
11002
- placeholder: 'auto', // whether to convert blank <select> values to placeholder text
11003
- preserveHTML: true, // preserve html when selecting value
10985
+ placeholder: 'auto', // whether to convert blank <select> values to the placeholder text
10986
+ preserveHTML: false, // preserve HTML when selecting value
11004
10987
  sortSelect: false, // sort selection on init
11005
10988
 
11006
10989
  forceSelection: false, // force a choice on blur with search selection
11007
10990
 
11008
10991
  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
10992
+ keepSearchTerm: false, // whether the search value should be kept, and the menu stays filtered on item selection
11010
10993
  ignoreCase: false, // whether to consider case sensitivity when creating labels
11011
10994
  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
10995
+ hideAdditions: true, // whether to hide a special message prompting a user, they can enter a value
11013
10996
 
11014
- maxSelections: false, // When set to a number limits the number of selections to this count
10997
+ maxSelections: false, // When set to a number, limits the number of selections to this count
11015
10998
  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
10999
+ delimiter: ',', // when multiselect uses normal <input >, the values will be delimited with this character
11017
11000
 
11018
- showOnFocus: false, // show menu on focus
11001
+ showOnFocus: false, // show the menu on focus
11019
11002
  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
11003
+ allowTab: true, // add tabindex to the element
11004
+ allowCategorySelection: false, // allow elements with submenus to be selected
11022
11005
 
11023
11006
  fireOnInit: false, // Whether callbacks should fire when initializing dropdown values
11024
11007
 
11025
- transition: 'auto', // auto transition will slide down or up based on direction
11008
+ transition: 'auto', // auto transition will slide down or up based on the direction
11026
11009
  duration: 200, // duration of transition
11027
11010
  displayType: false, // displayType of transition
11028
11011
 
@@ -11102,23 +11085,23 @@
11102
11085
  value: 'value',
11103
11086
  },
11104
11087
 
11105
- // property names for remote query
11088
+ // property names for the remote query
11106
11089
  fields: {
11107
11090
  remoteValues: 'results', // grouping for api results
11108
11091
  values: 'values', // grouping for all dropdown values
11109
11092
  disabled: 'disabled', // whether value should be disabled
11110
- name: 'name', // displayed dropdown text
11093
+ name: 'name', // the displayed dropdown text
11111
11094
  description: 'description', // displayed dropdown description
11112
11095
  descriptionVertical: 'descriptionVertical', // whether description should be vertical
11113
11096
  value: 'value', // actual dropdown value
11114
- text: 'text', // displayed text when selected
11097
+ text: 'text', // the displayed text when selected
11115
11098
  data: 'data', // custom data attributes
11116
11099
  type: 'type', // type of dropdown element
11117
11100
  image: 'image', // optional image path
11118
11101
  imageClass: 'imageClass', // optional individual class for image
11119
11102
  alt: 'alt', // optional alt text for image
11120
11103
  icon: 'icon', // optional icon name
11121
- iconClass: 'iconClass', // optional individual class for icon (for example to use flag instead)
11104
+ iconClass: 'iconClass', // optional individual class for icon (for example, to use a flag instead)
11122
11105
  class: 'class', // optional individual class for item/header
11123
11106
  divider: 'divider', // optional divider append for group headers
11124
11107
  actionable: 'actionable', // optional actionable item
@@ -11353,7 +11336,7 @@
11353
11336
  return message;
11354
11337
  },
11355
11338
 
11356
- // generates user addition to selection menu
11339
+ // generates user addition to the selection menu
11357
11340
  addition: function (choice) {
11358
11341
  return choice;
11359
11342
  },
@@ -11362,7 +11345,7 @@
11362
11345
  })(jQuery, window, document);
11363
11346
 
11364
11347
  /*!
11365
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Embed
11348
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Embed
11366
11349
  * https://github.com/fomantic/Fomantic-UI/
11367
11350
  *
11368
11351
  *
@@ -11532,7 +11515,7 @@
11532
11515
  }
11533
11516
  },
11534
11517
 
11535
- // clears embed
11518
+ // clear embed
11536
11519
  reset: function () {
11537
11520
  module.debug('Clearing embed and showing placeholder');
11538
11521
  module.remove.data();
@@ -12051,7 +12034,7 @@
12051
12034
  })(jQuery, window, document);
12052
12035
 
12053
12036
  /*!
12054
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Flyout
12037
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Flyout
12055
12038
  * https://github.com/fomantic/Fomantic-UI/
12056
12039
  *
12057
12040
  *
@@ -12242,7 +12225,7 @@
12242
12225
 
12243
12226
  create: {
12244
12227
  flyout: function () {
12245
- module.verbose('Programmaticaly create flyout', $context);
12228
+ module.verbose('Programmatically create flyout', $context);
12246
12229
  $module = $('<div/>', { class: className.flyout, role: 'dialog', 'aria-modal': settings.dimPage });
12247
12230
  if (settings.closeIcon) {
12248
12231
  $closeIcon = $('<i/>', {
@@ -12512,28 +12495,6 @@
12512
12495
  + ' }';
12513
12496
  }
12514
12497
 
12515
- /* IE is only browser not to create context with transforms */
12516
- /* https://www.w3.org/Bugs/Public/show_bug.cgi?id=16328 */
12517
- if (module.is.ie()) {
12518
- if (direction === 'left' || direction === 'right') {
12519
- module.debug('Adding CSS rules for animation distance', width);
12520
- style += ''
12521
- + ' body.pushable > .ui.visible.' + direction + '.flyout ~ .pusher::after {'
12522
- + ' transform: translate3d(' + distance[direction] + 'px, 0, 0);'
12523
- + ' }';
12524
- } else if (direction === 'top' || direction === 'bottom') {
12525
- style += ''
12526
- + ' body.pushable > .ui.visible.' + direction + '.flyout ~ .pusher::after {'
12527
- + ' transform: translate3d(0, ' + distance[direction] + 'px, 0);'
12528
- + ' }';
12529
- }
12530
- /* opposite sides visible forces content overlay */
12531
- style += ''
12532
- + ' body.pushable > .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .pusher::after,'
12533
- + ' body.pushable > .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .pusher::after {'
12534
- + ' transform: translate3d(0, 0, 0);'
12535
- + ' }';
12536
- }
12537
12498
  style += '</style>';
12538
12499
  $style = $(style)
12539
12500
  .appendTo($head)
@@ -12568,7 +12529,7 @@
12568
12529
  shouldRefreshInputs = true;
12569
12530
  }
12570
12531
  } else {
12571
- // mutationobserver only provides the parent nodes
12532
+ // mutationobserver only provides the parent nodes,
12572
12533
  // so let's collect all childs as well to find nested inputs
12573
12534
  var $addedInputs = $(collectNodes(mutation.addedNodes)).filter('a[href], [tabindex], :input:enabled').filter(':visible'),
12574
12535
  $removedInputs = $(collectNodes(mutation.removedNodes)).filter('a[href], [tabindex], :input');
@@ -13046,7 +13007,7 @@
13046
13007
  can: {
13047
13008
  leftBodyScrollbar: function () {
13048
13009
  if (module.cache.leftBodyScrollbar === undefined) {
13049
- module.cache.leftBodyScrollbar = module.is.rtl() && ((module.is.iframe && !module.is.firefox()) || module.is.safari() || module.is.edge() || module.is.ie());
13010
+ module.cache.leftBodyScrollbar = module.is.rtl() && ((module.is.iframe && !module.is.firefox()) || module.is.safari());
13050
13011
  }
13051
13012
 
13052
13013
  return module.cache.leftBodyScrollbar;
@@ -13081,13 +13042,6 @@
13081
13042
 
13082
13043
  return module.cache.isSafari;
13083
13044
  },
13084
- edge: function () {
13085
- if (module.cache.isEdge === undefined) {
13086
- module.cache.isEdge = !!window.setImmediate && !module.is.ie();
13087
- }
13088
-
13089
- return module.cache.isEdge;
13090
- },
13091
13045
  firefox: function () {
13092
13046
  if (module.cache.isFirefox === undefined) {
13093
13047
  module.cache.isFirefox = !!window.InstallTrigger;
@@ -13098,17 +13052,6 @@
13098
13052
  iframe: function () {
13099
13053
  return !(self === top);
13100
13054
  },
13101
- ie: function () {
13102
- if (module.cache.isIE === undefined) {
13103
- var
13104
- isIE11 = !window.ActiveXObject && 'ActiveXObject' in window,
13105
- isIE = 'ActiveXObject' in window
13106
- ;
13107
- module.cache.isIE = isIE11 || isIE;
13108
- }
13109
-
13110
- return module.cache.isIE;
13111
- },
13112
13055
  mobile: function () {
13113
13056
  var
13114
13057
  userAgent = navigator.userAgent,
@@ -13418,7 +13361,7 @@
13418
13361
  classActions: '',
13419
13362
  closeIcon: false,
13420
13363
  actions: false,
13421
- preserveHTML: true,
13364
+ preserveHTML: false,
13422
13365
 
13423
13366
  fields: {
13424
13367
  class: 'class',
@@ -13603,7 +13546,7 @@
13603
13546
  })(jQuery, window, document);
13604
13547
 
13605
13548
  /*!
13606
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Modal
13549
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Modal
13607
13550
  * https://github.com/fomantic/Fomantic-UI/
13608
13551
  *
13609
13552
  *
@@ -13888,7 +13831,7 @@
13888
13831
  }
13889
13832
  } else {
13890
13833
  shouldRefresh = true;
13891
- // mutationobserver only provides the parent nodes
13834
+ // mutationobserver only provides the parent nodes,
13892
13835
  // so let's collect all childs as well to find nested inputs
13893
13836
  var $addedInputs = $(collectNodes(mutation.addedNodes)).filter('a[href], [tabindex], :input:enabled').filter(':visible'),
13894
13837
  $removedInputs = $(collectNodes(mutation.removedNodes)).filter('a[href], [tabindex], :input');
@@ -14564,18 +14507,16 @@
14564
14507
  can: {
14565
14508
  leftBodyScrollbar: function () {
14566
14509
  if (module.cache.leftBodyScrollbar === undefined) {
14567
- module.cache.leftBodyScrollbar = module.is.rtl() && ((module.is.iframe && !module.is.firefox()) || module.is.safari() || module.is.edge() || module.is.ie());
14510
+ module.cache.leftBodyScrollbar = module.is.rtl() && ((module.is.iframe && !module.is.firefox()) || module.is.safari());
14568
14511
  }
14569
14512
 
14570
14513
  return module.cache.leftBodyScrollbar;
14571
14514
  },
14572
14515
  useFlex: function () {
14573
14516
  if (settings.useFlex === 'auto') {
14574
- return settings.detachable && !module.is.ie();
14517
+ return settings.detachable;
14575
14518
  }
14576
- if (settings.useFlex && module.is.ie()) {
14577
- module.debug('useFlex true is not supported in IE');
14578
- } else if (settings.useFlex && !settings.detachable) {
14519
+ if (settings.useFlex && !settings.detachable) {
14579
14520
  module.debug('useFlex true in combination with detachable false is not supported');
14580
14521
  }
14581
14522
 
@@ -14609,27 +14550,12 @@
14609
14550
  active: function () {
14610
14551
  return $module.hasClass(className.active);
14611
14552
  },
14612
- ie: function () {
14613
- if (module.cache.isIE === undefined) {
14614
- var
14615
- isIE11 = !window.ActiveXObject && 'ActiveXObject' in window,
14616
- isIE = 'ActiveXObject' in window
14617
- ;
14618
- module.cache.isIE = isIE11 || isIE;
14619
- }
14620
-
14621
- return module.cache.isIE;
14622
- },
14623
14553
  animating: function () {
14624
14554
  return $module.transition('is animating');
14625
14555
  },
14626
14556
  scrolling: function () {
14627
14557
  return $dimmable.hasClass(className.scrolling);
14628
14558
  },
14629
- modernBrowser: function () {
14630
- // appName for IE11 reports 'Netscape' can no longer use
14631
- return !(window.ActiveXObject || 'ActiveXObject' in window);
14632
- },
14633
14559
  rtl: function () {
14634
14560
  if (module.cache.isRTL === undefined) {
14635
14561
  module.cache.isRTL = $module.attr('dir') === 'rtl' || $module.css('direction') === 'rtl' || $body.attr('dir') === 'rtl' || $body.css('direction') === 'rtl' || $context.attr('dir') === 'rtl' || $context.css('direction') === 'rtl';
@@ -14644,13 +14570,6 @@
14644
14570
 
14645
14571
  return module.cache.isSafari;
14646
14572
  },
14647
- edge: function () {
14648
- if (module.cache.isEdge === undefined) {
14649
- module.cache.isEdge = !!window.setImmediate && !module.is.ie();
14650
- }
14651
-
14652
- return module.cache.isEdge;
14653
- },
14654
14573
  firefox: function () {
14655
14574
  if (module.cache.isFirefox === undefined) {
14656
14575
  module.cache.isFirefox = !!window.InstallTrigger;
@@ -15047,7 +14966,7 @@
15047
14966
  classActions: '',
15048
14967
  closeIcon: false,
15049
14968
  actions: false,
15050
- preserveHTML: true,
14969
+ preserveHTML: false,
15051
14970
 
15052
14971
  fields: {
15053
14972
  class: 'class',
@@ -15241,7 +15160,7 @@
15241
15160
  })(jQuery, window, document);
15242
15161
 
15243
15162
  /*!
15244
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Nag
15163
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Nag
15245
15164
  * https://github.com/fomantic/Fomantic-UI/
15246
15165
  *
15247
15166
  *
@@ -15737,7 +15656,7 @@
15737
15656
  // allows cookie to be overridden
15738
15657
  persist: false,
15739
15658
 
15740
- // set to zero to require manually dismissal, otherwise hides on its own
15659
+ // set to zero to require manual dismissal, otherwise hides on its own
15741
15660
  displayTime: 0,
15742
15661
 
15743
15662
  animation: {
@@ -15808,7 +15727,7 @@
15808
15727
  })(jQuery, window, document);
15809
15728
 
15810
15729
  /*!
15811
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Popup
15730
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Popup
15812
15731
  * https://github.com/fomantic/Fomantic-UI/
15813
15732
  *
15814
15733
  *
@@ -15979,7 +15898,7 @@
15979
15898
  if (documentObserver) {
15980
15899
  documentObserver.disconnect();
15981
15900
  }
15982
- // remove element only if was created dynamically
15901
+ // remove the element only if was created dynamically
15983
15902
  if ($popup && !settings.preserve) {
15984
15903
  module.removePopup();
15985
15904
  }
@@ -16366,7 +16285,7 @@
16366
16285
  },
16367
16286
  };
16368
16287
 
16369
- // if popup offset context is not same as target, then adjust calculations
16288
+ // if popup offset context is different from target, then adjust calculations
16370
16289
  if ($popupOffsetParent[0] !== $offsetParent[0]) {
16371
16290
  var
16372
16291
  popupOffset = $popupOffsetParent.offset()
@@ -16627,7 +16546,7 @@
16627
16546
  module.debug('RTL: Popup position updated', position);
16628
16547
  }
16629
16548
 
16630
- // if last attempt use specified last resort position
16549
+ // if last attempt, use specified last resort position
16631
16550
  if (searchDepth === settings.maxSearchDepth && typeof settings.lastResort === 'string') {
16632
16551
  position = settings.lastResort;
16633
16552
  }
@@ -17171,7 +17090,7 @@
17171
17090
  // whether it should use dom mutation observers
17172
17091
  observeChanges: true,
17173
17092
 
17174
- // callback only when element added to dom
17093
+ // callback only when the element was added to dom
17175
17094
  onCreate: function () {},
17176
17095
 
17177
17096
  // callback before element removed from dom
@@ -17216,7 +17135,7 @@
17216
17135
  // element which popup should be relative to
17217
17136
  target: false,
17218
17137
 
17219
- // jq selector or element that should be used as popup
17138
+ // jQuery selector or element that should be used as a popup
17220
17139
  popup: false,
17221
17140
 
17222
17141
  // popup should remain inline next to activator
@@ -17231,7 +17150,7 @@
17231
17150
  // explicitly set content
17232
17151
  content: false,
17233
17152
 
17234
- // explicitly set html
17153
+ // explicitly set HTML
17235
17154
  html: false,
17236
17155
 
17237
17156
  // explicitly set title
@@ -17274,7 +17193,7 @@
17274
17193
  duration: 200,
17275
17194
  transition: 'scale',
17276
17195
 
17277
- // distance away from activating element in px
17196
+ // distance away from the activating element in px
17278
17197
  distanceAway: 0,
17279
17198
 
17280
17199
  // number of pixels an element is allowed to be "offstage" for a position to be chosen (allows for rounding)
@@ -17370,7 +17289,7 @@
17370
17289
  })(jQuery, window, document);
17371
17290
 
17372
17291
  /*!
17373
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Progress
17292
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Progress
17374
17293
  * https://github.com/fomantic/Fomantic-UI/
17375
17294
  *
17376
17295
  *
@@ -17440,13 +17359,13 @@
17440
17359
  /**
17441
17360
  * Derive precision for multiple progress with total and values.
17442
17361
  *
17443
- * This helper dervices a precision that is sufficiently large to show minimum value of multiple progress.
17362
+ * This helper dervices a precision that is large enough to show the minimum value of multiple progress.
17444
17363
  *
17445
17364
  * Example1
17446
17365
  * - total: 1122
17447
17366
  * - values: [325, 111, 74, 612]
17448
17367
  * - min ratio: 74/1122 = 0.0659...
17449
- * - required precision: 100
17368
+ * - required precision: 100
17450
17369
  *
17451
17370
  * Example2
17452
17371
  * - total: 10541
@@ -17694,7 +17613,7 @@
17694
17613
  : value;
17695
17614
  },
17696
17615
 
17697
- // gets current displayed percentage (if animating values this is the intermediary value)
17616
+ // gets current displayed percentage (if animating values, this is the intermediary value)
17698
17617
  displayPercent: function (index) {
17699
17618
  var
17700
17619
  $bar = $($bars[index]),
@@ -17858,10 +17777,10 @@
17858
17777
  var isMultipleValues = percents.length > 1 && hasTotal;
17859
17778
  var sumTotal = module.helper.sum(module.helper.forceArray(module.value));
17860
17779
  if (isMultipleValues && sumTotal > module.total) {
17861
- // Sum values instead of pecents to avoid precision issues when summing floats
17780
+ // Sum values instead of percents to avoid precision issues when summing floats
17862
17781
  module.error(error.sumExceedsTotal, sumTotal, module.total);
17863
17782
  } else if (!isMultipleValues && totalPercent > 100) {
17864
- // Sum before rounding since sum of rounded may have error though sum of actual is fine
17783
+ // Sum before rounding, since sum of rounded may have error though sum of actual is fine
17865
17784
  module.error(error.tooHigh, totalPercent);
17866
17785
  } else if (totalPercent < 0) {
17867
17786
  module.error(error.tooLow, totalPercent);
@@ -18293,7 +18212,7 @@
18293
18212
  total: false,
18294
18213
  value: false,
18295
18214
 
18296
- // delay in ms for fail safe animation callback
18215
+ // delay in ms for fail-safe animation callback
18297
18216
  failSafeDelay: 100,
18298
18217
 
18299
18218
  onLabelUpdate: function (state, text, value, total) {
@@ -18350,7 +18269,7 @@
18350
18269
  })(jQuery, window, document);
18351
18270
 
18352
18271
  /*!
18353
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Slider
18272
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Slider
18354
18273
  * https://github.com/fomantic/Fomantic-UI/
18355
18274
  *
18356
18275
  *
@@ -18622,7 +18541,7 @@
18622
18541
  isHover = false;
18623
18542
  });
18624
18543
  // 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
18544
+ // on the thumb(s) and don't need to worry about interference with other components, i.e., no dynamic binding
18626
18545
  // and unbinding required.
18627
18546
  $module.find('.thumb')
18628
18547
  .on('touchstart' + eventNamespace, module.event.touchDown)
@@ -18632,7 +18551,7 @@
18632
18551
  ;
18633
18552
  },
18634
18553
  slidingEvents: function () {
18635
- // these don't need the identifier because we only ever want one of them to be registered with document
18554
+ // these don't need the identifier because we only ever want one of them to be registered with the document
18636
18555
  module.verbose('Binding page wide events while handle is being draged');
18637
18556
  $document.on('mousemove' + eventNamespace, module.event.move);
18638
18557
  $document.on('mouseup' + eventNamespace, module.event.up);
@@ -18857,7 +18776,7 @@
18857
18776
  },
18858
18777
 
18859
18778
  resync: function () {
18860
- module.verbose('Resyncing thumb position based on value');
18779
+ module.verbose('Re-syncing thumb position based on value');
18861
18780
  module.setup.labels();
18862
18781
  if (module.is.range()) {
18863
18782
  module.update.position(module.secondThumbVal, $secondThumb);
@@ -19336,7 +19255,7 @@
19336
19255
  if (value !== difference) {
19337
19256
  module.verbose('Rounding value to closest step: ' + difference);
19338
19257
  }
19339
- // Use precision to avoid ugly Javascript floating point rounding issues
19258
+ // Use precision to avoid ugly JavaScript floating point rounding issues
19340
19259
  // (like 35 * .01 = 0.35000000000000003)
19341
19260
  module.verbose('Cutting off additional decimal places');
19342
19261
 
@@ -19897,7 +19816,7 @@
19897
19816
  })(jQuery, window, document);
19898
19817
 
19899
19818
  /*!
19900
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Rating
19819
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Rating
19901
19820
  * https://github.com/fomantic/Fomantic-UI/
19902
19821
  *
19903
19822
  *
@@ -20438,7 +20357,7 @@
20438
20357
  })(jQuery, window, document);
20439
20358
 
20440
20359
  /*!
20441
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Search
20360
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Search
20442
20361
  * https://github.com/fomantic/Fomantic-UI/
20443
20362
  *
20444
20363
  *
@@ -20573,7 +20492,7 @@
20573
20492
  determine: {
20574
20493
  searchFields: function () {
20575
20494
  // this makes sure $.extend does not add specified search fields to default fields
20576
- // this is the only setting which should not extend defaults
20495
+ // this is the only setting that should not extend defaults
20577
20496
  if (parameters && parameters.searchFields !== undefined) {
20578
20497
  settings.searchFields = Array.isArray(parameters.searchFields)
20579
20498
  ? parameters.searchFields
@@ -21099,7 +21018,7 @@
21099
21018
  ? searchFields
21100
21019
  : settings.searchFields;
21101
21020
 
21102
- // search fields should be array to loop correctly
21021
+ // search fields should be an array to loop correctly
21103
21022
  if (!Array.isArray(searchFields)) {
21104
21023
  searchFields = [searchFields];
21105
21024
  }
@@ -21377,7 +21296,7 @@
21377
21296
  id: function (results) {
21378
21297
  module.debug('Injecting unique ids into results');
21379
21298
  var
21380
- // since results may be object, we must use counters
21299
+ // since results may be an object, we must use counters
21381
21300
  categoryIndex = 0,
21382
21301
  resultIndex = 0
21383
21302
  ;
@@ -21781,7 +21700,7 @@
21781
21700
  // minimum characters required to search
21782
21701
  minCharacters: 1,
21783
21702
 
21784
- // whether to select first result after searching automatically
21703
+ // whether to select the first result after searching automatically
21785
21704
  selectFirstResult: false,
21786
21705
 
21787
21706
  // API config
@@ -21809,7 +21728,7 @@
21809
21728
  // Whether search result should highlight matching strings
21810
21729
  highlightMatches: false,
21811
21730
 
21812
- // match results also if they contain diacritics of the same base character (for example searching for "a" will also match "á" or "â" or "à", etc...)
21731
+ // match results also if they contain diacritics of the same base character (for example, searching for "a" will also match "á" or "â" or "à", etc...)
21813
21732
  ignoreDiacritics: false,
21814
21733
 
21815
21734
  // whether to consider case sensitivity on local searching
@@ -21818,7 +21737,7 @@
21818
21737
  // whether to add events to prompt automatically
21819
21738
  automatic: true,
21820
21739
 
21821
- // delay before hiding menu after blur
21740
+ // delay before hiding the menu after blur
21822
21741
  hideDelay: 0,
21823
21742
 
21824
21743
  // delay before searching
@@ -21834,7 +21753,7 @@
21834
21753
  showNoResults: true,
21835
21754
 
21836
21755
  // preserve possible html of resultset values
21837
- preserveHTML: true,
21756
+ preserveHTML: false,
21838
21757
 
21839
21758
  // transition settings
21840
21759
  transition: 'scale',
@@ -22080,7 +21999,7 @@
22080
21999
  })(jQuery, window, document);
22081
22000
 
22082
22001
  /*!
22083
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Shape
22002
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Shape
22084
22003
  * https://github.com/fomantic/Fomantic-UI/
22085
22004
  *
22086
22005
  *
@@ -22848,7 +22767,7 @@
22848
22767
  onBeforeChange: function () {},
22849
22768
  onChange: function () {},
22850
22769
 
22851
- // allow animation to same side
22770
+ // allow animation to the same side
22852
22771
  allowRepeats: false,
22853
22772
 
22854
22773
  // animation duration
@@ -22878,7 +22797,7 @@
22878
22797
  })(jQuery, window, document);
22879
22798
 
22880
22799
  /*!
22881
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Sidebar
22800
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Sidebar
22882
22801
  * https://github.com/fomantic/Fomantic-UI/
22883
22802
  *
22884
22803
  *
@@ -23131,28 +23050,6 @@
23131
23050
  + ' }';
23132
23051
  }
23133
23052
 
23134
- /* IE is only browser not to create context with transforms */
23135
- /* https://www.w3.org/Bugs/Public/show_bug.cgi?id=16328 */
23136
- if (module.is.ie()) {
23137
- if (direction === 'left' || direction === 'right') {
23138
- module.debug('Adding CSS rules for animation distance', width);
23139
- style += ''
23140
- + ' body.pushable > .ui.visible.' + direction + '.sidebar ~ .pusher::after {'
23141
- + ' transform: translate3d(' + distance[direction] + 'px, 0, 0);'
23142
- + ' }';
23143
- } else if (direction === 'top' || direction === 'bottom') {
23144
- style += ''
23145
- + ' body.pushable > .ui.visible.' + direction + '.sidebar ~ .pusher::after {'
23146
- + ' transform: translate3d(0, ' + distance[direction] + 'px, 0);'
23147
- + ' }';
23148
- }
23149
- /* opposite sides visible forces content overlay */
23150
- style += ''
23151
- + ' body.pushable > .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher::after,'
23152
- + ' body.pushable > .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher::after {'
23153
- + ' transform: translate3d(0, 0, 0);'
23154
- + ' }';
23155
- }
23156
23053
  style += '</style>';
23157
23054
  $style = $(style)
23158
23055
  .appendTo($head)
@@ -23234,7 +23131,7 @@
23234
23131
  can: {
23235
23132
  leftBodyScrollbar: function () {
23236
23133
  if (module.cache.leftBodyScrollbar === undefined) {
23237
- module.cache.leftBodyScrollbar = module.is.rtl() && ((module.is.iframe && !module.is.firefox()) || module.is.safari() || module.is.edge() || module.is.ie());
23134
+ module.cache.leftBodyScrollbar = module.is.rtl() && ((module.is.iframe && !module.is.firefox()) || module.is.safari());
23238
23135
  }
23239
23136
 
23240
23137
  return module.cache.leftBodyScrollbar;
@@ -23268,7 +23165,7 @@
23268
23165
  if (module.othersActive()) {
23269
23166
  module.debug('Other sidebars currently visible');
23270
23167
  if (settings.exclusive) {
23271
- // if not overlay queue animation after hide
23168
+ // if not overlay, queue animation after hide
23272
23169
  if (settings.transition !== 'overlay') {
23273
23170
  module.hideOthers(module.show);
23274
23171
 
@@ -23609,13 +23506,6 @@
23609
23506
 
23610
23507
  return module.cache.isSafari;
23611
23508
  },
23612
- edge: function () {
23613
- if (module.cache.isEdge === undefined) {
23614
- module.cache.isEdge = !!window.setImmediate && !module.is.ie();
23615
- }
23616
-
23617
- return module.cache.isEdge;
23618
- },
23619
23509
  firefox: function () {
23620
23510
  if (module.cache.isFirefox === undefined) {
23621
23511
  module.cache.isFirefox = !!window.InstallTrigger;
@@ -23626,18 +23516,6 @@
23626
23516
  iframe: function () {
23627
23517
  return !(self === top);
23628
23518
  },
23629
- ie: function () {
23630
- if (module.cache.isIE === undefined) {
23631
- var
23632
- isIE11 = !window.ActiveXObject && 'ActiveXObject' in window,
23633
- isIE = 'ActiveXObject' in window
23634
- ;
23635
- module.cache.isIE = isIE11 || isIE;
23636
- }
23637
-
23638
- return module.cache.isIE;
23639
- },
23640
-
23641
23519
  mobile: function () {
23642
23520
  var
23643
23521
  userAgent = navigator.userAgent,
@@ -23933,7 +23811,7 @@
23933
23811
  })(jQuery, window, document);
23934
23812
 
23935
23813
  /*!
23936
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Sticky
23814
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Sticky
23937
23815
  * https://github.com/fomantic/Fomantic-UI/
23938
23816
  *
23939
23817
  *
@@ -24805,10 +24683,10 @@
24805
24683
  // Offset to adjust scroll when attached to bottom of screen
24806
24684
  bottomOffset: 0,
24807
24685
 
24808
- // will only set container height if difference between context and container is larger than this number
24686
+ // will only set container height if the difference between context and container is larger than this number
24809
24687
  jitter: 5,
24810
24688
 
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)
24689
+ // 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
24690
  setSize: true,
24813
24691
 
24814
24692
  // Whether to automatically observe changes with Mutation Observers
@@ -24820,10 +24698,10 @@
24820
24698
  // Called on each scroll
24821
24699
  onScroll: function () {},
24822
24700
 
24823
- // Called when element is stuck to viewport
24701
+ // Called when the element is stuck to viewport
24824
24702
  onStick: function () {},
24825
24703
 
24826
- // Called when element is unstuck from viewport
24704
+ // Called when the element is unstuck from viewport
24827
24705
  onUnstick: function () {},
24828
24706
 
24829
24707
  // Called when element reaches top of context
@@ -24851,7 +24729,7 @@
24851
24729
  })(jQuery, window, document);
24852
24730
 
24853
24731
  /*!
24854
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Tab
24732
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Tab
24855
24733
  * https://github.com/fomantic/Fomantic-UI/
24856
24734
  *
24857
24735
  *
@@ -25172,7 +25050,7 @@
25172
25050
  pushStateAvailable = window.history && window.history.pushState,
25173
25051
  shouldIgnoreLoad = pushStateAvailable && settings.ignoreFirstLoad && firstLoad,
25174
25052
  remoteContent = settings.auto || $.isPlainObject(settings.apiSettings),
25175
- // only add default path if not remote content
25053
+ // only add the default path if not remote content
25176
25054
  pathArray = remoteContent && !shouldIgnoreLoad
25177
25055
  ? module.utilities.pathToArray(tabPath)
25178
25056
  : module.get.defaultPathArray(tabPath)
@@ -25244,7 +25122,7 @@
25244
25122
  $anchor = $('#' + tabPath + ', a[name="' + tabPath + '"]');
25245
25123
  currentPath = $anchor.closest('[data-tab]').data(metadata.tab);
25246
25124
  $tab = module.get.tabElement(currentPath);
25247
- // if anchor exists use parent tab
25125
+ // if anchor exists, use parent tab
25248
25126
  if ($anchor && $anchor.length > 0 && currentPath) {
25249
25127
  module.debug('Anchor link used, opening parent tab', $tab, $anchor);
25250
25128
  if (settings.onBeforeChange.call(element, currentPath) === false) {
@@ -25467,7 +25345,7 @@
25467
25345
  path: function () {
25468
25346
  return $.address.value();
25469
25347
  },
25470
- // adds default tabs to tab path
25348
+ // adds default tabs to the tab path
25471
25349
  defaultPathArray: function (tabPath) {
25472
25350
  return module.utilities.pathToArray(module.get.defaultPath(tabPath));
25473
25351
  },
@@ -25751,7 +25629,7 @@
25751
25629
  verbose: false,
25752
25630
  performance: true,
25753
25631
 
25754
- auto: false, // uses pjax style endpoints fetching content from same url with remote-content headers
25632
+ auto: false, // uses pjax style endpoints fetching content from the same url with remote-content headers
25755
25633
  history: false, // use browser history
25756
25634
  historyType: 'hash', // #/ or html5 state
25757
25635
  path: false, // base path of url
@@ -25765,21 +25643,21 @@
25765
25643
  alwaysRefresh: false, // load tab content new every tab click
25766
25644
  cache: true, // cache the content requests to pull locally
25767
25645
  loadOnce: false, // Whether tab data should only be loaded once when using remote content
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 first load
25646
+ cacheType: 'response', // Whether to cache exact response, or to HTML cache contents after scripts execute
25647
+ ignoreFirstLoad: false, // don't load remote content on the first load
25770
25648
 
25771
25649
  apiSettings: false, // settings for api call
25772
25650
  evaluateScripts: 'once', // whether inline scripts should be parsed (true/false/once). Once will not re-evaluate on cached content
25773
- autoTabActivation: true, // whether a non existing active tab will auto activate the first available tab
25651
+ autoTabActivation: true, // whether a non-existing active tab will auto activate the first available tab
25774
25652
 
25775
25653
  onFirstLoad: function (tabPath, parameterArray, historyEvent) {}, // called first time loaded
25776
25654
  onLoad: function (tabPath, parameterArray, historyEvent) {}, // called on every load
25777
25655
  onVisible: function (tabPath, parameterArray, historyEvent) {}, // called every time tab visible
25778
- onRequest: function (tabPath, parameterArray, historyEvent) {}, // called ever time a tab beings loading remote content
25656
+ onRequest: function (tabPath, parameterArray, historyEvent) {}, // called every time a tab beings loading remote content
25779
25657
  onBeforeChange: function (tabPath) {}, // called before a tab is about to be changed. Returning false will cancel the tab change
25780
25658
 
25781
25659
  templates: {
25782
- determineTitle: function (tabArray) {}, // returns page title for path
25660
+ determineTitle: function (tabArray) {}, // returns page title for the path
25783
25661
  },
25784
25662
 
25785
25663
  error: {
@@ -25816,7 +25694,7 @@
25816
25694
  })(jQuery, window, document);
25817
25695
 
25818
25696
  /*!
25819
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Toast
25697
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Toast
25820
25698
  * https://github.com/fomantic/Fomantic-UI/
25821
25699
  *
25822
25700
  *
@@ -26643,8 +26521,8 @@
26643
26521
 
26644
26522
  title: '',
26645
26523
  message: '',
26646
- displayTime: 3000, // set to zero to require manually dismissal, otherwise hides on its own
26647
- minDisplayTime: 1000, // minimum displaytime in case displayTime is set to 'auto'
26524
+ displayTime: 3000, // set to zero to require manual dismissal, otherwise hides on its own
26525
+ minDisplayTime: 1000, // minimum display time in case displayTime is set to 'auto'
26648
26526
  wordsPerMinute: 120,
26649
26527
  showIcon: false,
26650
26528
  newestOnTop: false,
@@ -26657,7 +26535,7 @@
26657
26535
  closeOnClick: true,
26658
26536
  cloneModule: true,
26659
26537
  actions: false,
26660
- preserveHTML: true,
26538
+ preserveHTML: false,
26661
26539
  showImage: false,
26662
26540
  alt: false,
26663
26541
 
@@ -26667,7 +26545,7 @@
26667
26545
  showDuration: 500,
26668
26546
  hideMethod: 'scale',
26669
26547
  hideDuration: 500,
26670
- closeEasing: 'easeOutCubic', // Set to empty string to stack the closed toast area immediately (old behaviour)
26548
+ closeEasing: 'easeOutCubic', // Set to empty string to stack the closed toast area immediately (old behavior)
26671
26549
  closeDuration: 500,
26672
26550
  },
26673
26551
 
@@ -26781,7 +26659,7 @@
26781
26659
  })(jQuery, window, document);
26782
26660
 
26783
26661
  /*!
26784
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Transition
26662
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Transition
26785
26663
  * https://github.com/fomantic/Fomantic-UI/
26786
26664
  *
26787
26665
  *
@@ -27370,7 +27248,7 @@
27370
27248
  if (shouldDetermine && $module.data(metadata.displayType) === undefined) {
27371
27249
  var currentDisplay = $module.css('display');
27372
27250
  if (currentDisplay === '' || currentDisplay === 'none') {
27373
- // create fake element to determine display state
27251
+ // create a fake element to determine display state
27374
27252
  module.can.transition(true);
27375
27253
  } else {
27376
27254
  module.save.displayType(currentDisplay);
@@ -27501,7 +27379,7 @@
27501
27379
  if (module.is.animating()) {
27502
27380
  module.reset();
27503
27381
  }
27504
- element.blur(); // IE will trigger focus change if element is not blurred before hiding
27382
+ element.blur();
27505
27383
  module.remove.display();
27506
27384
  module.remove.visible();
27507
27385
  settings.onBeforeHide.call(element, module.hideNow);
@@ -27749,7 +27627,7 @@
27749
27627
  // event namespace
27750
27628
  namespace: 'transition',
27751
27629
 
27752
- // delay between animations in group
27630
+ // delay between animations in a group
27753
27631
  interval: 0,
27754
27632
 
27755
27633
  // whether group animations should be reversed
@@ -27772,13 +27650,13 @@
27772
27650
  // whether timeout should be used to ensure callback fires in cases animationend does not
27773
27651
  useFailSafe: true,
27774
27652
 
27775
- // delay in ms for fail safe
27653
+ // delay in ms for fail-safe
27776
27654
  failSafeDelay: 100,
27777
27655
 
27778
27656
  // whether EXACT animation can occur twice in a row
27779
27657
  allowRepeats: false,
27780
27658
 
27781
- // Override final display type on visible
27659
+ // Override the final display type on visible
27782
27660
  displayType: false,
27783
27661
 
27784
27662
  // animation duration
@@ -27816,7 +27694,7 @@
27816
27694
  })(jQuery, window, document);
27817
27695
 
27818
27696
  /*!
27819
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - API
27697
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - API
27820
27698
  * https://github.com/fomantic/Fomantic-UI/
27821
27699
  *
27822
27700
  *
@@ -28028,7 +27906,7 @@
28028
27906
  // call beforesend and get any settings changes
28029
27907
  requestSettings = module.get.settings();
28030
27908
 
28031
- // check if before send cancelled request
27909
+ // check if before send canceled request
28032
27910
  if (requestSettings === false) {
28033
27911
  module.cancelled = true;
28034
27912
  module.error(error.beforeSend);
@@ -28584,8 +28462,8 @@
28584
28462
  },
28585
28463
  errorFromRequest: function (response, status, httpMessage) {
28586
28464
  return $.isPlainObject(response) && response.error !== undefined
28587
- ? response.error // use json error message
28588
- : (settings.error[status] !== undefined // use server error message
28465
+ ? response.error // use JSON error message
28466
+ : (settings.error[status] !== undefined // use the server error message
28589
28467
  ? settings.error[status]
28590
28468
  : httpMessage);
28591
28469
  },
@@ -28942,7 +28820,7 @@
28942
28820
  // whether to add default data to url data
28943
28821
  defaultData: true,
28944
28822
 
28945
- // whether to serialize closest form
28823
+ // whether to serialize the closest form
28946
28824
  // use true to convert complex named keys like a[b][1][c][] into a nested object
28947
28825
  // use 'formdata' for formdata web api
28948
28826
  serializeForm: false,
@@ -28979,7 +28857,7 @@
28979
28857
  // after request
28980
28858
  onResponse: false, // function(response) { },
28981
28859
 
28982
- // response was successful, if JSON passed validation
28860
+ // response was successful if JSON passed validation
28983
28861
  onSuccess: function (response, $module) {},
28984
28862
 
28985
28863
  // request finished without aborting
@@ -29042,7 +28920,7 @@
29042
28920
  })(jQuery, window, document);
29043
28921
 
29044
28922
  /*!
29045
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - State
28923
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - State
29046
28924
  * https://github.com/fomantic/Fomantic-UI/
29047
28925
  *
29048
28926
  *
@@ -29116,7 +28994,7 @@
29116
28994
  initialize: function () {
29117
28995
  module.verbose('Initializing module');
29118
28996
 
29119
- // allow module to guess desired state based on element
28997
+ // allow module to guess the desired state based on the element
29120
28998
  if (settings.automatic) {
29121
28999
  module.add.defaults();
29122
29000
  }
@@ -29658,7 +29536,7 @@
29658
29536
  // whether to automatically map default states
29659
29537
  automatic: true,
29660
29538
 
29661
- // activate / deactivate changes all elements instantiated at same time
29539
+ // activate / deactivate changes all elements instantiated at the same time
29662
29540
  sync: false,
29663
29541
 
29664
29542
  // default flash text duration, used for temporarily changing text of an element
@@ -29740,7 +29618,7 @@
29740
29618
  })(jQuery, window, document);
29741
29619
 
29742
29620
  /*!
29743
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Visibility
29621
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Visibility
29744
29622
  * https://github.com/fomantic/Fomantic-UI/
29745
29623
  *
29746
29624
  *
@@ -30952,7 +30830,7 @@
30952
30830
  // whether to refresh calculations after page resize event
30953
30831
  refreshOnResize: true,
30954
30832
 
30955
- // should call callbacks on refresh event (resize, etc)
30833
+ // should call callbacks on refresh event (resize, etc.)
30956
30834
  checkOnRefresh: true,
30957
30835
 
30958
30836
  // callback should only occur one time