You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.2 KiB

1 year ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. 1.2.2
  2. -----
  3. - new option added: `allowEmpty`
  4. - new option added: `emptyValue`
  5. - bugfix: accept empty string in set method (@kzmi, [#85](https://github.com/antennaio/jquery-bar-rating/pull/85))
  6. - bugfix: little CSS fix (@bygiro, [#74](https://github.com/antennaio/jquery-bar-rating/pull/74))
  7. - bugfix: syntax error within example in documentation (@sorter, [#72](https://github.com/antennaio/jquery-bar-rating/pull/72))
  8. - added optimal travis config (@amilajack, [#71](https://github.com/antennaio/jquery-bar-rating/pull/71))
  9. 1.2.1
  10. -----
  11. - fixed variable declaration (@schurig, [#68](https://github.com/antennaio/jquery-bar-rating/pull/68))
  12. - added a note about [R language integration](https://github.com/harveyl888/barRating) to the FAQ (@harveyl888, [#67](https://github.com/antennaio/jquery-bar-rating/issues/67))
  13. 1.2.0
  14. -----
  15. - deprecated `wrapperClass` option removed
  16. - readonly ratings - `cursor: default` rule added to all themes
  17. - support for displaying of fractional star ratings (2.5, 3.7, 4.9) - fractional ratings will be marked with `br-fractional` and `br-fractional-*` classes (where * is 10, 20, 30...)
  18. - reset select field when ratings are cleared
  19. - `deselectable` option added
  20. 1.1.4
  21. -----
  22. - license file added
  23. - bugfix: when using "set" method the colors are reversed (@hrishiballal, [#59](https://github.com/antennaio/jquery-bar-rating/issues/59))
  24. - update selected rating value when tabbing (fixes issue [#51](https://github.com/antennaio/jquery-bar-rating/issues/51))
  25. - bugfix: click doesn't fire onSelect after changing readonly to true and then to false (@zimarai, [#54](https://github.com/antennaio/jquery-bar-rating/pull/54))
  26. 1.1.3
  27. -----
  28. - new option added: `silent`
  29. - `readonly` method added
  30. - namespaced events
  31. - rating widget - redundant span elements dropped
  32. - `wrapperClass` option deprecated
  33. - pass event object to onSelect callback
  34. - print styles added
  35. - new option added: `hoverState`
  36. 1.1.2
  37. -----
  38. - AMD and CommonJS compatibility
  39. - FAQ section added to the docs
  40. - triggering onSelect callback when using `set` method
  41. 1.1.1
  42. -----
  43. - themes for basic stars in flavors for css, fontawesome and bootstrap (@garygreen, [#35](https://github.com/antennaio/jquery-bar-rating/pull/35))
  44. - switch to using karma and phantomjs for testing (@garygreen, [#37](https://github.com/antennaio/jquery-bar-rating/pull/37))
  45. - gulp tasks added
  46. - minified version with source map file stored in `dist` directory
  47. 1.1.0
  48. -----
  49. - new & improved demo page
  50. - plugin will create a wrapper div by itself
  51. - new option added: `wrapperClass`
  52. - new option added: `fastClicks`
  53. 1.0.6
  54. -----
  55. - vertical rating example
  56. - bugfix: Knockout doesn't recognize values set by the widget unless we call change() on the select tag. (@akshaykarle, [#25](https://github.com/antennaio/jquery-bar-rating/pull/25))
  57. - documentation updated with detailed installation instructions
  58. - `set` method added
  59. - bugfix: onClear and onDestroy callbacks fixed
  60. - allow html in ratings (fixes issue [#30](https://github.com/antennaio/jquery-bar-rating/issues/30)), thanks @techmantoolz
  61. 1.0.5
  62. -----
  63. - bugfix: selected option changed by propterties, not attributes (fixes issue [#7](https://github.com/antennaio/jquery-bar-rating/issues/7))
  64. - `initialRating` setting added
  65. - prefixed class names:
  66. `.bar-rating` changed to `.br-widget`
  67. `.current-rating` changed to `.br-current-rating`
  68. `.active` changed to `.br-active`
  69. `.selected` changed to `.br-selected`
  70. `.current` changed to `.br-current`
  71. - read-only and reversed rating marked with `.br-readonly` and `.br-reverse` classes respectively
  72. - bugfix: removed touch detection - improved cross-browser compatibility (fixes issue [#11](https://github.com/antennaio/jquery-bar-rating/issues/11))
  73. - bower.json added
  74. 1.0.4
  75. -----
  76. - `readonly` setting added
  77. - `reverse` setting added
  78. 1.0.3
  79. -----
  80. - `destroy` method will destroy a single instance of the plugin
  81. - `clear` method added
  82. - `onClear` and `onDestroy` callbacks added
  83. 1.0.2
  84. -----
  85. - `.current-rating` div gets updated on mouseenter
  86. 1.0.1
  87. -----
  88. - new scenario: empty ratings are allowed, user can deselect a previously selected rating (@linko, @antennaio, [#2](https://github.com/antennaio/jquery-bar-rating/pull/2))
  89. - the plugin will throw an error if called on anything other than `select` field