Just to get this clear, im talking about "LESS" as described on http://lesscss.org/
i read the documentation and searched a little around but i didn't find a possibilty to call an mixin with some "null" or undefined parameters.
For example this mixin from retina.js's less file:
.at2x(@path, @w: auto, @h: auto)
has 2 optional parameters.
Now i only want to call it with a defined path and height. How do i do this?
things that don't work:
.at2x(EXAMPLEURL, '', 500px)
.at2x(EXAMPLEURL, null, 500px)
.at2x(EXAMPLEURL, , 500px)
.at2x(EXAMPLEURL,, 500px)
.at2x(EXAMPLEURL, undefined, 500px)
call that works of course:
.at2x(EXAMPLEURL, auto, 500px)