raty icon indicating copy to clipboard operation
raty copied to clipboard

2.7.0 & maybe earlier seems to use float values instead of half values

Open joeval opened this issue 11 years ago • 5 comments

i'm no programming master, but it seems when i have everything as it should in 2.7.0, enabling "half: true" properly gives float values rather than half values.

thanks so much for this tho.

take care

joeval avatar Oct 09 '14 12:10 joeval

Hi,

Use the master code with this fix. I need to generate a new tag.

Sorry.

wbotelhos avatar Oct 09 '14 17:10 wbotelhos

hey dont' be sorry my friend - thank you so much! it is beautiful & saves me time. thank you

On Thu, Oct 9, 2014 at 12:41 PM, Washington Botelho < [email protected]> wrote:

Hi,

Use the master code with this fix. I need to generate a new tag.

Sorry.

— Reply to this email directly or view it on GitHub https://github.com/wbotelhos/raty/issues/149#issuecomment-58547723.

joeval avatar Oct 09 '14 17:10 joeval

will do

On Thu, Oct 9, 2014 at 12:51 PM, joe v [email protected] wrote:

hey dont' be sorry my friend - thank you so much! it is beautiful & saves me time. thank you

On Thu, Oct 9, 2014 at 12:41 PM, Washington Botelho < [email protected]> wrote:

Hi,

Use the master code with this fix. I need to generate a new tag.

Sorry.

— Reply to this email directly or view it on GitHub https://github.com/wbotelhos/raty/issues/149#issuecomment-58547723.

joeval avatar Oct 09 '14 17:10 joeval

oh, this is public, haha.

i understand now --

so where do i acquire this master code with this fix - just the master branch? i just joined github

On Thu, Oct 9, 2014 at 12:52 PM, joe v [email protected] wrote:

will do

On Thu, Oct 9, 2014 at 12:51 PM, joe v [email protected] wrote:

hey dont' be sorry my friend - thank you so much! it is beautiful & saves me time. thank you

On Thu, Oct 9, 2014 at 12:41 PM, Washington Botelho < [email protected]> wrote:

Hi,

Use the master code with this fix. I need to generate a new tag.

Sorry.

— Reply to this email directly or view it on GitHub https://github.com/wbotelhos/raty/issues/149#issuecomment-58547723.

joeval avatar Oct 09 '14 17:10 joeval

I am still seeing this problem with half:true. The value I get is precision, not half stars. I tried to copy the raty.js from the master branch here as well as installing via bower. For now I'm calculating the half value in Ruby, before updating the value in the database, but a fix to the JS would be nice.

anrake avatar Jul 24 '15 15:07 anrake