diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-29 00:58:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-29 00:58:16 +0200 |
commit | 6f54c3d1fc475d7b0352b5739cd8a55c69d896ee (patch) | |
tree | 34d64940df7aabb59e8cd78a16f42b4ac3c7172d /application/palemoon/base/content/sync | |
parent | 258eb6ee9ccefc8a6353a73c6389b042054a36fe (diff) | |
parent | 170aaecc47c7f6bb9ddb64fc0d61beec76cca65b (diff) | |
download | UXP-6f54c3d1fc475d7b0352b5739cd8a55c69d896ee.tar UXP-6f54c3d1fc475d7b0352b5739cd8a55c69d896ee.tar.gz UXP-6f54c3d1fc475d7b0352b5739cd8a55c69d896ee.tar.lz UXP-6f54c3d1fc475d7b0352b5739cd8a55c69d896ee.tar.xz UXP-6f54c3d1fc475d7b0352b5739cd8a55c69d896ee.zip |
Merge pull request #404 from janekptacijarabaci/pm_global-scope_1
[PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM
Diffstat (limited to 'application/palemoon/base/content/sync')
4 files changed, 10 insertions, 10 deletions
diff --git a/application/palemoon/base/content/sync/aboutSyncTabs.js b/application/palemoon/base/content/sync/aboutSyncTabs.js index bc624a459..410494b5b 100644 --- a/application/palemoon/base/content/sync/aboutSyncTabs.js +++ b/application/palemoon/base/content/sync/aboutSyncTabs.js @@ -2,7 +2,7 @@ * 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/. */ -const Cu = Components.utils; +var Cu = Components.utils; Cu.import("resource://services-common/utils.js"); Cu.import("resource://services-sync/main.js"); diff --git a/application/palemoon/base/content/sync/addDevice.js b/application/palemoon/base/content/sync/addDevice.js index 40862a791..0390d4397 100644 --- a/application/palemoon/base/content/sync/addDevice.js +++ b/application/palemoon/base/content/sync/addDevice.js @@ -2,9 +2,9 @@ * 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/. */ -const Ci = Components.interfaces; -const Cc = Components.classes; -const Cu = Components.utils; +var Ci = Components.interfaces; +var Cc = Components.classes; +var Cu = Components.utils; Cu.import("resource://services-sync/main.js"); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); diff --git a/application/palemoon/base/content/sync/genericChange.js b/application/palemoon/base/content/sync/genericChange.js index 0c6dc145e..df6639178 100644 --- a/application/palemoon/base/content/sync/genericChange.js +++ b/application/palemoon/base/content/sync/genericChange.js @@ -2,8 +2,8 @@ * 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/. */ -const Ci = Components.interfaces; -const Cc = Components.classes; +var Ci = Components.interfaces; +var Cc = Components.classes; Components.utils.import("resource://services-sync/main.js"); Components.utils.import("resource://gre/modules/Services.jsm"); diff --git a/application/palemoon/base/content/sync/setup.js b/application/palemoon/base/content/sync/setup.js index 99faa038e..e8d67a5f6 100644 --- a/application/palemoon/base/content/sync/setup.js +++ b/application/palemoon/base/content/sync/setup.js @@ -2,10 +2,10 @@ * 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/. */ -const Ci = Components.interfaces; -const Cc = Components.classes; -const Cr = Components.results; -const Cu = Components.utils; +var Ci = Components.interfaces; +var Cc = Components.classes; +var Cr = Components.results; +var Cu = Components.utils; // page consts |