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
|
I'm coding like this
You can find the demo on codepen here: http://codepen.io/seven-phases-max/pen/JImdF It is working on LESS 1.5+ but your compiler cannot compile this, can you please update the LESS compiler or give me a workaround for this issue? I'm looking forward to hearing from you |
|
|
The most recent gallery release uses 1.5 and the nightlies are using 1.6.3 so that shouldnt be a problem. Can you check what version of Web Workbench you have installed? Ive run the above locally with the 1.6.3 compiler directly and this is the output:
Is this the output you are also seeing? Im wondering if this is something that works with browser based less rather than compiled?
|
|
|
Oddly enough it does seem to compile under the 1.5.0 compiler but not 1.6.3 so presumably something may have changed in Less requiring the variable to be defined at the wider scope.
|
|