less.js
less.js copied to clipboard
How to get user defined variables in a function added in a plugin?
We use a variable to define a prefix which user may override it, and we defined a function inside a plugin which will consume this variable.
Currently we have to pass in this prefix variable in every usage. Is there a way to peek the current variables in the function call?
What do you mean by "current variables"?