diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-16 14:47:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-16 14:48:23 +0200 |
commit | 931950a880b3550490422b1855c509be10586858 (patch) | |
tree | 163b2a63f0ae89ee195c288d6c1e8e4afbb15d86 /application/palemoon/modules/openLocationLastURL.jsm | |
parent | 4cfe5d84de0b8976f8bc5c005ae12ac3adf8f18a (diff) | |
download | UXP-931950a880b3550490422b1855c509be10586858.tar UXP-931950a880b3550490422b1855c509be10586858.tar.gz UXP-931950a880b3550490422b1855c509be10586858.tar.lz UXP-931950a880b3550490422b1855c509be10586858.tar.xz UXP-931950a880b3550490422b1855c509be10586858.zip |
Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
Diffstat (limited to 'application/palemoon/modules/openLocationLastURL.jsm')
-rw-r--r-- | application/palemoon/modules/openLocationLastURL.jsm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/palemoon/modules/openLocationLastURL.jsm b/application/palemoon/modules/openLocationLastURL.jsm index 0d653df28..3f58db8ce 100644 --- a/application/palemoon/modules/openLocationLastURL.jsm +++ b/application/palemoon/modules/openLocationLastURL.jsm @@ -10,11 +10,11 @@ Components.utils.import("resource://gre/modules/PrivateBrowsingUtils.jsm"); this.EXPORTED_SYMBOLS = [ "OpenLocationLastURL" ]; -let prefSvc = Components.classes["@mozilla.org/preferences-service;1"] +var prefSvc = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); -let gOpenLocationLastURLData = ""; +var gOpenLocationLastURLData = ""; -let observer = { +var observer = { QueryInterface: function (aIID) { if (aIID.equals(Components.interfaces.nsIObserver) || aIID.equals(Components.interfaces.nsISupports) || @@ -35,7 +35,7 @@ let observer = { } }; -let os = Components.classes["@mozilla.org/observer-service;1"] +var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); os.addObserver(observer, "last-pb-context-exited", true); os.addObserver(observer, "browser:purge-session-history", true); |