less.tmbundle icon indicating copy to clipboard operation
less.tmbundle copied to clipboard

Variable defaults in mixins returns errors

Open Znegl opened this issue 14 years ago • 0 comments

When using a default value for a variable, as following, an error is returned.

.background-image(@img, @repeat: " ", @important: " ") {
    background-image :e(%("url(%s%s%s)", @cdn, @img, @version)) e(@important);
    background-repeat: e(@repeat) e(@important);
}

This returns an error after @repeat:

Znegl avatar Feb 08 '11 12:02 Znegl