aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Doc.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-10-15 15:20:51 -0400
committerbobzel <zzzman@gmail.com>2020-10-15 15:20:51 -0400
commitf1ee3a6baffb22093d81e123d70f6ec9631c2075 (patch)
treef0cc215e8e58672e4de970542487429094399cc5 /src/fields/Doc.ts
parent79221b73d0526ce31349cf4a5b75f0047c60b829 (diff)
got rid of isDragging in favor of a field on the PresElement. fixed moving items in presBox by fixing websocket to maintain ordering on sequential operations on a list. fixed list splicing to not call addToSet unless splicing is at end of list. fixed setting return scale when following link into portal
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r--src/fields/Doc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts
index c8d28b4a2..4cf681482 100644
--- a/src/fields/Doc.ts
+++ b/src/fields/Doc.ts
@@ -399,7 +399,7 @@ export namespace Doc {
// and returns the document who's proto is undefined or whose proto is marked as a base prototype ('isPrototype').
export function GetProto(doc: Doc): Doc {
if (doc instanceof Promise) {
- console.log("GetProto: warning: got Promise insead of Doc");
+ // console.log("GetProto: warning: got Promise insead of Doc");
}
const proto = doc && (Doc.GetT(doc, "isPrototype", "boolean", true) ? doc : (doc.proto || doc));
return proto === doc ? proto : Doc.GetProto(proto);