cheeaun/life — pull request #28 by mattcan (2013-12-04 06:27:40+00:00)
Title: Made it possible to render timline to highest year in events.

When parsing the events, the `parseTime` function now also checks
to see if the event was higher than the current final year. The
final year begins with the current year and any future events will
increase it.

This way you can add future events without having to do any manual
configuration, like updating `config.json`, and not have to worry about
strange rendering.

I'm not entirely comfortable with `parseTime` having side-effects but
you may be ok with it. I couldn't think of a simpler way to do it. A demo
of the fix working can be seen at http://mattcan.github.io/life/ with code at
0e11598

This is meant to fix issue #16.