-
Notifications
You must be signed in to change notification settings - Fork 83
LESS-1.3.0 #12
Comments
Might be related to this: https://twitter.com/cloudhead/status/178567217309421568 "dropping IE support on client" might also imply that IE's JScript engine is no longer supported. Not sure yet though. |
Also getting this error but only on the latest (2.0.2) bootstrap.less file. Other .less files compile fine. |
Got it fixed by patching bootstrap's mixins.less It seems that less.js 1.3.0 is failing to properly parse the following mixin definition if used with JScript and duncansmart's WSH script: // IE7 inline-block
// ----------------
.ie7-inline-block() {
*display: inline;
*zoom: 1;
} the trick is to add a dummy element like this: // IE7 inline-block
// ----------------
.ie7-inline-block() {
*display: inline;
*zoom: 1;
something: else;
} Weird? Looks like there's something strange going on in less.js but I haven't had the time to dive into it yet. |
This works too, maybe less intruding: // IE7 inline-block // ---------------- .ie7-inline-block() { *display: inline; *zoom: 1; // comment to make it work with WinLESS } |
👍 Thanks for simple fix to get latest Bootstrap working via WinLess. |
fix doesn't work with bootstrap 2.0.2 |
fix doesn't work for bootstrap 2.0.3. Is their a fix available. |
It works. Just add the comment in mixins.less. And use newest version of WinLESS. |
hmm... @xokko's suggestion didn't work for me, unfort. |
it works with bootstrap 2.0.4 and winless 1.5.3 (less.js 1.3.0) |
I only saw failures when importing the mixins.less file, as well as using arbitrary comment blocks or any pseudo element selectors. The extra comment fix from xokko seems to resolve the issue. (Running WinLESS 1.5.3, less.js 1.3.0, bootstrap 2.0.4) |
Trying to compile a .LESS file that was working with LESS-1.2.2 with LESS-1.3.0 and I now get the following error:
ERROR:
type: Syntax
message: 'eval' is null or not an object
filename: ..\app\vendors\bootstrap\less\bootstrap.less
column: -1
extract: ,, * Bootstrap v2.0.2
It's working fine if I use LESS-1.3.0 directly in my html file, so I know the .LESS file has no error. Could this be related to the way the .swf file calls less?
Thankx
The text was updated successfully, but these errors were encountered: