pixsy/node_modules/pug-lexer/test/cases/mixin.merge.pug

15 lines
329 B
Plaintext
Raw Normal View History

2017-12-22 17:22:08 +00:00
mixin foo
p.bar&attributes(attributes) One
p.baz.quux&attributes(attributes) Two
p&attributes(attributes) Three
p.bar&attributes(attributes)(class="baz") Four
body
+foo.hello
+foo#world
+foo.hello#world
+foo.hello.world
+foo(class="hello")
+foo.hello(class="world")
+foo
+foo&attributes({class: "hello"})