Marko v3: Fixed tests

This commit is contained in:
Patrick Steele-Idem 2016-02-08 22:51:37 -07:00
parent 6d366ab1ee
commit 3667d81eb3
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ module.exports = function(builder) {
html('data.name'),
text(literal('!')),
ifStatement(
functionCall('notEmpty', 'data.colors'),
functionCall('notEmpty', ['data.colors']),
[
htmlElement('ul',
[

View File

@ -23,7 +23,7 @@ module.exports = function(builder) {
html('data.name'),
text(literal('!')),
ifStatement(
functionCall('notEmpty', 'data.colors'),
functionCall('notEmpty', ['data.colors']),
[
htmlElement(