fomantic-ui 2.9.0-beta.231 → 2.9.0-beta.235

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 (160) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/CONTRIBUTORS.md +1 -0
  3. package/dist/components/accordion.css +1 -1
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +1 -1
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +5 -5
  10. package/dist/components/api.min.js +2 -2
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +1 -1
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +1 -1
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +1 -1
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +1 -1
  22. package/dist/components/checkbox.js +1 -1
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +1 -1
  25. package/dist/components/comment.css +1 -1
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +1 -1
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +1 -1
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +1 -1
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +1 -1
  36. package/dist/components/dropdown.js +3 -3
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +2 -2
  39. package/dist/components/embed.css +1 -1
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +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/form.css +1 -1
  48. package/dist/components/form.js +1 -1
  49. package/dist/components/form.min.css +1 -1
  50. package/dist/components/form.min.js +1 -1
  51. package/dist/components/grid.css +1 -1
  52. package/dist/components/grid.min.css +1 -1
  53. package/dist/components/header.css +1 -1
  54. package/dist/components/header.min.css +1 -1
  55. package/dist/components/icon.css +1 -1
  56. package/dist/components/icon.min.css +1 -1
  57. package/dist/components/image.css +1 -1
  58. package/dist/components/image.min.css +1 -1
  59. package/dist/components/input.css +1 -1
  60. package/dist/components/input.min.css +1 -1
  61. package/dist/components/item.css +1 -1
  62. package/dist/components/item.min.css +1 -1
  63. package/dist/components/label.css +1 -1
  64. package/dist/components/label.min.css +1 -1
  65. package/dist/components/list.css +1 -1
  66. package/dist/components/list.min.css +1 -1
  67. package/dist/components/loader.css +1 -1
  68. package/dist/components/loader.min.css +1 -1
  69. package/dist/components/message.css +1 -1
  70. package/dist/components/message.min.css +1 -1
  71. package/dist/components/modal.css +1 -1
  72. package/dist/components/modal.js +2 -2
  73. package/dist/components/modal.min.css +1 -1
  74. package/dist/components/modal.min.js +2 -2
  75. package/dist/components/nag.css +1 -1
  76. package/dist/components/nag.js +1 -1
  77. package/dist/components/nag.min.css +1 -1
  78. package/dist/components/nag.min.js +1 -1
  79. package/dist/components/placeholder.css +1 -1
  80. package/dist/components/placeholder.min.css +1 -1
  81. package/dist/components/popup.css +1 -1
  82. package/dist/components/popup.js +2 -2
  83. package/dist/components/popup.min.css +1 -1
  84. package/dist/components/popup.min.js +2 -2
  85. package/dist/components/progress.css +1 -1
  86. package/dist/components/progress.js +1 -1
  87. package/dist/components/progress.min.css +1 -1
  88. package/dist/components/progress.min.js +1 -1
  89. package/dist/components/rail.css +1 -1
  90. package/dist/components/rail.min.css +1 -1
  91. package/dist/components/rating.css +1 -1
  92. package/dist/components/rating.js +1 -1
  93. package/dist/components/rating.min.css +1 -1
  94. package/dist/components/rating.min.js +1 -1
  95. package/dist/components/reset.css +1 -1
  96. package/dist/components/reset.min.css +1 -1
  97. package/dist/components/reveal.css +1 -1
  98. package/dist/components/reveal.min.css +1 -1
  99. package/dist/components/search.css +1 -1
  100. package/dist/components/search.js +1 -1
  101. package/dist/components/search.min.css +1 -1
  102. package/dist/components/search.min.js +1 -1
  103. package/dist/components/segment.css +1 -1
  104. package/dist/components/segment.min.css +1 -1
  105. package/dist/components/shape.css +1 -1
  106. package/dist/components/shape.js +1 -1
  107. package/dist/components/shape.min.css +1 -1
  108. package/dist/components/shape.min.js +1 -1
  109. package/dist/components/sidebar.css +1 -1
  110. package/dist/components/sidebar.js +2 -2
  111. package/dist/components/sidebar.min.css +1 -1
  112. package/dist/components/sidebar.min.js +2 -2
  113. package/dist/components/site.css +1 -1
  114. package/dist/components/site.js +1 -1
  115. package/dist/components/site.min.css +1 -1
  116. package/dist/components/site.min.js +1 -1
  117. package/dist/components/slider.js +1 -1
  118. package/dist/components/slider.min.js +1 -1
  119. package/dist/components/state.js +1 -1
  120. package/dist/components/state.min.js +1 -1
  121. package/dist/components/statistic.css +1 -1
  122. package/dist/components/statistic.min.css +1 -1
  123. package/dist/components/step.css +1 -1
  124. package/dist/components/step.min.css +1 -1
  125. package/dist/components/sticky.css +1 -1
  126. package/dist/components/sticky.js +1 -1
  127. package/dist/components/sticky.min.css +1 -1
  128. package/dist/components/sticky.min.js +1 -1
  129. package/dist/components/tab.css +1 -1
  130. package/dist/components/tab.js +1 -1
  131. package/dist/components/tab.min.css +1 -1
  132. package/dist/components/tab.min.js +1 -1
  133. package/dist/components/table.css +1 -1
  134. package/dist/components/table.min.css +1 -1
  135. package/dist/components/text.css +1 -1
  136. package/dist/components/text.min.css +1 -1
  137. package/dist/components/toast.css +1 -1
  138. package/dist/components/toast.js +2 -2
  139. package/dist/components/toast.min.css +1 -1
  140. package/dist/components/toast.min.js +2 -2
  141. package/dist/components/transition.css +1 -1
  142. package/dist/components/transition.js +1 -1
  143. package/dist/components/transition.min.css +1 -1
  144. package/dist/components/transition.min.js +1 -1
  145. package/dist/components/visibility.js +1 -1
  146. package/dist/components/visibility.min.js +1 -1
  147. package/dist/semantic.css +49 -49
  148. package/dist/semantic.js +35 -35
  149. package/dist/semantic.min.css +1 -1
  150. package/dist/semantic.min.js +2 -2
  151. package/examples/assets/library/iframe-content.js +3 -3
  152. package/examples/assets/library/iframe.js +3 -3
  153. package/package.json +1 -1
  154. package/src/definitions/behaviors/api.js +4 -4
  155. package/src/definitions/modules/dropdown.js +2 -2
  156. package/src/definitions/modules/modal.js +1 -1
  157. package/src/definitions/modules/popup.js +1 -1
  158. package/src/definitions/modules/sidebar.js +1 -1
  159. package/src/definitions/modules/toast.js +1 -1
  160. package/test/helpers/sinon.js +1 -1
@@ -573,6 +573,15 @@
573
573
  "contributions": [
574
574
  "code"
575
575
  ]
576
+ },
577
+ {
578
+ "login": "CommanderRoot",
579
+ "name": "CommanderRoot",
580
+ "avatar_url": "https://avatars.githubusercontent.com/u/4395417?v=4",
581
+ "profile": "https://github.com/CommanderRoot",
582
+ "contributions": [
583
+ "code"
584
+ ]
576
585
  }
577
586
  ],
578
587
  "contributorsPerLine": 4,
package/CONTRIBUTORS.md CHANGED
@@ -92,6 +92,7 @@ This is a list of all project contributors powered by [All Contributors](https:/
92
92
  </tr>
93
93
  <tr>
94
94
  <td align="center"><a href="https://github.com/NotWearingPants"><img src="https://avatars.githubusercontent.com/u/26556598?v=4?s=60" width="60px;" alt=""/><br /><sub><b>NotWearingPants</b></sub></a><br /><a href="https://github.com/fomantic/Fomantic-UI/commits?author=NotWearingPants" title="Code">💻</a></td>
95
+ <td align="center"><a href="https://github.com/CommanderRoot"><img src="https://avatars.githubusercontent.com/u/4395417?v=4?s=60" width="60px;" alt=""/><br /><sub><b>CommanderRoot</b></sub></a><br /><a href="https://github.com/fomantic/Fomantic-UI/commits?author=CommanderRoot" title="Code">💻</a></td>
95
96
  </tr>
96
97
  </table>
97
98
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Accordion
2
+ * # Fomantic-UI 2.9.0-beta.235 - Accordion
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Accordion
2
+ * # Fomantic-UI 2.9.0-beta.235 - Accordion
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Accordion
2
+ * # Fomantic-UI 2.9.0-beta.235 - Accordion
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.231
2
+ * # Fomantic UI - 2.9.0-beta.235
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Ad
2
+ * # Fomantic-UI 2.9.0-beta.235 - Ad
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Ad
2
+ * # Fomantic-UI 2.9.0-beta.235 - Ad
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - API
2
+ * # Fomantic-UI 2.9.0-beta.235 - API
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -363,8 +363,8 @@ $.api = $.fn.api = function(parameters) {
363
363
  var
364
364
  // allow legacy {$var} style
365
365
  variable = (templatedString.indexOf('$') !== -1)
366
- ? templatedString.substr(2, templatedString.length - 3)
367
- : templatedString.substr(1, templatedString.length - 2),
366
+ ? templatedString.slice(2, -1)
367
+ : templatedString.slice(1, -1),
368
368
  value = ($.isPlainObject(urlData) && urlData[variable] !== undefined)
369
369
  ? urlData[variable]
370
370
  : ($module.data(variable) !== undefined)
@@ -395,8 +395,8 @@ $.api = $.fn.api = function(parameters) {
395
395
  var
396
396
  // allow legacy {/$var} style
397
397
  variable = (templatedString.indexOf('$') !== -1)
398
- ? templatedString.substr(3, templatedString.length - 4)
399
- : templatedString.substr(2, templatedString.length - 3),
398
+ ? templatedString.slice(3, -1)
399
+ : templatedString.slice(2, -1),
400
400
  value = ($.isPlainObject(urlData) && urlData[variable] !== undefined)
401
401
  ? urlData[variable]
402
402
  : ($module.data(variable) !== undefined)
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.231
2
+ * # Fomantic UI - 2.9.0-beta.235
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * http://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(O,D,e,j){"use strict";O.isWindow=O.isWindow||function(e){return null!=e&&e===e.window},D=void 0!==D&&D.Math==Math?D:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),O.api=O.fn.api=function(q){var x,e=O.isFunction(this)?O(D):O(this),A=e.selector||"",S=(new Date).getTime(),k=[],T=q,P="string"==typeof T,w=[].slice.call(arguments,1);return e.each(function(){var s,a,r,e,i,o,u,c=O.isPlainObject(q)?O.extend(!0,{},O.fn.api.settings,q):O.extend({},O.fn.api.settings),t=c.namespace,n=c.metadata,d=c.selector,l=c.error,f=c.className,g="."+t,p="module-"+t,m=O(this),b=m.closest(d.form),v=c.stateContext?O(c.stateContext):m,h=this,y=v[0],R=m.data(p);u={initialize:function(){P||(o=c.data,u.bind.events()),u.instantiate()},instantiate:function(){u.verbose("Storing instance of module",u),R=u,m.data(p,R)},destroy:function(){u.verbose("Destroying previous module for",h),m.removeData(p).off(g)},bind:{events:function(){var e=u.get.event();e?(u.verbose("Attaching API events to element",e),m.on(e+g,u.event.trigger)):"now"==c.on&&(u.debug("Querying API endpoint immediately"),u.query())}},decode:{json:function(e){if(e!==j&&"string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}},read:{cachedResponse:function(e){var t;if(D.Storage!==j)return t=sessionStorage.getItem(e+u.get.normalizedData()),u.debug("Using cached response",e,c.data,t),t=u.decode.json(t);u.error(l.noStorage)}},write:{cachedResponse:function(e,t){t&&""===t?u.debug("Response empty, not caching",t):D.Storage!==j?(O.isPlainObject(t)&&(t=JSON.stringify(t)),sessionStorage.setItem(e+u.get.normalizedData(),t),u.verbose("Storing cached response for url",e,c.data,t)):u.error(l.noStorage)}},query:function(){if(u.is.disabled())u.debug("Element is disabled API request aborted");else{if(u.is.loading()){if(!c.interruptRequests)return void u.debug("Cancelling request, previous request is still pending");u.debug("Interrupting previous request"),u.abort()}if(c.defaultData&&O.extend(!0,c.urlData,u.get.defaultData()),c.serializeForm&&(c.data=u.add.formData(o||c.data)),!1===(a=u.get.settings()))return u.cancelled=!0,void u.error(l.beforeSend);if(u.cancelled=!1,(r=u.get.templatedURL())||u.is.mocked()){if((r=u.add.urlData(r))||u.is.mocked()){if(a.url=c.base+r,s=O.extend(!0,{},c,{type:c.method||c.type,data:e,url:c.base+r,beforeSend:c.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),u.debug("Querying URL",s.url),u.verbose("Using AJAX settings",s),"local"===c.cache&&u.read.cachedResponse(r))return u.debug("Response returned from local cache"),u.request=u.create.request(),void u.request.resolveWith(y,[u.read.cachedResponse(r)]);c.throttle?c.throttleFirstRequest||u.timer?(u.debug("Throttling request",c.throttle),clearTimeout(u.timer),u.timer=setTimeout(function(){u.timer&&delete u.timer,u.debug("Sending throttled request",e,s.method),u.send.request()},c.throttle)):(u.debug("Sending request",e,s.method),u.send.request(),u.timer=setTimeout(function(){},c.throttle)):(u.debug("Sending request",e,s.method),u.send.request())}}else u.error(l.missingURL)}},should:{removeError:function(){return!0===c.hideError||"auto"===c.hideError&&!u.is.form()}},is:{disabled:function(){return 0<m.filter(d.disabled).length},expectingJSON:function(){return"json"===c.dataType||"jsonp"===c.dataType},form:function(){return m.is("form")||v.is("form")},mocked:function(){return c.mockResponse||c.mockResponseAsync||c.response||c.responseAsync},input:function(){return m.is("input")},loading:function(){return!!u.request&&"pending"==u.request.state()},abortedRequest:function(e){return e&&e.readyState!==j&&0===e.readyState?(u.verbose("XHR request determined to be aborted"),!0):(u.verbose("XHR request was not aborted"),!1)},validResponse:function(e){return u.is.expectingJSON()&&O.isFunction(c.successTest)?(u.debug("Checking JSON returned success",c.successTest,e),c.successTest(e)?(u.debug("Response passed success test",e),!0):(u.debug("Response failed success test",e),!1)):(u.verbose("Response is not JSON, skipping validation",c.successTest,e),!0)}},was:{cancelled:function(){return u.cancelled||!1},successful:function(){return u.request&&"resolved"==u.request.state()},failure:function(){return u.request&&"rejected"==u.request.state()},complete:function(){return u.request&&("resolved"==u.request.state()||"rejected"==u.request.state())}},add:{urlData:function(o,s){var e,t;return o&&(e=o.match(c.regExp.required),t=o.match(c.regExp.optional),s=s||c.urlData,e&&(u.debug("Looking for required URL variables",e),O.each(e,function(e,t){var r=-1!==t.indexOf("$")?t.substr(2,t.length-3):t.substr(1,t.length-2),n=O.isPlainObject(s)&&s[r]!==j?s[r]:m.data(r)!==j?m.data(r):v.data(r)!==j?v.data(r):s[r];if(n===j)return u.error(l.requiredParameter,r,o),o=!1;u.verbose("Found required variable",r,n),n=c.encodeParameters?u.get.urlEncodedValue(n):n,o=o.replace(t,n)})),t&&(u.debug("Looking for optional URL variables",e),O.each(t,function(e,t){var r=-1!==t.indexOf("$")?t.substr(3,t.length-4):t.substr(2,t.length-3),n=O.isPlainObject(s)&&s[r]!==j?s[r]:m.data(r)!==j?m.data(r):v.data(r)!==j?v.data(r):s[r];o=n!==j?(u.verbose("Optional variable Found",r,n),o.replace(t,n)):(u.verbose("Optional variable not found",r),-1!==o.indexOf("/"+t)?o.replace("/"+t,""):o.replace(t,""))}))),o},formData:function(e){var t,n={};return e=e||o||c.data,t=O.isPlainObject(e),O.each(b.serializeArray(),function(e,t){var r=n[t.name];null!=r?Array.isArray(r)?r.push(t.value):n[t.name]=[r,t.value]:n[t.name]=t.value}),e=t?(u.debug("Extending existing data with form data",e,n),O.extend(!0,{},e,n)):(u.debug("Adding form data",n),n)}},send:{request:function(){u.set.loading(),u.request=u.create.request(),u.is.mocked()?u.mockedXHR=u.create.mockedXHR():u.xhr=u.create.xhr(),c.onRequest.call(y,u.request,u.xhr)}},event:{trigger:function(e){u.query(),"submit"!=e.type&&"click"!=e.type||e.preventDefault()},xhr:{always:function(){},done:function(e,t,r){var n=this,o=(new Date).getTime()-i,s=c.loadingDuration-o,a=!!O.isFunction(c.onResponse)&&(u.is.expectingJSON()&&!c.rawResponse?c.onResponse.call(n,O.extend(!0,{},e)):c.onResponse.call(n,e));s=0<s?s:0,a&&(u.debug("Modified API response in onResponse callback",c.onResponse,a,e),e=a),0<s&&u.debug("Response completed early delaying state change by",s),setTimeout(function(){u.is.validResponse(e)?u.request.resolveWith(n,[e,r]):u.request.rejectWith(n,[r,"invalid"])},s)},fail:function(e,t,r){var n=this,o=(new Date).getTime()-i,s=c.loadingDuration-o;0<(s=0<s?s:0)&&u.debug("Response completed early delaying state change by",s),setTimeout(function(){u.is.abortedRequest(e)?u.request.rejectWith(n,[e,"aborted",r]):u.request.rejectWith(n,[e,"error",t,r])},s)}},request:{done:function(e,t){u.debug("Successful API Response",e),"local"===c.cache&&r&&(u.write.cachedResponse(r,e),u.debug("Saving server response locally",u.cache)),c.onSuccess.call(y,e,m,t)},complete:function(e,t){var r,n;u.was.successful()?(n=e,r=t):(r=e,n=u.get.responseFromXHR(r)),u.remove.loading(),c.onComplete.call(y,n,m,r)},fail:function(e,t,r){var n=u.get.responseFromXHR(e),o=u.get.errorFromRequest(n,t,r);if("aborted"==t)return u.debug("XHR Aborted (Most likely caused by page navigation or CORS Policy)",t,r),c.onAbort.call(y,t,m,e),!0;"invalid"==t?u.debug("JSON did not pass success test. A server-side error has most likely occurred",n):"error"==t&&e!==j&&(u.debug("XHR produced a server error",t,r),(e.status<200||300<=e.status)&&r!==j&&""!==r&&u.error(l.statusMessage+r,s.url),c.onError.call(y,o,m,e)),c.errorDuration&&"aborted"!==t&&(u.debug("Adding error state"),u.set.error(),u.should.removeError()&&setTimeout(u.remove.error,c.errorDuration)),u.debug("API Request failed",o,e),c.onFailure.call(y,n,m,e)}}},create:{request:function(){return O.Deferred().always(u.event.request.complete).done(u.event.request.done).fail(u.event.request.fail)},mockedXHR:function(){var e,t,r,n=c.mockResponse||c.response,o=c.mockResponseAsync||c.responseAsync;return r=O.Deferred().always(u.event.xhr.complete).done(u.event.xhr.done).fail(u.event.xhr.fail),n?(t=O.isFunction(n)?(u.debug("Using specified synchronous callback",n),n.call(y,a)):(u.debug("Using settings specified response",n),n),r.resolveWith(y,[t,!1,{responseText:t}])):O.isFunction(o)&&(e=function(e){u.debug("Async callback returned response",e),e?r.resolveWith(y,[e,!1,{responseText:e}]):r.rejectWith(y,[{responseText:e},!1,!1])},u.debug("Using specified async response callback",o),o.call(y,a,e)),r},xhr:function(){var e;return e=O.ajax(s).always(u.event.xhr.always).done(u.event.xhr.done).fail(u.event.xhr.fail),u.verbose("Created server request",e,s),e}},set:{error:function(){u.verbose("Adding error state to element",v),v.addClass(f.error)},loading:function(){u.verbose("Adding loading state to element",v),v.addClass(f.loading),i=(new Date).getTime()}},remove:{error:function(){u.verbose("Removing error state from element",v),v.removeClass(f.error)},loading:function(){u.verbose("Removing loading state from element",v),v.removeClass(f.loading)}},get:{normalizedData:function(){return"string"==typeof c.data?c.data:JSON.stringify(c.data,Object.keys(c.data).sort())},responseFromXHR:function(e){return!!O.isPlainObject(e)&&(u.is.expectingJSON()?u.decode.json(e.responseText):e.responseText)},errorFromRequest:function(e,t,r){return O.isPlainObject(e)&&e.error!==j?e.error:c.error[t]!==j?c.error[t]:r},request:function(){return u.request||!1},xhr:function(){return u.xhr||!1},settings:function(){var e;return(e=c.beforeSend.call(m,c))&&(e.success!==j&&(u.debug("Legacy success callback detected",e),u.error(l.legacyParameters,e.success),e.onSuccess=e.success),e.failure!==j&&(u.debug("Legacy failure callback detected",e),u.error(l.legacyParameters,e.failure),e.onFailure=e.failure),e.complete!==j&&(u.debug("Legacy complete callback detected",e),u.error(l.legacyParameters,e.complete),e.onComplete=e.complete)),e===j&&u.error(l.noReturnedValue),!1===e?e:e!==j?O.extend(!0,{},e):O.extend(!0,{},c)},urlEncodedValue:function(e){var t=D.decodeURIComponent(e),r=D.encodeURIComponent(e);return t!==e?(u.debug("URL value is already encoded, avoiding double encoding",e),e):(u.verbose("Encoding value using encodeURIComponent",e,r),r)},defaultData:function(){var e={};return O.isWindow(h)||(u.is.input()?e.value=m.val():u.is.form()||(e.text=m.text())),e},event:function(){return O.isWindow(h)||"now"==c.on?(u.debug("API called without element, no events attached"),!1):"auto"==c.on?m.is("input")?h.oninput!==j?"input":h.onpropertychange!==j?"propertychange":"keyup":m.is("form")?"submit":"click":c.on},templatedURL:function(e){if(e=e||m.data(n.action)||c.action||!1,r=m.data(n.url)||c.url||!1)return u.debug("Using specified url",r),r;if(e){if(u.debug("Looking up url for action",e,c.api),c.api[e]===j&&!u.is.mocked())return void u.error(l.missingAction,c.action,c.api);r=c.api[e]}else u.is.form()&&(r=m.attr("action")||v.attr("action")||!1,u.debug("No url or action specified, defaulting to form action",r));return r}},abort:function(){var e=u.get.xhr();e&&"resolved"!==e.state()&&(u.debug("Cancelling API request"),e.abort())},reset:function(){u.remove.error(),u.remove.loading()},setting:function(e,t){if(u.debug("Changing setting",e,t),O.isPlainObject(e))O.extend(!0,c,e);else{if(t===j)return c[e];O.isPlainObject(c[e])?O.extend(!0,c[e],t):c[e]=t}},internal:function(e,t){if(O.isPlainObject(e))O.extend(!0,u,e);else{if(t===j)return u[e];u[e]=t}},debug:function(){!c.silent&&c.debug&&(c.performance?u.performance.log(arguments):(u.debug=Function.prototype.bind.call(console.info,console,c.name+":"),u.debug.apply(console,arguments)))},verbose:function(){!c.silent&&c.verbose&&c.debug&&(c.performance?u.performance.log(arguments):(u.verbose=Function.prototype.bind.call(console.info,console,c.name+":"),u.verbose.apply(console,arguments)))},error:function(){c.silent||(u.error=Function.prototype.bind.call(console.error,console,c.name+":"),u.error.apply(console,arguments))},performance:{log:function(e){var t,r;c.performance&&(r=(t=(new Date).getTime())-(S||t),S=t,k.push({Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":r})),clearTimeout(u.performance.timer),u.performance.timer=setTimeout(u.performance.display,500)},display:function(){var e=c.name+":",r=0;S=!1,clearTimeout(u.performance.timer),O.each(k,function(e,t){r+=t["Execution Time"]}),e+=" "+r+"ms",A&&(e+=" '"+A+"'"),(console.group!==j||console.table!==j)&&0<k.length&&(console.groupCollapsed(e),console.table?console.table(k):O.each(k,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),k=[]}},invoke:function(n,e,t){var o,s,r,a=R;return e=e||w,t=h||t,"string"==typeof n&&a!==j&&(n=n.split(/[\. ]/),o=n.length-1,O.each(n,function(e,t){var r=e!=o?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(O.isPlainObject(a[r])&&e!=o)a=a[r];else{if(a[r]!==j)return s=a[r],!1;if(!O.isPlainObject(a[t])||e==o)return a[t]!==j?s=a[t]:u.error(l.method,n),!1;a=a[t]}})),O.isFunction(s)?r=s.apply(t,e):s!==j&&(r=s),Array.isArray(x)?x.push(r):x!==j?x=[x,r]:r!==j&&(x=r),s}},P?(R===j&&u.initialize(),u.invoke(T)):(R!==j&&R.invoke("destroy"),u.initialize())}),x!==j?x:this},O.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,rawResponse:!0,beforeSend:function(e){return e},beforeXHR:function(e){},onRequest:function(e,t){},onResponse:!1,onSuccess:function(e,t){},onComplete:function(e,t){},onFailure:function(e,t){},onError:function(e,t){},onAbort:function(e,t){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}}(jQuery,window,document);
11
+ !function(O,D,e,j){"use strict";O.isWindow=O.isWindow||function(e){return null!=e&&e===e.window},D=void 0!==D&&D.Math==Math?D:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),O.api=O.fn.api=function(q){var x,e=O.isFunction(this)?O(D):O(this),A=e.selector||"",S=(new Date).getTime(),k=[],T=q,P="string"==typeof T,w=[].slice.call(arguments,1);return e.each(function(){var s,a,r,e,i,o,u,c=O.isPlainObject(q)?O.extend(!0,{},O.fn.api.settings,q):O.extend({},O.fn.api.settings),t=c.namespace,n=c.metadata,d=c.selector,l=c.error,f=c.className,g="."+t,p="module-"+t,m=O(this),b=m.closest(d.form),v=c.stateContext?O(c.stateContext):m,h=this,y=v[0],R=m.data(p);u={initialize:function(){P||(o=c.data,u.bind.events()),u.instantiate()},instantiate:function(){u.verbose("Storing instance of module",u),R=u,m.data(p,R)},destroy:function(){u.verbose("Destroying previous module for",h),m.removeData(p).off(g)},bind:{events:function(){var e=u.get.event();e?(u.verbose("Attaching API events to element",e),m.on(e+g,u.event.trigger)):"now"==c.on&&(u.debug("Querying API endpoint immediately"),u.query())}},decode:{json:function(e){if(e!==j&&"string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}},read:{cachedResponse:function(e){var t;if(D.Storage!==j)return t=sessionStorage.getItem(e+u.get.normalizedData()),u.debug("Using cached response",e,c.data,t),t=u.decode.json(t);u.error(l.noStorage)}},write:{cachedResponse:function(e,t){t&&""===t?u.debug("Response empty, not caching",t):D.Storage!==j?(O.isPlainObject(t)&&(t=JSON.stringify(t)),sessionStorage.setItem(e+u.get.normalizedData(),t),u.verbose("Storing cached response for url",e,c.data,t)):u.error(l.noStorage)}},query:function(){if(u.is.disabled())u.debug("Element is disabled API request aborted");else{if(u.is.loading()){if(!c.interruptRequests)return void u.debug("Cancelling request, previous request is still pending");u.debug("Interrupting previous request"),u.abort()}if(c.defaultData&&O.extend(!0,c.urlData,u.get.defaultData()),c.serializeForm&&(c.data=u.add.formData(o||c.data)),!1===(a=u.get.settings()))return u.cancelled=!0,void u.error(l.beforeSend);if(u.cancelled=!1,(r=u.get.templatedURL())||u.is.mocked()){if((r=u.add.urlData(r))||u.is.mocked()){if(a.url=c.base+r,s=O.extend(!0,{},c,{type:c.method||c.type,data:e,url:c.base+r,beforeSend:c.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),u.debug("Querying URL",s.url),u.verbose("Using AJAX settings",s),"local"===c.cache&&u.read.cachedResponse(r))return u.debug("Response returned from local cache"),u.request=u.create.request(),void u.request.resolveWith(y,[u.read.cachedResponse(r)]);c.throttle?c.throttleFirstRequest||u.timer?(u.debug("Throttling request",c.throttle),clearTimeout(u.timer),u.timer=setTimeout(function(){u.timer&&delete u.timer,u.debug("Sending throttled request",e,s.method),u.send.request()},c.throttle)):(u.debug("Sending request",e,s.method),u.send.request(),u.timer=setTimeout(function(){},c.throttle)):(u.debug("Sending request",e,s.method),u.send.request())}}else u.error(l.missingURL)}},should:{removeError:function(){return!0===c.hideError||"auto"===c.hideError&&!u.is.form()}},is:{disabled:function(){return 0<m.filter(d.disabled).length},expectingJSON:function(){return"json"===c.dataType||"jsonp"===c.dataType},form:function(){return m.is("form")||v.is("form")},mocked:function(){return c.mockResponse||c.mockResponseAsync||c.response||c.responseAsync},input:function(){return m.is("input")},loading:function(){return!!u.request&&"pending"==u.request.state()},abortedRequest:function(e){return e&&e.readyState!==j&&0===e.readyState?(u.verbose("XHR request determined to be aborted"),!0):(u.verbose("XHR request was not aborted"),!1)},validResponse:function(e){return u.is.expectingJSON()&&O.isFunction(c.successTest)?(u.debug("Checking JSON returned success",c.successTest,e),c.successTest(e)?(u.debug("Response passed success test",e),!0):(u.debug("Response failed success test",e),!1)):(u.verbose("Response is not JSON, skipping validation",c.successTest,e),!0)}},was:{cancelled:function(){return u.cancelled||!1},successful:function(){return u.request&&"resolved"==u.request.state()},failure:function(){return u.request&&"rejected"==u.request.state()},complete:function(){return u.request&&("resolved"==u.request.state()||"rejected"==u.request.state())}},add:{urlData:function(o,s){var e,t;return o&&(e=o.match(c.regExp.required),t=o.match(c.regExp.optional),s=s||c.urlData,e&&(u.debug("Looking for required URL variables",e),O.each(e,function(e,t){var r=-1!==t.indexOf("$")?t.slice(2,-1):t.slice(1,-1),n=O.isPlainObject(s)&&s[r]!==j?s[r]:m.data(r)!==j?m.data(r):v.data(r)!==j?v.data(r):s[r];if(n===j)return u.error(l.requiredParameter,r,o),o=!1;u.verbose("Found required variable",r,n),n=c.encodeParameters?u.get.urlEncodedValue(n):n,o=o.replace(t,n)})),t&&(u.debug("Looking for optional URL variables",e),O.each(t,function(e,t){var r=-1!==t.indexOf("$")?t.slice(3,-1):t.slice(2,-1),n=O.isPlainObject(s)&&s[r]!==j?s[r]:m.data(r)!==j?m.data(r):v.data(r)!==j?v.data(r):s[r];o=n!==j?(u.verbose("Optional variable Found",r,n),o.replace(t,n)):(u.verbose("Optional variable not found",r),-1!==o.indexOf("/"+t)?o.replace("/"+t,""):o.replace(t,""))}))),o},formData:function(e){var t,n={};return e=e||o||c.data,t=O.isPlainObject(e),O.each(b.serializeArray(),function(e,t){var r=n[t.name];null!=r?Array.isArray(r)?r.push(t.value):n[t.name]=[r,t.value]:n[t.name]=t.value}),e=t?(u.debug("Extending existing data with form data",e,n),O.extend(!0,{},e,n)):(u.debug("Adding form data",n),n)}},send:{request:function(){u.set.loading(),u.request=u.create.request(),u.is.mocked()?u.mockedXHR=u.create.mockedXHR():u.xhr=u.create.xhr(),c.onRequest.call(y,u.request,u.xhr)}},event:{trigger:function(e){u.query(),"submit"!=e.type&&"click"!=e.type||e.preventDefault()},xhr:{always:function(){},done:function(e,t,r){var n=this,o=(new Date).getTime()-i,s=c.loadingDuration-o,a=!!O.isFunction(c.onResponse)&&(u.is.expectingJSON()&&!c.rawResponse?c.onResponse.call(n,O.extend(!0,{},e)):c.onResponse.call(n,e));s=0<s?s:0,a&&(u.debug("Modified API response in onResponse callback",c.onResponse,a,e),e=a),0<s&&u.debug("Response completed early delaying state change by",s),setTimeout(function(){u.is.validResponse(e)?u.request.resolveWith(n,[e,r]):u.request.rejectWith(n,[r,"invalid"])},s)},fail:function(e,t,r){var n=this,o=(new Date).getTime()-i,s=c.loadingDuration-o;0<(s=0<s?s:0)&&u.debug("Response completed early delaying state change by",s),setTimeout(function(){u.is.abortedRequest(e)?u.request.rejectWith(n,[e,"aborted",r]):u.request.rejectWith(n,[e,"error",t,r])},s)}},request:{done:function(e,t){u.debug("Successful API Response",e),"local"===c.cache&&r&&(u.write.cachedResponse(r,e),u.debug("Saving server response locally",u.cache)),c.onSuccess.call(y,e,m,t)},complete:function(e,t){var r,n;u.was.successful()?(n=e,r=t):(r=e,n=u.get.responseFromXHR(r)),u.remove.loading(),c.onComplete.call(y,n,m,r)},fail:function(e,t,r){var n=u.get.responseFromXHR(e),o=u.get.errorFromRequest(n,t,r);if("aborted"==t)return u.debug("XHR Aborted (Most likely caused by page navigation or CORS Policy)",t,r),c.onAbort.call(y,t,m,e),!0;"invalid"==t?u.debug("JSON did not pass success test. A server-side error has most likely occurred",n):"error"==t&&e!==j&&(u.debug("XHR produced a server error",t,r),(e.status<200||300<=e.status)&&r!==j&&""!==r&&u.error(l.statusMessage+r,s.url),c.onError.call(y,o,m,e)),c.errorDuration&&"aborted"!==t&&(u.debug("Adding error state"),u.set.error(),u.should.removeError()&&setTimeout(u.remove.error,c.errorDuration)),u.debug("API Request failed",o,e),c.onFailure.call(y,n,m,e)}}},create:{request:function(){return O.Deferred().always(u.event.request.complete).done(u.event.request.done).fail(u.event.request.fail)},mockedXHR:function(){var e,t,r,n=c.mockResponse||c.response,o=c.mockResponseAsync||c.responseAsync;return r=O.Deferred().always(u.event.xhr.complete).done(u.event.xhr.done).fail(u.event.xhr.fail),n?(t=O.isFunction(n)?(u.debug("Using specified synchronous callback",n),n.call(y,a)):(u.debug("Using settings specified response",n),n),r.resolveWith(y,[t,!1,{responseText:t}])):O.isFunction(o)&&(e=function(e){u.debug("Async callback returned response",e),e?r.resolveWith(y,[e,!1,{responseText:e}]):r.rejectWith(y,[{responseText:e},!1,!1])},u.debug("Using specified async response callback",o),o.call(y,a,e)),r},xhr:function(){var e;return e=O.ajax(s).always(u.event.xhr.always).done(u.event.xhr.done).fail(u.event.xhr.fail),u.verbose("Created server request",e,s),e}},set:{error:function(){u.verbose("Adding error state to element",v),v.addClass(f.error)},loading:function(){u.verbose("Adding loading state to element",v),v.addClass(f.loading),i=(new Date).getTime()}},remove:{error:function(){u.verbose("Removing error state from element",v),v.removeClass(f.error)},loading:function(){u.verbose("Removing loading state from element",v),v.removeClass(f.loading)}},get:{normalizedData:function(){return"string"==typeof c.data?c.data:JSON.stringify(c.data,Object.keys(c.data).sort())},responseFromXHR:function(e){return!!O.isPlainObject(e)&&(u.is.expectingJSON()?u.decode.json(e.responseText):e.responseText)},errorFromRequest:function(e,t,r){return O.isPlainObject(e)&&e.error!==j?e.error:c.error[t]!==j?c.error[t]:r},request:function(){return u.request||!1},xhr:function(){return u.xhr||!1},settings:function(){var e;return(e=c.beforeSend.call(m,c))&&(e.success!==j&&(u.debug("Legacy success callback detected",e),u.error(l.legacyParameters,e.success),e.onSuccess=e.success),e.failure!==j&&(u.debug("Legacy failure callback detected",e),u.error(l.legacyParameters,e.failure),e.onFailure=e.failure),e.complete!==j&&(u.debug("Legacy complete callback detected",e),u.error(l.legacyParameters,e.complete),e.onComplete=e.complete)),e===j&&u.error(l.noReturnedValue),!1===e?e:e!==j?O.extend(!0,{},e):O.extend(!0,{},c)},urlEncodedValue:function(e){var t=D.decodeURIComponent(e),r=D.encodeURIComponent(e);return t!==e?(u.debug("URL value is already encoded, avoiding double encoding",e),e):(u.verbose("Encoding value using encodeURIComponent",e,r),r)},defaultData:function(){var e={};return O.isWindow(h)||(u.is.input()?e.value=m.val():u.is.form()||(e.text=m.text())),e},event:function(){return O.isWindow(h)||"now"==c.on?(u.debug("API called without element, no events attached"),!1):"auto"==c.on?m.is("input")?h.oninput!==j?"input":h.onpropertychange!==j?"propertychange":"keyup":m.is("form")?"submit":"click":c.on},templatedURL:function(e){if(e=e||m.data(n.action)||c.action||!1,r=m.data(n.url)||c.url||!1)return u.debug("Using specified url",r),r;if(e){if(u.debug("Looking up url for action",e,c.api),c.api[e]===j&&!u.is.mocked())return void u.error(l.missingAction,c.action,c.api);r=c.api[e]}else u.is.form()&&(r=m.attr("action")||v.attr("action")||!1,u.debug("No url or action specified, defaulting to form action",r));return r}},abort:function(){var e=u.get.xhr();e&&"resolved"!==e.state()&&(u.debug("Cancelling API request"),e.abort())},reset:function(){u.remove.error(),u.remove.loading()},setting:function(e,t){if(u.debug("Changing setting",e,t),O.isPlainObject(e))O.extend(!0,c,e);else{if(t===j)return c[e];O.isPlainObject(c[e])?O.extend(!0,c[e],t):c[e]=t}},internal:function(e,t){if(O.isPlainObject(e))O.extend(!0,u,e);else{if(t===j)return u[e];u[e]=t}},debug:function(){!c.silent&&c.debug&&(c.performance?u.performance.log(arguments):(u.debug=Function.prototype.bind.call(console.info,console,c.name+":"),u.debug.apply(console,arguments)))},verbose:function(){!c.silent&&c.verbose&&c.debug&&(c.performance?u.performance.log(arguments):(u.verbose=Function.prototype.bind.call(console.info,console,c.name+":"),u.verbose.apply(console,arguments)))},error:function(){c.silent||(u.error=Function.prototype.bind.call(console.error,console,c.name+":"),u.error.apply(console,arguments))},performance:{log:function(e){var t,r;c.performance&&(r=(t=(new Date).getTime())-(S||t),S=t,k.push({Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":r})),clearTimeout(u.performance.timer),u.performance.timer=setTimeout(u.performance.display,500)},display:function(){var e=c.name+":",r=0;S=!1,clearTimeout(u.performance.timer),O.each(k,function(e,t){r+=t["Execution Time"]}),e+=" "+r+"ms",A&&(e+=" '"+A+"'"),(console.group!==j||console.table!==j)&&0<k.length&&(console.groupCollapsed(e),console.table?console.table(k):O.each(k,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),k=[]}},invoke:function(n,e,t){var o,s,r,a=R;return e=e||w,t=h||t,"string"==typeof n&&a!==j&&(n=n.split(/[\. ]/),o=n.length-1,O.each(n,function(e,t){var r=e!=o?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(O.isPlainObject(a[r])&&e!=o)a=a[r];else{if(a[r]!==j)return s=a[r],!1;if(!O.isPlainObject(a[t])||e==o)return a[t]!==j?s=a[t]:u.error(l.method,n),!1;a=a[t]}})),O.isFunction(s)?r=s.apply(t,e):s!==j&&(r=s),Array.isArray(x)?x.push(r):x!==j?x=[x,r]:r!==j&&(x=r),s}},P?(R===j&&u.initialize(),u.invoke(T)):(R!==j&&R.invoke("destroy"),u.initialize())}),x!==j?x:this},O.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,rawResponse:!0,beforeSend:function(e){return e},beforeXHR:function(e){},onRequest:function(e,t){},onResponse:!1,onSuccess:function(e,t){},onComplete:function(e,t){},onFailure:function(e,t){},onError:function(e,t){},onAbort:function(e,t){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Breadcrumb
2
+ * # Fomantic-UI 2.9.0-beta.235 - Breadcrumb
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Breadcrumb
2
+ * # Fomantic-UI 2.9.0-beta.235 - Breadcrumb
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Button
2
+ * # Fomantic-UI 2.9.0-beta.235 - Button
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Button
2
+ * # Fomantic-UI 2.9.0-beta.235 - Button
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Calendar
2
+ * # Fomantic-UI 2.9.0-beta.235 - Calendar
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Calendar
2
+ * # Fomantic-UI 2.9.0-beta.235 - Calendar
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Calendar
2
+ * # Fomantic-UI 2.9.0-beta.235 - Calendar
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.231
2
+ * # Fomantic UI - 2.9.0-beta.235
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Card
2
+ * # Fomantic-UI 2.9.0-beta.235 - Card
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Card
2
+ * # Fomantic-UI 2.9.0-beta.235 - Card
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Checkbox
2
+ * # Fomantic-UI 2.9.0-beta.235 - Checkbox
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Checkbox
2
+ * # Fomantic-UI 2.9.0-beta.235 - Checkbox
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Checkbox
2
+ * # Fomantic-UI 2.9.0-beta.235 - Checkbox
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.231
2
+ * # Fomantic UI - 2.9.0-beta.235
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Comment
2
+ * # Fomantic-UI 2.9.0-beta.235 - Comment
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Comment
2
+ * # Fomantic-UI 2.9.0-beta.235 - Comment
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Container
2
+ * # Fomantic-UI 2.9.0-beta.235 - Container
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Container
2
+ * # Fomantic-UI 2.9.0-beta.235 - Container
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Dimmer
2
+ * # Fomantic-UI 2.9.0-beta.235 - Dimmer
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Dimmer
2
+ * # Fomantic-UI 2.9.0-beta.235 - Dimmer
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Dimmer
2
+ * # Fomantic-UI 2.9.0-beta.235 - Dimmer
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.231
2
+ * # Fomantic UI - 2.9.0-beta.235
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Divider
2
+ * # Fomantic-UI 2.9.0-beta.235 - Divider
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Divider
2
+ * # Fomantic-UI 2.9.0-beta.235 - Divider
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Dropdown
2
+ * # Fomantic-UI 2.9.0-beta.235 - Dropdown
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Dropdown
2
+ * # Fomantic-UI 2.9.0-beta.235 - Dropdown
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -225,7 +225,7 @@ $.fn.dropdown = function(parameters) {
225
225
 
226
226
  create: {
227
227
  id: function() {
228
- id = (Math.random().toString(16) + '000000000').substr(2, 8);
228
+ id = (Math.random().toString(16) + '000000000').slice(2, 10);
229
229
  elementNamespace = '.' + id;
230
230
  module.verbose('Creating unique id for element', id);
231
231
  },
@@ -2528,7 +2528,7 @@ $.fn.dropdown = function(parameters) {
2528
2528
  var
2529
2529
  length = module.get.query().length
2530
2530
  ;
2531
- $search.val( text.substr(0, length));
2531
+ $search.val( text.slice(0, length));
2532
2532
  },
2533
2533
  scrollPosition: function($item, forceScroll) {
2534
2534
  var
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.231 - Dropdown
2
+ * # Fomantic-UI 2.9.0-beta.235 - Dropdown
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *