I added a default null value to arguments in mixin function definition, so that the mixins can be called with some arguments missing, just like in jade.
Also, I believe that both the test and code for "rest arguments" was wrong (test/renderer.test.coffee:311), the offset argument to array_slice needs to be equal to the number of mixin arguments + 2. Fixed that along with updated tests to reflect the above change.
I added a default null value to arguments in mixin function definition, so that the mixins can be called with some arguments missing, just like in jade.
Also, I believe that both the test and code for "rest arguments" was wrong (test/renderer.test.coffee:311), the offset argument to array_slice needs to be equal to the number of mixin arguments + 2. Fixed that along with updated tests to reflect the above change.
Let me know what you think.