Build reports using the version currently on master and soon to be released, and a project that uses all attributes provided by the providers. • dom: [JS: 155.65 KB] [GZIP: 33.75 KB] • goog: [JS: 166.3 KB] [GZIP: 37.93 KB] • jquery: [JS: 244.38 KB] [GZIP: 65.56 KB] There are differences in features, but those are small. I need to document the supported attributes in each case now that I have a demo that uses them all.
Hoplon v7.5.0 released with the new native dom provider hoplon.dom
Awesome!
I will update the sci.config next, and add the missing macros.
cool!
Re: missing macros, are you talking about *-tpl etc? I noticed those weren't available yesterday
Those too, but defelem and defc are the ones I noticed first as missing. I'll attempt to write something that uses all macros to make sure we got them all.
PR for an improved sci config: https://github.com/babashka/sci.configs/pull/41
merged!
This was crazy fast, thank you!
I can have a look at one of those macros, perhaps you can prepare a gist for the playground that shows the intent
Ok, thank you. I need to go now, but I will create a gist later.
👍
https://babashka.org/sci.configs/?gist=d701f0393c058fb528534e2e076691d0
This is for cond-tpl.
This is for formula-of https://babashka.org/sci.configs/?gist=27e65a9d3c6fc24d59e554d55d84aee3
And this one is for formulet https://babashka.org/sci.configs/?gist=dba41fccf1af9d48793142743f8da909
@borkdude about the scittle plugin, should I create a hoplon one that includes javelin, or should I create one plugin each and have the hoplon one depending on the javelin one? Not sure about how a plugin can depend on another.
yes, you can make a separate javelin plugin if you think that javelin will be used without hoplon
plugins correspond to shadow-cljs modules and modules can depend on one another
if you think most people will only use hoplon, just don't bother maybe
Ok, I will try to make them separated.
so I'm debugging cond-tlp and just inserted some printlns:
(prn :yo)
(assert (even? (count clauses)))
(prn :yoa)and yo gets printed, yoa does not. I usually just use this way of debugging stuff if nothing shows up
however, the count is 8 so I don't see why it's going wrong
looking into it deeper
it is as if counting the clauses makes something go wrong
(prn :yoa)
(try (prn :clauses (vec clauses))
(catch :default e
(js/console.log e)))
nothing except :yoa in the consolegot it, it's something weird with varargs in the m/defmacro thing
aaah it somehow drops arguments
ok, fixed cond-tlp, now looking at the next
that also fixed formulet
This is great!
All of them are working now. Thank you!