Index: lib/uninstall.js |
diff --git a/lib/uninstall.js b/lib/uninstall.js |
index 0c2ad71c82b728239558c2bdae7ccc9a143d9923..cc83bac7589fc70bc0542d82da9b9ab6a05b4124 100644 |
--- a/lib/uninstall.js |
+++ b/lib/uninstall.js |
@@ -17,16 +17,17 @@ |
/** @module uninstall */ |
-let info = require("info"); |
-let {Prefs} = require("prefs"); |
-let {Utils} = require("utils"); |
+"use strict"; |
+ |
+const info = require("info"); |
+const {Prefs} = require("prefs"); |
+const {Utils} = require("utils"); |
function setUninstallURL() |
{ |
let search = []; |
- let keys = ["addonName", "addonVersion", "application", "applicationVersion", |
- "platform", "platformVersion"]; |
- for (let key of keys) |
+ for (let key of ["addonName", "addonVersion", "application", |
+ "applicationVersion", "platform", "platformVersion"]) |
search.push(key + "=" + encodeURIComponent(info[key])); |
let downlCount = Prefs.notificationdata.downloadCount || 0; |