27 Commits

Author SHA1 Message Date
Luke Page
8dc3bfb024 Merge pull request #2646 from SomMeri/mixin-matching-with-default-parameters-2645
Parametric mixins: parameters don't match error
2015-09-17 07:48:58 +01:00
jurcovicovam
e7ce82bec6 Fixed mixins definition matching problem when mixin definition contains
parameters with default values. #2645
2015-07-22 17:02:36 +02:00
jurcovicovam
30fe1cb9e2 Keep shorthand color form the same way as named colors are kept. #2481 2015-07-19 14:54:41 +02:00
seven-phases-max
3178103b7f merge updated expand-operator with master
plus reworked tests
2015-06-25 23:53:32 +04:00
seven-phases-max
3322609de5 More consistent named colour variables. 2014-01-23 16:08:10 +04:00
Luke Page
c583acede0 Fix default variables containing comma when semi-colon seperated mixin definition. Fixes #1211 2013-03-06 09:55:14 +00:00
Luke Page
241c830e10 Support reading other arguments as default parameters. Fixes #43 2013-02-17 22:25:38 +00:00
Luke Page
2ffdefa248 Preserve whitespace in operations 2013-02-02 15:30:19 +00:00
Luke Page
531195c92d take maths further 2013-01-24 22:27:17 +00:00
Dustin Cass
abaf4c6b68 Arithmetic within mixin calls must be in nested parentheses; Added tests for mixins 2013-01-23 20:41:11 +00:00
Luke Page
5dc7ff50f0 Fix argument matching. Fixes #1036 2012-11-27 13:14:04 +00:00
Luke Page
587d6c2338 Add support for ';' as a delimiter 2012-10-21 15:20:24 +01:00
cloudhead
cb78933423 remove duplicate rules automatically 2012-03-27 16:59:49 +02:00
Alexis Sellier
3e5a336f88 add ability to bind varargs 2012-02-28 19:23:39 +01:00
Alexis Sellier
99c3cb4c2e (test) test for semi-variadic mixin 2012-02-28 18:06:38 +01:00
Alexis Sellier
ac226c6b7f Variadic argument support
.mixin (...)   {} // matches any number of arguments
   .mixin ()      {} // matches exactly 0 arguments
   .mixin (@a: 1) {} // matches 0-1 arguments
2012-02-28 17:42:29 +01:00
Alexis Sellier
598b249101 Fix '@arguments' behaviour, Closes #632
`.mixin` & `.mixin()` had differing behaviours.
2012-02-28 17:06:45 +01:00
Alexis Sellier
dc1c6c4555 fix bug in string arguments to mixin call 2012-01-09 22:49:16 +01:00
revolunet
8d362649c0 update tests 2011-07-08 00:56:26 +02:00
Alexis Sellier
52b10c007f (test) new @arguments behaviour 2011-05-11 12:36:00 -04:00
Alexis Sellier
9847f40b0f (test) @arguments 2011-02-19 16:54:38 -05:00
cloudhead
9650615459 support parametric mixins with # 2010-07-08 00:27:32 +02:00
cloudhead
a1e1f01338 fix comments in mixins. 2010-06-16 02:13:59 -04:00
cloudhead
7d2fdbda58 test cases for recent fixes 2010-05-07 00:49:03 -07:00
cloudhead
be893c5993 support for nested rulesets inside dynamic mixins, with lexical scoping 2010-03-07 20:20:50 -05:00
cloudhead
23775bda9b implemented dynamic mixins 2010-03-07 18:49:54 -05:00
cloudhead
70e6523db4 test files, from less.rb 2010-02-23 18:02:00 -05:00