wout/svg.js — pull request #247 by Shtong (2014-08-08 14:23:54+00:00)
Title: Fixed event creation for IE

Currently IE only supports the legacy way of creating events (ie. createEvent / initEvent), and will throw an exception if the new standards (using the Event constructor) are used. This patch catches this exception to try the legacy method if the new one does not work.