Marko v3: invoke if test

This commit is contained in:
Patrick Steele-Idem 2016-02-12 17:50:32 -07:00
parent f00d17bc20
commit c934d63be3
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
function create(__helpers) {
var str = __helpers.s,
empty = __helpers.e,
notEmpty = __helpers.ne,
escapeXml = __helpers.x;
return function render(data, out) {
if (true) {
console.log("hello");
}
};
}
(module.exports = require("marko").c(__filename)).c(create);

View File

@ -0,0 +1 @@
<invoke console.log('hello') if(true)/>