sci

2022-05-05T06:59:38.851629Z

@borkdude Back when I started using sci, I used eval-string with options like:

:classes {'js js/window :allow :all}
So that I could call things like js/console.log ... is there a similar argument that can be used for eval-form ?

2022-05-05T07:00:47.396989Z

I see from the github page, that with eval-string you can do this to allow interop with anything:

{:classes {'js goog/global :allow :all}}

2022-05-05T07:01:56.853779Z

Ah, it looks like maybe I can provide this to the ctx when I create it.

2022-05-05T07:03:18.530519Z

Ok, that works!

👍 1