aboutsummaryrefslogtreecommitdiff
path: root/src/client/Server.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-19 16:00:41 -0500
committerbob <bcz@cs.brown.edu>2019-02-19 16:00:41 -0500
commit02f36f30593ba05cd3af166c17d30a67c69590c9 (patch)
treecde84192d1263fbb1e7b6368ce258758653646fd /src/client/Server.ts
parentc36fbdd79462b72183a24b91e901c027314a1cb1 (diff)
clean up a bit.
Diffstat (limited to 'src/client/Server.ts')
-rw-r--r--src/client/Server.ts14
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,