summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/sync/modules/constants.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/services/sync/modules/constants.js b/services/sync/modules/constants.js
index c8d66d921c..7a388b73d8 100644
--- a/services/sync/modules/constants.js
+++ b/services/sync/modules/constants.js
@@ -4,7 +4,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Process each item in the "constants hash" to add to "global" and give a name
-this.EXPORTED_SYMBOLS = [((this[key] = val), key) for ([key, val] in Iterator({
+this.EXPORTED_SYMBOLS = [];
+for (let [key, val] of Object.entries({
WEAVE_VERSION: "@weave_version@",
@@ -182,4 +183,7 @@ MIN_PASS_LENGTH: 8,
LOG_DATE_FORMAT: "%Y-%m-%d %H:%M:%S",
-}))];
+})) {
+ this[key] = val;
+ this.EXPORTED_SYMBOLS.push(key);
+}