diff options
author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2020-08-04 18:07:07 +0800 |
---|---|---|
committer | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2020-08-04 18:07:07 +0800 |
commit | ab7eae26debd40a3d93d3b129947da32d099acb1 (patch) | |
tree | e101765f8c51f2796102e0ef23cb66211a6e45c2 /src/fields/Doc.ts | |
parent | 6ea1420c502f76a1c3219e0c34633575fb00ec98 (diff) | |
parent | 78c99446f284f7ac8e5443f77227ae5edbfd2aaf (diff) |
Merge branch 'master' into presentation_updates
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 85fc63074..9cd7eaa69 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -409,7 +409,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: error: 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); |