From a270fdac2abf1235f1ab1ff5ce2b2e3c551c3fb5 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Wed, 28 Sep 2016 23:11:30 +0200 Subject: [PATCH] skip instanceof checks, fixes #571 --- src/types/observablemap.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/observablemap.ts b/src/types/observablemap.ts index 4c9549431..dd11020a4 100644 --- a/src/types/observablemap.ts +++ b/src/types/observablemap.ts @@ -302,4 +302,5 @@ export function map(initialValues?: IMapEntries | IKeyValueMap, valueMo return new ObservableMap(initialValues, valueModifier); } -export const isObservableMap = createInstanceofPredicate("ObservableMap", ObservableMap); +/* 'var' fixes small-build issue */ +export var isObservableMap = createInstanceofPredicate("ObservableMap", ObservableMap);