diff options
author | Stanley Yip <33562077+yipstanley@users.noreply.github.com> | 2019-07-30 19:40:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 19:40:00 -0400 |
commit | b26a257e09b9f4d8375806acb7ad143802b93603 (patch) | |
tree | 230fe76c093084c45105ec4c3b7a53f80b3eba86 /src/new_fields/ObjectField.ts | |
parent | 36ac0409b2a7a752727eaf2fc289d8cc72487619 (diff) | |
parent | 53b8bd7ff75ee500c999a4cbc87ed75e59ef1c21 (diff) |
Merge branch 'master' into toggle_claire
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 |