paperjs/paper.js — pull request #597 by louisremi (2014-12-15 14:01:08+00:00)
Title: fix #572 Handle closed path in PathFitter

Here's a simple sample script to test these changes:
```javascript
var path = new Path.Star(
new Point(50, 50),
3,
15,
40
);

path.fillColor = 'black';
path.simplify();
```