diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-03-02 22:08:54 -0500 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-03-02 22:08:54 -0500 |
| commit | 2bb713b4c4cf921960cbb03e4fbd1bf2639765ca (patch) | |
| tree | f2cdf48f320eebbd1c6b2c5f05dc3c2472bfe8a1 /src/client/views/collections/CollectionSchemaView.tsx | |
| parent | bde8aabad7e5745b4797e73b564e4efb19faeca9 (diff) | |
Added typechecking to Scripting
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 5bcd501cc..1ae8b3418 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -58,7 +58,7 @@ export class CollectionSchemaView extends CollectionViewBase { return field || ""; }} SetValue={(value: string) => { - let script = CompileScript(value); + let script = CompileScript(value, undefined, true); if (!script.compiled) { return false; } |
