File: mixins-guards-default-func-2.less

package info (click to toggle)
less.js 3.13.0%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,020 kB
  • sloc: javascript: 23,275; makefile: 12; perl: 11; sh: 6
file content (9 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9

guard-default-func-conflict {
    .m(1)                                {}
    .m(@x) when not(default())           {}
    .m(@x) when (@x = 3) and (default()) {}

    .m(2);
    .m(3);
}