Index: templates/safariInfo.js.tmpl |
diff --git a/templates/safariInfo.js.tmpl b/templates/safariInfo.js.tmpl |
deleted file mode 100644 |
index 59b4b4d096c462b6fd24d791e542683ad0804b1e..0000000000000000000000000000000000000000 |
--- a/templates/safariInfo.js.tmpl |
+++ /dev/null |
@@ -1,18 +0,0 @@ |
-/* This Source Code Form is subject to the terms of the Mozilla Public |
- * License, v. 2.0. If a copy of the MPL was not distributed with this |
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
- |
-require.scopes.info = { |
- addonName: {{ metadata.get('general', 'basename')|json }}, |
- addonVersion: {{ version|json }}, |
- |
- application: 'safari', |
- get applicationVersion() { |
- return navigator.userAgent.match(/Version\/([\d.]+)/)[1]; |
- }, |
- |
- platform: 'safari', |
- get platformVersion() { |
- return this.applicationVersion; |
- } |
-}; |