mozilla/kuma — pull request #1044 by iakshay (2013-04-24 01:00:49+00:00)
Title: fix bug 785993 - show amount of words changed to revision comment

I have created 2 helper functions `comment_diff_percent` and `comment_diff_words` for giving estimation of content changed in terms of percent and words respectively.

I created percent function in case words changed didn't give expected results.

Please let me know if I can refactor my code.