diff options
author | bob <bcz@cs.brown.edu> | 2019-08-01 15:05:38 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-08-01 15:05:38 -0400 |
commit | ff5fbd1206a065eabab917def7d83337a0442cab (patch) | |
tree | 07c2f86558f9255b9e5a69e032287b8d0539dbd5 /src/new_fields/ObjectField.ts | |
parent | 49faa4e76f91fed04bb1923d81dd23d57a157a63 (diff) | |
parent | 6f3d4a7015e15e0523fc194f7f911f6d45259165 (diff) |
Merge branch 'master' into grouping
Diffstat (limited to 'src/new_fields/ObjectField.ts')
-rw-r--r-- | src/new_fields/ObjectField.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/new_fields/ObjectField.ts b/src/new_fields/ObjectField.ts index 5f4a6f8fb..65ada91c0 100644 --- a/src/new_fields/ObjectField.ts +++ b/src/new_fields/ObjectField.ts @@ -1,6 +1,7 @@ import { Doc } from "./Doc"; import { RefField } from "./RefField"; import { OnUpdate, Parent, Copy, ToScriptString } from "./FieldSymbols"; +import { Scripting } from "../client/util/Scripting"; export abstract class ObjectField { protected [OnUpdate](diff?: any) { } @@ -15,3 +16,5 @@ export namespace ObjectField { return field[Copy](); } } + +Scripting.addGlobal(ObjectField);
\ No newline at end of file |