From 3b012d7555c0f32b88a2506b1f474262df5a5f2d Mon Sep 17 00:00:00 2001 From: Tyler Schicke Date: Tue, 7 May 2019 01:10:34 -0400 Subject: very minor stuff --- .../collections/collectionFreeForm/CollectionFreeFormLinksView.tsx | 4 ++-- src/new_fields/util.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx index 2d815a302..1c62db862 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx @@ -67,8 +67,8 @@ export class CollectionFreeFormLinksView extends React.Component(); else brushAction(srcBrushDocs); } - }) - }) + }); + }); }); } componentWillUnmount() { diff --git a/src/new_fields/util.ts b/src/new_fields/util.ts index bbd8157f6..a5f5e368b 100644 --- a/src/new_fields/util.ts +++ b/src/new_fields/util.ts @@ -56,6 +56,7 @@ export function getter(target: any, prop: string | symbol | number, receiver: an return getField(target, prop); } +//TODO The callback parameter is never being passed in currently, so we should be able to get rid of it. export function getField(target: any, prop: string | number, ignoreProto: boolean = false, callback?: (field: Field | undefined) => void): any { const field = target.__fields[prop]; if (field instanceof ProxyField) { -- cgit v1.2.3-70-g09d2