Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/safariInfo.js.tmpl

Issue 29562614: Issue 5752 - Removing safari support (Closed)
Patch Set: Rebasing, removing additional files Created Oct. 4, 2017, 12:01 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
- }
-};

Powered by Google App Engine
This is Rietveld