[Pkg-mozext-commits] [personasplus] 01/07: Fix let scope change
David Prévot
taffit at moszumanska.debian.org
Fri Mar 18 21:24:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository personasplus.
commit 68e69f31ae833f294f0f0380177c1b0cd8056d75
Author: Andreas Wagner <mail at andreaswagner.org>
Date: Wed Mar 9 13:48:49 2016 +0100
Fix let scope change
---
extension/content/customPersonaEditor.js | 2 +-
extension/content/personas.js | 2 +-
extension/content/preferences.js | 2 +-
extension/modules/Observers.js | 6 +++---
extension/modules/Preferences.js | 4 ++--
extension/modules/StringBundle.js | 2 +-
extension/modules/log4moz.js | 2 +-
extension/modules/service.js | 8 ++++----
8 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/extension/content/customPersonaEditor.js b/extension/content/customPersonaEditor.js
index 004e2fb..3b0350d 100644
--- a/extension/content/customPersonaEditor.js
+++ b/extension/content/customPersonaEditor.js
@@ -47,7 +47,7 @@ Cu.import("resource://personas/modules/StringBundle.js");
Cu.import("resource://personas/modules/service.js");
-let CustomPersonaEditor = {
+var CustomPersonaEditor = {
//**************************************************************************//
// Shortcuts
diff --git a/extension/content/personas.js b/extension/content/personas.js
index ffaf70d..e25bd85 100644
--- a/extension/content/personas.js
+++ b/extension/content/personas.js
@@ -57,7 +57,7 @@ if (typeof Cu == "undefined")
// exported symbols all contain the word "persona" (f.e. PersonaService).
Cu.import("resource://personas/modules/service.js");
-let PersonaController = {
+var PersonaController = {
_previewTimeoutID: null,
_resetTimeoutID: null,
diff --git a/extension/content/preferences.js b/extension/content/preferences.js
index f03e9d1..ee64432 100644
--- a/extension/content/preferences.js
+++ b/extension/content/preferences.js
@@ -3,7 +3,7 @@ const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;
-let PersonasPreferences = {
+var PersonasPreferences = {
onSelectCustom: function(event) {
window.close();
opener.window.openUILinkIn("chrome://personas/content/customPersonaEditor.xul", "tab");
diff --git a/extension/modules/Observers.js b/extension/modules/Observers.js
index ed0dd40..bfec415 100644
--- a/extension/modules/Observers.js
+++ b/extension/modules/Observers.js
@@ -35,7 +35,7 @@
*
* ***** END LICENSE BLOCK ***** */
-let EXPORTED_SYMBOLS = ["Observers"];
+var EXPORTED_SYMBOLS = ["Observers"];
const Cc = Components.classes;
const Ci = Components.interfaces;
@@ -50,7 +50,7 @@ Cu.import("resource://gre/modules/XPCOMUtils.jsm");
*
* @version 0.2
*/
-let Observers = {
+var Observers = {
/**
* Register the given callback as an observer of the given topic.
*
@@ -131,7 +131,7 @@ let Observers = {
*
* We use this to remove observers when a caller calls |Observers.remove|.
*/
-let cache = [];
+var cache = [];
function Observer(topic, callback, thisObject) {
this.topic = topic;
diff --git a/extension/modules/Preferences.js b/extension/modules/Preferences.js
index b23c71e..09ceb0f 100644
--- a/extension/modules/Preferences.js
+++ b/extension/modules/Preferences.js
@@ -35,7 +35,7 @@
*
* ***** END LICENSE BLOCK ***** */
-let EXPORTED_SYMBOLS = ["Preferences"];
+var EXPORTED_SYMBOLS = ["Preferences"];
const Cc = Components.classes;
const Ci = Components.interfaces;
@@ -398,7 +398,7 @@ Preferences.__proto__ = Preferences.prototype;
* in this object by their complete pref name, not just their name relative to
* the root branch of the Preferences object with which they were created.
*/
-let observers = [];
+var observers = [];
function PrefObserver(prefName, callback, thisObject) {
this.prefName = prefName;
diff --git a/extension/modules/StringBundle.js b/extension/modules/StringBundle.js
index 74f463e..7f6c629 100644
--- a/extension/modules/StringBundle.js
+++ b/extension/modules/StringBundle.js
@@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ***** */
-let EXPORTED_SYMBOLS = ["StringBundle"];
+var EXPORTED_SYMBOLS = ["StringBundle"];
const Cc = Components.classes;
const Ci = Components.interfaces;
diff --git a/extension/modules/log4moz.js b/extension/modules/log4moz.js
index eaa62aa..3caac4a 100644
--- a/extension/modules/log4moz.js
+++ b/extension/modules/log4moz.js
@@ -66,7 +66,7 @@ const CDATA_START = "<![CDATA[";
const CDATA_END = "]]>";
const CDATA_ESCAPED_END = CDATA_END + "]]>" + CDATA_START;
-let Log4Moz = {
+var Log4Moz = {
Level: {
Fatal: 70,
Error: 60,
diff --git a/extension/modules/service.js b/extension/modules/service.js
index fedaf99..4cda95d 100644
--- a/extension/modules/service.js
+++ b/extension/modules/service.js
@@ -36,7 +36,7 @@
*
* ***** END LICENSE BLOCK ***** */
-let EXPORTED_SYMBOLS = ["PersonaService", "PERSONAS_EXTENSION_ID"];
+var EXPORTED_SYMBOLS = ["PersonaService", "PERSONAS_EXTENSION_ID"];
const Cc = Components.classes;
const Ci = Components.interfaces;
@@ -71,7 +71,7 @@ function endsWith(str, end) {
return !end || end.length <= str.length && end == str.slice(-end.length);
}
-let PersonaService = {
+var PersonaService = {
THUNDERBIRD_ID: "{3550f703-e582-4d05-9a08-453d09bdfdc6}",
FIREFOX_ID: "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
@@ -1361,7 +1361,7 @@ let PersonaService = {
}
};
-let DateUtils = {
+var DateUtils = {
/**
* Returns the number as a string with a 0 prepended to it if it contains
* only one digit, for formats like ISO 8601 that require two digit month,
@@ -1420,7 +1420,7 @@ let DateUtils = {
}
};
-let FileUtils = {
+var FileUtils = {
/**
* Gets the [profile]/personas directory.
* @return The reference to the personas directory (nsIFile).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git
More information about the Pkg-mozext-commits
mailing list