debian-mirror-gitlab/app/assets/javascripts/commons/polyfills/svg.js

12 lines
432 B
JavaScript
Raw Normal View History

2020-04-08 14:13:33 +05:30
/**
* polyfill support for external SVG file references via <use xlink:href>
* @what polyfill support for external SVG file references via <use xlink:href>
* @why This is used in our GitLab SVG icon library
* @browsers Internet Explorer 11
* @see https://caniuse.com/#feat=mdn-svg_elements_use_external_uri
* @see https//css-tricks.com/svg-use-external-source/
*/
2018-12-05 23:21:45 +05:30
import svg4everybody from 'svg4everybody';
svg4everybody();