ericpaulbishop/gargoyle — pull request #131 by BashfulBladder (2013-05-18 11:36:40+00:00)
Title: splits javascript out from svg graphics files allowing the ja to be minified

1) changed the license to include 2013 copyright; also removed the backend portion as the svg graphic does not configure the back end in any way - and reduces the size of the minified file
2) added 'xmlns:xlink="http://www.w3.org/1999/xlink"' to the 2 pie.xvg to allow for the javascript splitting (required for Safari, don't know about others)
3) getColorStr is redone with no ill effect

I would have split out some common functions to a 'svg pie common.js' file, but only incrementColor & getColorStr would be there with a license header negating minification

I have tested the split in 3 pages (Bandwidth Usage +expand, B/W Distribution & QOS Distribution) in Safari 5.1.9, Firefox 20 & Chrome 25.0 but only on Mac OS X.

The svg graphics (both original & modified) failed to display in Win7/IE8 running in a VM.