cloudhead/less.js — Issue #579: less.js does not work with twitter bootstrap in production mode
Author: knsqnt
Created: 2012-01-17 23:31:46+00:00
State: open

Hej there.

I tried to implement twitter bootstrap http://twitter.github.com/bootstrap/ using it's .less files. This works only, when I set the less.env variable to development. Otherwise I get the following message inside the developer tools:

Uncaught TypeError: Cannot read property 'local' of undefined
less.refreshless-1.2.1.js:3019
hrefless-1.2.1.js:3083
handleResponseless-1.2.1.js:3192
xhrless-1.2.1.js:3187
loadStyleSheetless-1.2.1.js:3077
loadStyleSheetsless-1.2.1.js:3056
less.refreshless-1.2.1.js:3018
(anonymous function)less-1.2.1.js:3034
(anonymous function)less-1.2.1.js:3318

All files are up to date, stables only.