DmitryBaranovskiy/g.raphael — pull request #138 by alexanderkjall (2012-01-25 09:02:58+00:00)
Title: If the user enters invalid data the d variable could be NaN or 0, and th...

...en the while(!r) loop will continue forever. Adding a small check to check for those cases, so that the library doesn't hang the browser.