mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Update sync client for JS changes.
This commit is contained in:
parent
c53787dfdb
commit
ee948be1cf
54 changed files with 256 additions and 228 deletions
|
|
@ -11,12 +11,12 @@ this.EXPORTED_SYMBOLS = [
|
|||
"fakeSHA256HMAC",
|
||||
];
|
||||
|
||||
const {utils: Cu} = Components;
|
||||
var {utils: Cu} = Components;
|
||||
|
||||
Cu.import("resource://services-sync/record.js");
|
||||
Cu.import("resource://services-sync/util.js");
|
||||
|
||||
let btoa = Cu.import("resource://gre/modules/Log.jsm").btoa;
|
||||
var btoa = Cu.import("resource://gre/modules/Log.jsm").btoa;
|
||||
|
||||
this.FakeFilesystemService = function FakeFilesystemService(contents) {
|
||||
this.fakeContents = contents;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ this.EXPORTED_SYMBOLS = [
|
|||
"initializeIdentityWithTokenServerResponse",
|
||||
];
|
||||
|
||||
const {utils: Cu} = Components;
|
||||
var {utils: Cu} = Components;
|
||||
|
||||
Cu.import("resource://gre/modules/Log.jsm");
|
||||
Cu.import("resource://services-sync/main.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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ this.EXPORTED_SYMBOLS = [
|
|||
"add_identity_test",
|
||||
];
|
||||
|
||||
const {utils: Cu} = Components;
|
||||
var {utils: Cu} = Components;
|
||||
|
||||
Cu.import("resource://services-sync/status.js");
|
||||
Cu.import("resource://services-sync/identity.js");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue