Fork me on GitHub
#hoplon
<
2015-08-11
>
onetom08:08:26

@juhoteperi: @micha hi5! our homepage (which is a multipage hoplon app) works with the new boot-cljs (more or less) we had to • rename the files with dashes in them to underscores so these WARNING: Use of undeclared Var homepage.packages.pricing/map__7966 ... errors went away • some hubspot js code resulted in emptying the whole <html> element • :do-class doesn't work anymore • xxx.inc.css files are not combined (so we just included them manually one by one). shall we use https://github.com/Deraen/boot-less for this?

micha13:08:15

btw the :do-XXX and :on-XXX notation was removed in hoplon 6

micha13:08:32

it's dispatching on the type of the attribute value anyway, so it was redundant

micha13:08:48

we removed that for efficiency when parsing arguments

micha13:08:48

like if you do :class (cell= ...) the type of the attr value (i.e. Cell) unambiguously implies :do-

micha13:08:19

similarly, :class #(...) unambiguously implies :on-

micha13:08:41

and :class "..." is unambiguously just setting an attribute

onetom13:08:28

Thanks! @peter u should read it too!

micha13:08:09

@onetom: the next thing to figure out is automatic splitting of js into modules when :optimizations :advanced

micha13:08:32

to maximize caching in the browser across pages

micha13:08:49

i think it's totally doable though