diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-10-06 07:09:02 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-10-06 07:09:02 +0200 |
commit | 18473f1844a8230130e1fc23d7ebf7d33183316f (patch) | |
tree | 75d297ab7eac48e14af88e565dc1e19775de9df1 /services/sync/modules-testing/rotaryengine.js | |
parent | 0c47c83e1b3b7d95681a43fbb0de0e17b2cd5b25 (diff) | |
download | UXP-18473f1844a8230130e1fc23d7ebf7d33183316f.tar UXP-18473f1844a8230130e1fc23d7ebf7d33183316f.tar.gz UXP-18473f1844a8230130e1fc23d7ebf7d33183316f.tar.lz UXP-18473f1844a8230130e1fc23d7ebf7d33183316f.tar.xz UXP-18473f1844a8230130e1fc23d7ebf7d33183316f.zip |
Update sync client for JS changes.
Diffstat (limited to 'services/sync/modules-testing/rotaryengine.js')
-rw-r--r-- | services/sync/modules-testing/rotaryengine.js | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |