Adding flexbox polyfill to IE11
This commit is contained in:
parent
745bd7bae3
commit
1c18b081d0
@ -10,6 +10,7 @@ if (navigator && /MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
|
||||
|
||||
writeScript('svgxuse.min.js');
|
||||
writeScript('typedarray.js');
|
||||
writeScript('flexibility.min.js');
|
||||
|
||||
window.addEventListener('click', event => {
|
||||
if (!window.SVGElementInstance || !(event.target instanceof SVGElementInstance)) return;
|
||||
|
||||
@ -14,6 +14,7 @@ Package.onUse(function(api) {
|
||||
// Assets to be imported dynamically
|
||||
api.addAssets('public/js/svgxuse.min.js', 'client');
|
||||
api.addAssets('public/js/typedarray.js', 'client');
|
||||
api.addAssets('public/js/flexibility.min.js', 'client');
|
||||
|
||||
// Client imports
|
||||
api.addFiles('client/index.js', 'client');
|
||||
|
||||
2
Packages/ohif-compatibility/public/js/flexibility.min.js
vendored
Normal file
2
Packages/ohif-compatibility/public/js/flexibility.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user