diff options
author | andrewdkim <adkim414@gmail.com> | 2019-11-23 16:30:45 -0500 |
---|---|---|
committer | andrewdkim <adkim414@gmail.com> | 2019-11-23 16:30:45 -0500 |
commit | b5b45c7d8eb9e3056c71d9ca213cca7f2d9c792a (patch) | |
tree | e6a04ae7ea36d085607a90109e2698db8ac2e034 /src/new_fields/util.ts | |
parent | 8af45ed7f376981ce8f8b1c6d1b2fd3b1546a00e (diff) | |
parent | 3b37cc31bb09b11238868c34a38a8e99f508479f (diff) |
merge from master
Diffstat (limited to 'src/new_fields/util.ts')
-rw-r--r-- | src/new_fields/util.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/new_fields/util.ts b/src/new_fields/util.ts index 92e3e3f6f..f748c7638 100644 --- a/src/new_fields/util.ts +++ b/src/new_fields/util.ts @@ -4,7 +4,7 @@ import { SerializationHelper } from "../client/util/SerializationHelper"; import { ProxyField } from "./Proxy"; import { RefField } from "./RefField"; import { ObjectField } from "./ObjectField"; -import { action } from "mobx"; +import { action, trace } from "mobx"; import { Parent, OnUpdate, Update, Id, SelfProxy, Self } from "./FieldSymbols"; import { DocServer } from "../client/DocServer"; @@ -12,6 +12,10 @@ function _readOnlySetter(): never { throw new Error("Documents can't be modified in read-only mode"); } +export function TraceMobx() { + //trace(); +} + export interface GetterResult { value: FieldResult; shouldReturn?: boolean; |