From a69e862bc48cd0a83275e91660426348d4b2f4bc Mon Sep 17 00:00:00 2001
From: Jonas Jenwald <jonas.jenwald@gmail.com>
Date: Sat, 9 Jul 2016 17:52:04 +0200
Subject: [PATCH] [Firefox addon] Remove compatibility.js

This was added in PR 4865, but hasn't been necessary for quite some time now (and the minimum version is currently Firefox 38 for the addon).
---
 make.js         | 1 -
 web/viewer.html | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/make.js b/make.js
index 7597fb28c..a38eeea03 100644
--- a/make.js
+++ b/make.js
@@ -694,7 +694,6 @@ target.firefox = function() {
       [BUILD_TARGETS, FIREFOX_BUILD_CONTENT_DIR + BUILD_DIR],
       [BUILD_DIR + 'viewer.js', FIREFOX_BUILD_CONTENT_DIR + '/web'],
       [COMMON_WEB_FILES, FIREFOX_BUILD_CONTENT_DIR + '/web'],
-      ['web/compatibility.js', FIREFOX_BUILD_CONTENT_DIR + '/web'],
       ['external/bcmaps/*', FIREFOX_BUILD_CONTENT_DIR + '/web/cmaps'],
       [FIREFOX_EXTENSION_DIR + 'tools/l10n.js',
        FIREFOX_BUILD_CONTENT_DIR + '/web']
diff --git a/web/viewer.html b/web/viewer.html
index 83ea7fc51..169ffa978 100644
--- a/web/viewer.html
+++ b/web/viewer.html
@@ -44,7 +44,7 @@ See https://github.com/adobe-type-tools/cmap-resources
     <link rel="resource" type="application/l10n" href="locale/locale.properties">
 <!--#endif-->
 
-<!--#if !(MOZCENTRAL || CHROME || MINIFIED)-->
+<!--#if !(FIREFOX || MOZCENTRAL || CHROME || MINIFIED)-->
     <script src="compatibility.js"></script>
 <!--#endif-->