anchor/machiavelli — pull request #68 by glasnt (2014-10-30 01:11:26+00:00)
Title: Correct popstate history re-write logic

Errors were occuring when using the slider with the popstate function, besauce event.OriginalEvent.state was null, which was erroring as it doesn't have a properly 'style'.

Add an additional check to confirm object exists before checking it's contents.

Works with remove-graph, back-button usecase, and slider resizing.