Split packages into platform and extensions
This commit is contained in:
1 parent
f175d4b96b
commit
e8969fba11
992 files changed
+2
-1
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import writeScript from './lib/writeScript';
|
||||
|
||||
// Check if browser is IE and add the polyfill scripts
|
||||
if (navigator && /MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
|
||||
window.onload = () => {
|
||||
// Fix SVG+USE issues by calling the SVG polyfill
|
||||
writeScript('svgxuse.min.js');
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user