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

Unified Diff: safariInfo.js.tmpl

Issue 29332683: Noissue - Removed unused info.addonID and info.addonRoot for Chrome and Safari (Closed)
Patch Set: Also remove unused addonRoot Created Dec. 15, 2015, 4:52 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
« no previous file with comments | « chromeInfo.js.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safariInfo.js.tmpl
===================================================================
--- a/safariInfo.js.tmpl
+++ b/safariInfo.js.tmpl
@@ -3,15 +3,14 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
require.scopes.info = {
- addonID: '',
addonName: {{ metadata.get('general', 'basename')|json }},
addonVersion: {{ version|json }},
- addonRoot: '',
application: 'safari',
get applicationVersion() {
return navigator.userAgent.match(/Version\/([\d.]+)/)[1];
},
+
platform: 'safari',
get platformVersion() {
return this.applicationVersion;
« no previous file with comments | « chromeInfo.js.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld