This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Web Workbench Version 3.2.200.20308 this less statement (from less documentation) -- @height: gets the following error -- Syntax error: JavaScript evaluation error: 'ReferenceError: document is not defined' |
|
|
Using browser properties is only valid if you are using Less as a client side include - e.g.
Because we are providing a pre-processor (so you get the .css file out the other to use rather than a .less file) when we go to compile the .less file there is no document object available. If you are intending to use this as a client side file then just turn off compilation for the file to avoid us trying to compile this and producing the error - you can do this in the settings found underneath the Mindscape menu in the Visual Studio menu bar.
|
|