exupero/saveSvgAsPng — pull request #16 by trhall (2014-10-06 04:44:18+00:00)
Title: Add null check for rules in styles function

I had an issue similar to #7. When trying to save a Google Chart, I encountered the same error "Cannot read property 'length' of null", also in Chrome. Added a null check to prevent this from occurring.