diff options
author | bob <bcz@cs.brown.edu> | 2019-02-19 16:00:41 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-02-19 16:00:41 -0500 |
commit | 9740d8e9879d95a984a842cf382260bb5572b8ef (patch) | |
tree | cde84192d1263fbb1e7b6368ce258758653646fd /src/client/Server.ts | |
parent | a30295559e76953127c1f3328002302705519bd9 (diff) |
clean up a bit.
Diffstat (limited to 'src/client/Server.ts')
-rw-r--r-- | src/client/Server.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/client/Server.ts b/src/client/Server.ts index 76f182e41..3e61729ab 100644 --- a/src/client/Server.ts +++ b/src/client/Server.ts @@ -60,21 +60,7 @@ export class Server { }); } - static times = 0; // hack for testing public static GetDocumentField(doc: Document, key: Key) { - // let keyId: string = element[0] - // let valueId: string = element[1] - // Server.GetField(keyId, (key: Field) => { - // if (key instanceof Key) { - // Server.GetField(valueId, (field: Field) => { - // console.log(field) - // doc.Set(key as Key, field) - // }) - // } - // else { - // console.log("how did you get a key that isnt a key wtf") - // } - // }) let field = doc._proxies.get(key.Id); if (field) { this.GetField(field, |