Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue with less compilation - "Cannot call method 'slice' of undefined" #968
I am writing very simple test code with the latest source of less.js and Twitter bootstrap, but get 'Cannot call method slice of undefined' error from less. Below is the code that I am using:
Links to the files are all correct.
The error is given only if I run the page from my local server (i.e. localhost). If I open the page from the external hosting server, then there are not visible errors but bootstrap.less is still not correctly compiled.