paperjs/paper.js — pull request #359 by msand (2013-12-07 14:20:02+00:00)
Title: Fix crashing stroke bounds

Test and fix for crashing path.strokeBounds when path has only one segment and strokeColor is set. Because there is only one segment, getLocation returns null and getNormal cannot be called. Paths with a single segment are not drawn and therefore have zero width and height.