Fork me on GitHub
#boot
<
2015-08-16
>
onetom17:08:29

has anyone tried to use nashorn as part of a boot script yet? i was wondering if i can hook the official less.js into our build pipeline using nashorn (although they only mention rhino support explicitely)? im reading up on the topic here atm: http://www.oracle.com/technetwork/articles/java/jf14-nashorn-2126515.html

onetom17:08:31

and why is it not doing that anymore thne?

juhoteperi17:08:57

Because new Less.js didn't work in Nashorn and there is a Java implementation of LESS compiler

onetom17:08:33

except less4j doesn't seem to be super compliant w the js implementation...

onetom17:08:47

at least it was not able to compile semantic-ui 😞

juhoteperi17:08:00

Semantic-ui is not compliant with LESS spec

juhoteperi17:08:34

And the LESS.js is not very strict...

onetom17:08:36

how do u know? any urls which explain it?

juhoteperi17:08:57

No, but I tried to use it once

onetom17:08:24

the semantic ui guys were quite vocal about just using an absolutely necessary subset of LESS features...

onetom17:08:03

so u are saying i should rather look into semantic ui itself to look for the problem, rather than blaming less4j?

juhoteperi17:08:38

Hm not sure about that problem

juhoteperi17:08:03

Last I tried I remember there beging problems with scoped imports

onetom17:08:37

the author just release some fixes recently which was related to that issue and indeed i got different errors using that fixed version

juhoteperi17:08:18

I don't understand semantic-ui's theme.config and scoped imports, but maybe they are supposed to work...

juhoteperi17:08:58

Looks like there is problem with concatenating escaped strings to other stuff

juhoteperi17:08:33

Btw. about less.js, Rhino support was completely undocumented and broken in december

onetom18:08:48

deraen: thanks for the minimal example on the issue!

andrewboltachev22:08:15

Hi. Do Boot2/Hoplon6 support *.cljc?