From e49dfe4ed7700a8742457adf49a3d4635df5d13c Mon Sep 17 00:00:00 2001 From: Jonas Jenwald <jonas.jenwald@gmail.com> Date: Mon, 14 Aug 2017 15:54:38 +0200 Subject: [PATCH] Don't load `compatibility.js` in the viewer while in non-`PRODUCTION` mode At this point, the default viewer is already not usable in older browsers in `gulp server` mode, since we only run the code through Babel as part of the build step. Hence there shouldn't be much point in manually loading `compatibility.js` in `viewer.html` the way that we've been doing, especially considering that it's already being loaded by `src/shared/util.js`. --- web/viewer.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/viewer.html b/web/viewer.html index 787c65dfa..762de689c 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -44,10 +44,6 @@ See https://github.com/adobe-type-tools/cmap-resources <link rel="resource" type="application/l10n" href="locale/locale.properties"> <!--#endif--> -<!--#if !PRODUCTION--> - <script src="../src/shared/compatibility.js"></script> -<!--#endif--> - <!--#if !PRODUCTION--> <script src="../node_modules/systemjs/dist/system.js"></script> <script src="../systemjs.config.js"></script>