Fork me on GitHub
#sci
<
2022-01-24
>
baibhavbista03:01:39

Hey folks, I was trying to use set! within sci in cljs and it didn't work. Was this (https://github.com/babashka/sci/issues/366) fixed? Saw that it was closed with no other info. As an alternative, I was trying to use goog.object but couldn't figure out how to include it. Any pointers? Update: I seem to have had a pretty old version. I've since upgraded the version of sci I was on and can use set! now

1
borkdude06:01:03

Should work in sci from master at least. Please provide more info such as version and config used. All of this works in #nbb so you could look at its config

1
baibhavbista06:01:13

Thanks! I will try in master. The config for nbb looks like it will work - thank you https://github.com/babashka/nbb/blob/main/src/nbb/core.cljs#L369 Another question, Any way of exposing the entire goog.object?

baibhavbista06:01:25

For anyone looking at this in the future - I seem to have had a pretty old version. I've since upgraded the version of sci I was on and could use set!

baibhavbista06:01:24

Btw @U04V15CAJ, sci release v0.2.8 does not seem to be in Maven for some reason (even though github shows released in mid-Dec 2021)

borkdude06:01:05

Use babashka/sci

borkdude06:01:23

This changed

baibhavbista06:01:39

thanks so much

🎉 1
borkdude13:02:55

Hey @U0154QR3DC7 Perhaps you can try out the newest SCI from master on Roam in a test branch? It's got significant performance improvements and I'd like to know about any breakage. https://twitter.com/borkdude/status/1493221299249991687

baibhavbista06:02:11

hey @U04V15CAJ At Roam, we use sci mostly for user level scripts and extensions. As a result, I could not test everything 😅 I did test on my graph with babashka/sci 0.3.0, and there was not breakage.. everything seemed to work