aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-01-03 11:30:07 -0500
committerbobzel <zzzman@gmail.com>2023-01-03 11:30:07 -0500
commit93b68ba0ea7a28106583b2d4d767f9fc26aea39b (patch)
tree34ff31be1e26798d90f4f0f21b9114fa7ff72e7c /src/client/DocServer.ts
parent183789b1d5e9ee9d8906a29eb3fde3f651a8c29c (diff)
fixed frame num highlight when in editing mode.
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index ad39529df..cab90138f 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -38,9 +38,9 @@ export namespace DocServer {
});
strings.sort().forEach((str, i) => console.log(i.toString() + ' ' + str));
}
- const filtered = Array.from(Object.keys(_cache)).filter(key => {
+ const filtered = Array.from(Object.keys(_cache)).filter(key => {
const doc = _cache[key] as Doc;
- if (!(StrCast(doc.author).includes(".edu")||StrCast(doc.author).includes(".com")) || doc.author == Doc.CurrentUserEmail) return true;
+ if (!(StrCast(doc.author).includes('.edu') || StrCast(doc.author).includes('.com')) || doc.author == Doc.CurrentUserEmail) return true;
return false;
});
@@ -380,7 +380,6 @@ export namespace DocServer {
runInAction(() => (FieldLoader.ServerLoadStatus.retrieved = retrieved));
await new Promise(res => setTimeout(res));
}
- console.log('<');
// deserialize
const prom = SerializationHelper.Deserialize(field).then(async deserialized => {
fields[field.id] = deserialized;
@@ -393,7 +392,6 @@ export namespace DocServer {
} else {
delete _cache[field.id];
}
- console.log('>');
return deserialized;
});
// 4) here, for each of the documents we've requested *ourselves* (i.e. weren't promises or found in the cache)