Comments (11)
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.
from less.js-windows.
Also getting this error but only on the latest (2.0.2) bootstrap.less file. Other .less files compile fine.
from less.js-windows.
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.
from less.js-windows.
This works too, maybe less intruding:
// IE7 inline-block // ---------------- .ie7-inline-block() { *display: inline; *zoom: 1; // comment to make it work with WinLESS }
from less.js-windows.
π Thanks for simple fix to get latest Bootstrap working via WinLess.
from less.js-windows.
fix doesn't work with bootstrap 2.0.2
from less.js-windows.
fix doesn't work for bootstrap 2.0.3. Is their a fix available.
from less.js-windows.
It works. Just add the comment in mixins.less. And use newest version of WinLESS.
from less.js-windows.
hmm... @xokko's suggestion didn't work for me, unfort.
from less.js-windows.
it works with bootstrap 2.0.4 and winless 1.5.3 (less.js 1.3.0)
thanks
from less.js-windows.
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)
from less.js-windows.
Related Issues (20)
- doesn't work on win8 pro HOT 26
- Machine friendly error output format HOT 10
- add license file HOT 1
- Add shell=True for subprocess.Popen when compiling less. HOT 1
- Is it possible to add an option to lessc to print the generated content on stdout (console) HOT 6
- Do not normalize rootpath option as it is a URL HOT 1
- IE hacks problem HOT 2
- Upgrade request: Less 1.5.0 HOT 2
- Mixin url paths not being transformed based upon import HOT 3
- missing module when --clean-css used HOT 1
- @import (inline) doesn't work HOT 2
- Update request: 2.1.1 HOT 3
- Output is empty file HOT 3
- Docs wrong HOT 2
- '"F:\less.js-windows-master\bin\node.exe"' δΈζ―ε ι¨ζε€ι¨ε½δ»€οΌδΉδΈζ―ε―θΏθ‘ηη¨ εΊ ζζΉε€ηζδ»Άγ HOT 4
- I"m getting Error 1, any ideas what that is? HOT 4
- Docs are wrong & this is broken HOT 2
- Wrong result of compiling property 'calc' HOT 1
- can not convert less functions for strings HOT 1
- ζ°ιζ± HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from less.js-windows.