mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Fixed test
This commit is contained in:
parent
b87019a90f
commit
4ca4ce9f37
@ -3,12 +3,13 @@ function create(__helpers) {
|
||||
empty = __helpers.e,
|
||||
notEmpty = __helpers.ne,
|
||||
escapeXml = __helpers.x,
|
||||
classAttr = __helpers.ca,
|
||||
attr = __helpers.a,
|
||||
escapeXmlAttr = __helpers.xa;
|
||||
|
||||
return function render(data, out) {
|
||||
out.w("<div" +
|
||||
attr("class", data.className) +
|
||||
classAttr(data.className) +
|
||||
attr("class2", data.className, false) +
|
||||
" foo=\"a" +
|
||||
escapeXmlAttr(data.foo) +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user