diff options
author | bobzel <zzzman@gmail.com> | 2021-04-11 13:16:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 13:16:51 -0400 |
commit | 607e219255efbe2961bc23d5bd296c810e39e8d1 (patch) | |
tree | 04fec0def75bb4c1264306717de31ebd0a2a2518 /src/client/views/nodes/KeyValueBox.tsx | |
parent | f87c528f95912319c4181b3955cad4f1042c021e (diff) | |
parent | b215d4860454fca9050bb96a5f7c222c1eb9a3c7 (diff) |
Merge pull request #952 from browngraphicslab/demo_changes
Demo changes
Diffstat (limited to 'src/client/views/nodes/KeyValueBox.tsx')
-rw-r--r-- | src/client/views/nodes/KeyValueBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/KeyValueBox.tsx b/src/client/views/nodes/KeyValueBox.tsx index bf9ca1de0..111509fdb 100644 --- a/src/client/views/nodes/KeyValueBox.tsx +++ b/src/client/views/nodes/KeyValueBox.tsx @@ -58,7 +58,7 @@ export class KeyValueBox extends React.Component<FieldViewProps> { value = eq ? value.substr(1) : value; const dubEq = value.startsWith(":=") ? "computed" : value.startsWith(";=") ? "script" : false; value = dubEq ? value.substr(2) : value; - const options: ScriptOptions = { addReturn: true, params: { this: "Doc", _last_: "any" }, globals: true, editable: false }; + const options: ScriptOptions = { addReturn: true, params: { this: "Doc", _last_: "any" }, editable: false }; if (dubEq) options.typecheck = false; const script = CompileScript(value, options); return !script.compiled ? undefined : { script, type: dubEq, onDelegate: eq }; |