Skip to content

Commit

Permalink
set hasKeys if items is an array. fixes #2027
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrainas committed Oct 18, 2016
1 parent af5b9a1 commit 1972d11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/browser/tag/each.js
Expand Up @@ -183,6 +183,8 @@ export default function _each(dom, parent, expr) {
Object.keys(items).map(function (key) {
return mkitem(expr, items[key], key)
}) : []
} else {
hasKeys = false
}

if (ifExpr) {
Expand Down

0 comments on commit 1972d11

Please sign in to comment.