DukeLeNoir/jQCloud — pull request #19 by Grepsy (2011-12-20 11:32:59+00:00)
Title: Division by zero if all words have the same weight

The weight calulation is invalid when all the weights in the list are the same. This patch checks for this situation and uses a default weight of '5' in case it happens.