From 11b7a56ab8073efd7e9e123b74f10bd38e6e4f16 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 25 Feb 2023 20:51:56 +0100 Subject: [PATCH] globalThis --- src/scittle/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scittle/core.cljs b/src/scittle/core.cljs index 8cccb48..4e06389 100644 --- a/src/scittle/core.cljs +++ b/src/scittle/core.cljs @@ -36,7 +36,7 @@ (def !sci-ctx (atom (sci/init {:namespaces namespaces - :classes {'js js/window + :classes {'js js/globalThis :allow :all 'Math js/Math} :ns-aliases {'clojure.pprint 'cljs.pprint}})))