From d673a5f94788b6df2e765b359be749ab9fd583fc Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 27 May 2021 12:00:47 +0200 Subject: [PATCH] Disable arity checks --- src/scittle/core.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scittle/core.cljs b/src/scittle/core.cljs index ba4e037..66d2dec 100644 --- a/src/scittle/core.cljs +++ b/src/scittle/core.cljs @@ -27,7 +27,8 @@ (def ctx (atom (sci/init {:namespaces namespaces :classes {'js js/window - :allow :all}}))) + :allow :all} + :disable-arity-checks true}))) (defn ^:export eval-string [s] (try (sci/eval-string* @ctx s)