karlhorky/gray

Move SVG filter adding out of plugin

karlhorky opened this issue · 1 comments

Once the cssFilterDeprecated feature test has been moved out of the plugin with #22, the addSVGFilterOnce function can be also moved out of the plugin, so that it is just executed once. The data value being set on the body can also be removed.

Can probably refactor the whole thing quite a bit, so closing this for now.