Skip to content

Commit af571ff

Browse files
committed
corrected ejs include syntax
1 parent 6f0aaf8 commit af571ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/compare-layouts/views/appView.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
</div>
8888
</div>
8989
<ul class="configs">
90-
<% list.forEach(function(config) { %><% include listItem %><% }) %>
90+
<% list.forEach(function(config) { %><%- include('listItem', { config: config }) -%><% }) %>
9191
</ul>
9292
</div>
9393
<% if (config.error) { %>
@@ -136,7 +136,7 @@
136136
<th>Selektor 1</th>
137137
<th>Selektor 2</th>
138138
</thead>
139-
<tbody><% Object.keys(config.result).forEach(function(resultKey) { %><% result = config.result[resultKey] %><% include showItem %><% }) %></tbody>
139+
<tbody><% Object.keys(config.result).forEach(function(resultKey) { %><% result = config.result[resultKey] %><%- include('showItem.ejs', { resultKey: resultKey }) -%><% }) %></tbody>
140140
</table>
141141
</div>
142142
<% } %>

0 commit comments

Comments
 (0)