Bug 813766: Set EXPORTED_SYMBOLS on this instead of the global. r=gps a=blocking-blocking-basecamp+
authorKyle Huey <khuey@kylehuey.com>
Mon, 26 Nov 2012 08:54:17 -0800
changeset 118413 93a206aa70d3cead850dd78e537bbd0dd5d488b4
parent 118412 444a70f8836063ed396ae9f00da3386763a447db
child 118414 75937412d151f72aa33fb441feeb5c847170b36f
push id2775
push userkhuey@mozilla.com
push dateTue, 27 Nov 2012 21:37:07 +0000
treeherdermozilla-aurora@ac448724f14d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps, blocking-blocking-basecamp
bugs813766
milestone19.0a2
Bug 813766: Set EXPORTED_SYMBOLS on this instead of the global. r=gps a=blocking-blocking-basecamp+
services/sync/modules/constants.js
--- a/services/sync/modules/constants.js
+++ b/services/sync/modules/constants.js
@@ -1,15 +1,15 @@
 #filter substitution
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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/. */
 
 // Process each item in the "constants hash" to add to "global" and give a name
-let EXPORTED_SYMBOLS = [((this[key] = val), key) for ([key, val] in Iterator({
+this.EXPORTED_SYMBOLS = [((this[key] = val), key) for ([key, val] in Iterator({
 
 WEAVE_CHANNEL:                         "@weave_channel@",
 WEAVE_VERSION:                         "@weave_version@",
 
 // Sync Server API version that the client supports.
 SYNC_API_VERSION:                      "1.1",
 USER_API_VERSION:                      "1.0",
 MISC_API_VERSION:                      "1.0",