ericdrowell/KineticJS — pull request #10 by jfollas (2012-04-01 15:08:01+00:00)
Title: Workaround for older browser security exception using toDataURL() with parameters

Revert to previous no-parameter (image/png) behavior if an exception is
encountered while calling canvas toDataURL() with parameters. See this
forum post: http://www.kineticjs.com/forum/viewtopic.php?f=10&t=423