Twitter Bootstrap not working with LESS.js
Submitted by jeff on Sat, 01/14/2012 - 07:09.
I was having a problem trying to use “less” (lesscss v1.2.0) with Twitter Bootstrap (v1.4).
I could see LESS pull all the bootstrap *.less files off the server but the CSS would render properly. In many cases it would have the error:
Cannot call method 'slice' of undefined
The reason is a bug in the most recent version of less.js. To resolve the problem I downgraded to “less” v1.1.5
https://github.com/twitter/bootstrap/issues/968
Recent blog posts
- Amazon S3 Website CNAME
- Button labels for checkout
- Insert html django contrib messages
- Twitter Bootstrap not working with LESS.js
- Javascript libs that offer basic subset of jquery features
- Building the donor-matic
- Playing with free Google Map alternatives.
- Some flows are not as complicated as they appear
- Form design crib sheet
- Script to get IE9 Windows Virtual PC images into Virtual Box