InstituteforDiseaseModeling / covasim

COVID-19 Agent-based Simulator (Covasim): a model for exploring coronavirus dynamics and interventions
https://covasim.org
MIT License
250 stars 223 forks source link

Fix Edge error #188

Closed cliffckerr closed 4 years ago

cliffckerr commented 4 years ago

Adds code that hopefully issues an appropriate warning for people using Edge. NOTE: I do not have Edge so I have not tested it, it's taken from: https://vuejsdevelopers.com/2017/09/24/vue-js-single-file-javascript-components/

I think this is fine seeing as IE/Edge are ~2% of the global browser market share: https://gs.statcounter.com/browser-market-share

Closes https://github.com/InstituteforDiseaseModeling/covasim/issues/184

cliffckerr commented 4 years ago

OK, let's go the webpack route then

cliffckerr commented 4 years ago

Trying again based on help from @lgeorge-idm