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 117174 d03d9d4fec3b17e1ffb4c01276ed79c3985d4aff
parent 117173 d1012a0350cb53d840c6847c9830adbb04adf06b
child 117175 4e1f41567b31049fd03c94571975b0b581aa8caa
push id1771
push userkhuey@mozilla.com
push dateWed, 28 Nov 2012 18:39:15 +0000
treeherdermozilla-beta@dde14219c867 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps, blocking-blocking-basecamp
bugs813766
milestone18.0
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",