madebysource/lesshat

less-1.7.1.min.js not working with Lesshat mixin library 3.0

Opened this issue · 1 comments

I am using bootstrap 3.1 with lesshat mixin library. The prefixed mixin library gets successfully imported, but on calling these mixins with any value the library generates default values.

.btn1 { .lh-transition(all 0.3s ease-in-out); }

With Less1.7.1.min.js
.btn1 {
-webkit-transition: all 1s ease-in-out;
-moz-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
}

With Less1.7.0.min.js
.btn1 {
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}

Does this depends on the type of less library ?.
Looking forward for a solution

It's known bug of Less 1.7.1.

Use the interpolation syntax ~"all 0.3s ease-in-out" for now.