import { $ } from 'meteor/jquery'; /* jshint -W060 */ // Check if browser is IE and add the polyfill scripts if (navigator && /MSIE \d|Trident.*rv:/.test(navigator.userAgent)) { const writeScript = fileName => { const src = `/packages/ohif_compatibility/public/js/${fileName}`; document.write(`