From 18473f1844a8230130e1fc23d7ebf7d33183316f Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 6 Oct 2018 07:09:02 +0200 Subject: Update sync client for JS changes. --- services/sync/modules-testing/rotaryengine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/sync/modules-testing/rotaryengine.js') diff --git a/services/sync/modules-testing/rotaryengine.js b/services/sync/modules-testing/rotaryengine.js index d86c1a75e..3b76cd995 100644 --- a/services/sync/modules-testing/rotaryengine.js +++ b/services/sync/modules-testing/rotaryengine.js @@ -11,7 +11,7 @@ this.EXPORTED_SYMBOLS = [ "RotaryTracker", ]; -const {utils: Cu} = Components; +var {utils: Cu} = Components; Cu.import("resource://services-sync/engines.js"); Cu.import("resource://services-sync/record.js"); @@ -115,7 +115,7 @@ RotaryEngine.prototype = { return "DUPE_LOCAL"; } - for (let [id, value] in Iterator(this._store.items)) { + for (let [id, value] of Object.entries(this._store.items)) { if (item.denomination == value) { return id; } -- cgit v1.2.3