Less 在Java上,使用的是什么版本?

Less 在Java上,使用的是什么版本?,less,Less,我刚把这封信寄给亚历克西斯·塞利埃,但它又回复了过来,促使我在这里寻找答案: 但当用作 悬停的东西永远不会从扩展上下文中激活。这在JS版本中有效吗 1. >.button-a:extend.button-baseworks在标准的Less版本中运行良好,所以可能是Rhino branch的一些错误,可能现在应该修复了,因为当前的Less版本是2.4.0。2.悬停的东西从扩展上下文中永远不会被激活——请阅读extend和3之间的区别。请参阅下面。有关Rhino的安装和使用-抱歉,不知道。但要回答关

我刚把这封信寄给亚历克西斯·塞利埃,但它又回复了过来,促使我在这里寻找答案:

但当用作

悬停的东西永远不会从扩展上下文中激活。这在JS版本中有效吗


1. >.button-a:extend.button-baseworks在标准的Less版本中运行良好,所以可能是Rhino branch的一些错误,可能现在应该修复了,因为当前的Less版本是2.4.0。2.悬停的东西从扩展上下文中永远不会被激活——请阅读extend和3之间的区别。请参阅下面。有关Rhino的安装和使用-抱歉,不知道。但要回答关于JS库方法的问题:没有纯粹的JS库版本——有节点、浏览器和rhino版本,每个版本都有一些依赖于环境的东西,这些东西在其他版本中根本不存在和/或不起作用。是的,欢迎来到SO。一些提示:A。在这里把多个不相关的问题放在一个Q中不是一个好主意。B将电子邮件的全部内容粘贴为代码片段或其他形式,这样格式化也不是一个好主意。@seven Phase max感谢您的回答。我正在考虑浏览器版本,它应该可以在java版本中模拟。问题是它的构建方式不容易替换旧版本。知道谁在管理java版本吗?现在似乎有点过时了。自从上次更新以来已经有一年了。好吧,主要的技巧是让浏览器版本读取页面链接,编译那些较少的链接,并将CSS结果注入页面+几个更次要的客户端版本操作。我不认为这是你期望在你的Rhino版本中表演的。
Hi Alexis,

First and foremost, thanks for a great Java support for the lesscss library!

I am and have been for a while on version 1.7.0.1.1.

I was attempting to use the extend feature which worked when used as:

.button-a {
        &:extend(.button-base);
        .rounded-corners-top(7px);
}
.button-a:extend(.button-base) {   
        .rounded-corners-top(7px);    
}

further more, the first case does not work if button-base well looks like this: 

.button-base {
    ...

    &:hover {
            background-color: white;
            color: #ff3c1f;
    }
}
I tried to peek into the java package and it seems you have merged
what I believe to be the JS library with some other Rhino JS code,
making it hard to upgdrade to the latest JS version.

It is not clear from the Java library what version is being used either.

I have myself written another js library and successfully used Rhino,
EnvJS and my JS library, and I choose to approach it a bit
differently, namely that the JS can be supplied separately, as an
argument to my java class which takes care of merging it all.


Is that something you think is possible? If not, how up to date with
the JS code is the current Java version?


What limitations do you see in going the approach I've mentioned above.