aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-06-28 16:18:17 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-06-28 16:18:17 -0400
commit618ab13746e51eff826ad60504147b3ea9f8d90c (patch)
treeea15c7d915e8e05e0f17fb8605ba2e2fb7303f80
parentc20afe5bf81491db78781184e03257272a1179a0 (diff)
test
-rw-r--r--src/new_fields/Doc.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts
index 27dcfba08..0340806ef 100644
--- a/src/new_fields/Doc.ts
+++ b/src/new_fields/Doc.ts
@@ -281,6 +281,7 @@ export namespace Doc {
}
export function expandTemplateLayout(templateLayoutDoc: Doc, dataDoc?: Doc) {
+ return templateLayoutDoc;
let resolvedDataDoc = (templateLayoutDoc !== dataDoc) ? dataDoc : undefined;
if (!dataDoc || !(templateLayoutDoc && !(Cast(templateLayoutDoc.layout, Doc) instanceof Doc) && resolvedDataDoc && resolvedDataDoc !== templateLayoutDoc)) {
return templateLayoutDoc;