diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-14 19:59:23 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-14 19:59:23 -0400 |
commit | 1ae0370e6a116404085f6864c8b644fcde80f460 (patch) | |
tree | 6d308589e63751f967552bbf7e950ac6d1686cac /src/new_fields/Doc.ts | |
parent | af7b264b6939429cdda9ab6b5c685b661f564773 (diff) |
Added History module and ability to go back and forward when following links
Diffstat (limited to 'src/new_fields/Doc.ts')
-rw-r--r-- | src/new_fields/Doc.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts index 89901490d..d6043ef7a 100644 --- a/src/new_fields/Doc.ts +++ b/src/new_fields/Doc.ts @@ -159,9 +159,10 @@ export namespace Doc { for (const key in fields) { if (fields.hasOwnProperty(key)) { const value = fields[key]; - if (value !== undefined) { - doc[key] = value; - } + // Do we want to filter out undefineds? + // if (value !== undefined) { + doc[key] = value; + // } } } return doc; |