wout/svg.export.js — pull request #4 by kroko (2013-08-21 21:37:06+00:00)
Title: changed function name export(..) to exportsvg(..)

"export" is reserved word
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Reserved_Words?redirectlocale=en-US&redirectslug=JavaScript%2FReference%2FReserved_Words
http://msdn.microsoft.com/en-us/library/ttyab5c8.aspx

Did not cause any issues with multiple browsers, but failed on IE8. Sure, IE8 does not support SVG anyways, but just having its src would make parser to fail and thus no simple js fallback logic of "your browser is too khemm.. *old*" would execute - could be managed by workaround, but by just not using reserved word for export method would make it so much easier ;)

suggesting a change to *exportsvg(..)*