-
Notifications
You must be signed in to change notification settings - Fork 87
Conversation
Tested with Twitter Bootstrap v2.0.2, works great!
If you need this right now, you can replace the content of C:\Program Files (x86)\SimpLESS\Resources\js\less.js Works on my machine! |
Ok there is actually a problem with Twitter Bootstrap.
When used in sprites.less:
The resulting CSS looks like this:
|
Did you try with the last version of bootstrap? I think they was a bug like that on their side. |
Yes I tested with Twitter Bootstrap v2.0.2. |
It seems to work if you remove the if-statement in less.js right after the comment "// Add the base path if the URL is relative and we are in the browser". Will that cause any problems? if (typeof(window) !== 'undefined' && !/^(?:https?://|file://|data:|/)/.test(val.value) && paths.length > 0) { |
How I get it now.. SimpleLess use Titanium Desktop so we really are in a browser. So I agree removing those lines are certainly the best we can do. |
less.js version 1.3 will be included within our next SimpLESS update which will be released somewhere around monday next week. |
still no new version :( |
still no new version :( (+one week) |
Yes, sorry for that. We have currently all our coding power bound to some customer projects and cant spend any time on free stuff. Because of that, the SimpLESS update will have to wait. Notheless I have created a quick fix a few days ago to help you guys out with a recent version of the less compiler at least (i mentioned it at twitter, you guys should follow us there -> @wearekiss ). Download http://wearekiss.com/less.js and put it in the application under resources/lib/js/less.js (replace the old file). Sorry guys for getting this late with the app update, maybe you are familiar with our problems. I currently wish that we have 26 hours a day ;) |
Great thanks! It works :) |
Hello, I don't know if it is caused by the new less.js but the annoying url bug (which insert "app://com.wearekiss.simpless.open/" before the proper url) is back :\ |
Works perfectly, thanks! :D |
Any updates on this? |
background-image:url("app://com.wearekiss.simpless.open/app://com.wearekiss.simpless.open/../../less/app://com.wearekiss.simpless.open/app://com.wearekiss.simpless.open/../../less/../images/glyphicons-halflings.png"); Any updates on this? |
I can confirm that this works on both my MacBook Pro and my iMac at work. My Colleague has also confirmed this as working on Windows 7. |
Thank you for the info! |
Fixed in 1.4 |
This is not fixed as I am still getting backrgound: url(''); with some relative path, I did as @slaur pointed out and that worked for me. |
Tested with Twitter Bootstrap v2.0.2, works great!