I have a jQuery function that I am using as shown below
@winheight:`$(window).height()`
within my less file.
However, when I compile it to CSS,
I encounter a compiler error
I am currently using a software called Crunch
Compiler Errors
You are using JavaScript, which has been disabled. (Line: 10)
Filename: cont.less
I need to access the window or device height within the less file only.
I have attempted to include less.js but it is still not functioning properly.
Please assist me.