diff options
author | bobzel <zzzman@gmail.com> | 2023-12-29 17:01:40 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-29 17:01:40 -0500 |
commit | 9b9f54a43793ca6ffb26c56f962d11ba8325abd2 (patch) | |
tree | 026063b95da59556eb0a416b5f6fafd2ebccd737 /src/fields/Doc.ts | |
parent | a567eb1b6469db202d41d4d54f2c96137e49ea9c (diff) |
cleaned up imports, mobx observable initialization and some compile errors.
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 8903a9f97..9dc3c173d 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -265,8 +265,8 @@ export class Doc extends RefField { @observable public [DocAcl]: { [key: string]: symbol } = {}; @observable public [DocCss]: number = 0; // incrementer denoting a change to CSS layout @observable public [DirectLinks] = new ObservableSet<Doc>(); - @observable public [AudioPlay]: any; // meant to store sound object from Howl - @observable public [Animation]: Opt<Doc>; + @observable public [AudioPlay]: any = undefined; // meant to store sound object from Howl + @observable public [Animation]: Opt<Doc> = undefined; @observable public [Highlight]: boolean = false; @observable public [Brushed]: boolean = false; @observable public [DocViews] = new ObservableSet<DocumentView>(); |