Closed TimothyGu closed 9 years ago
Input:
mixin foo // foo body +foo&attributes({class: "hello"})
Before:
buf.push("<body>"); jade_mixins["foo"].call({ attributes: jade_merge([{ class: "hello" }]) }); buf.push("</body>");
After:
buf.push("<body>"); jade_mixins["foo"].call({ attributes: { class: "hello" } }); buf.push("</body>");
LGTM. Were there no tests in jade before that we could port to this repo?
Were there no tests in jade before that we could port to this repo?
I guess we can port them. See #5.
Input:
Before:
After: