Closed ColinSchmale closed 3 years ago
cadCanvas = new window.ThreeDxf.Viewer(dxf, document.getElementById('cad-view'), 400, 400, font);
causes an error in the console when I try to open a file. It cannot open property "Viewer" of undefined or null.
(When I load the site there is another error about an expected semicolon in three-dxf.js between "use-strict"; and eval(.)
Does anyone know why this happens and how I can fix it? It only happens on Internet Explorer 11. With Chrome and Edge everything works.
Edit:
I think I've fixed the Viewer undefined error by copying everything in the same file and Githubissues.
cadCanvas = new window.ThreeDxf.Viewer(dxf, document.getElementById('cad-view'), 400, 400, font);
causes an error in the console when I try to open a file. It cannot open property "Viewer" of undefined or null.
(When I load the site there is another error about an expected semicolon in three-dxf.js between "use-strict"; and eval(.)
Does anyone know why this happens and how I can fix it? It only happens on Internet Explorer 11. With Chrome and Edge everything works.
Edit:
I think I've fixed the Viewer undefined error by copying everything in the same file and Githubissues.