Changeset 3867 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/ratings/index.jsx
- Timestamp:
- 08/26/2016 10:13:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/ratings/index.jsx
r3865 r3867 15 15 16 16 <ul className="ratings-list"> 17 { rangeRight( 5, 1).map( stars => {17 { rangeRight( 1, 6 ).map( stars => { 18 18 const barWidth = this.props.plugin.num_ratings ? 100 * this.props.plugin.ratings[ stars ] / this.props.plugin.num_ratings : 0; 19 19
Note: See TracChangeset
for help on using the changeset viewer.