DmitryBaranovskiy/g.raphael — pull request #144 by flecox (2012-03-15 16:12:28+00:00)
Title: fixing bug "pie char is not shown when only one option has votes"

the problem was.. when we have more than one option and all votes are in only one of them.
the scripts tries to draw an arc using paper.path.. starting at a position and ending at the same position,
because the positions are the same this doesn't draw anything.

so I've added a fix..

if the option 's value is equal to the total then draw a circle.

I've also minified the file

regards