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: Addressing comment Created Oct. 6, 2017, 9:18 a.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
« no previous file with comments | « templates/background.html.tmpl ('k') | templates/xartoc.xml.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
- }
-};
« no previous file with comments | « templates/background.html.tmpl ('k') | templates/xartoc.xml.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld