diff options
author | Stanley Yip <33562077+yipstanley@users.noreply.github.com> | 2019-07-30 19:41:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 19:41:00 -0400 |
commit | a2a73a1ad032979ea6eea06aa65354841e0ef0fa (patch) | |
tree | 00e38b12a22dcc52253e2d7c3e35efee42ad80cf /src/new_fields/ObjectField.ts | |
parent | c53d5fb0e5162cf27d6b5e5ed0ceb35f2461302e (diff) | |
parent | 80e6356692da7bffaad2efccf01500173c488de0 (diff) |
Merge branch 'master' into text_box_ab
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 |