{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/2592","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/2592/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/2592/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/2592/events","html_url":"https://github.com/vuejs/vue/issues/2592","id":144592845,"number":2592,"title":"Problem with v-for + v-if in firefox","user":{"login":"AStaroverov","id":5639129,"avatar_url":"https://avatars.githubusercontent.com/u/5639129?v=3","gravatar_id":"","url":"https://api.github.com/users/AStaroverov","html_url":"https://github.com/AStaroverov","followers_url":"https://api.github.com/users/AStaroverov/followers","following_url":"https://api.github.com/users/AStaroverov/following{/other_user}","gists_url":"https://api.github.com/users/AStaroverov/gists{/gist_id}","starred_url":"https://api.github.com/users/AStaroverov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AStaroverov/subscriptions","organizations_url":"https://api.github.com/users/AStaroverov/orgs","repos_url":"https://api.github.com/users/AStaroverov/repos","events_url":"https://api.github.com/users/AStaroverov/events{/privacy}","received_events_url":"https://api.github.com/users/AStaroverov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vuejs/vue/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-30T13:26:03Z","updated_at":"2016-03-30T16:45:34Z","closed_at":"2016-03-30T16:24:49Z","body":"<!-- BUG REPORT TEMPLATE -->\r\n### Vue.js version\r\n1.0.20\r\n\r\n### Reproduction Link\r\nhttps://jsfiddle.net/2so6kua0/2/\r\n\r\n### Steps to reproduce\r\nStart example\r\n\r\n### What is Expected?\r\nWe should get \r\n```\r\nval == 1\r\nval == 2\r\nval == 3\r\nval == 4\r\nval == 5\r\nval == 6\r\n```\r\n\r\n### What is actually happening?\r\nIn firefox we get nothing, but if we will change \r\n``<div v-for=\"val in arr\" v-if=\"val\">val == {{val}}</div>``\r\nto \r\n```\r\n<template v-for=\"val in arr\">\r\n  <div v-if=\"val\">val == {{val}}</div>\r\n</template>\r\n```\r\nall work correctly."},"comment":{"url":"https://api.github.com/repos/vuejs/vue/issues/comments/203520264","html_url":"https://github.com/vuejs/vue/issues/2592#issuecomment-203520264","issue_url":"https://api.github.com/repos/vuejs/vue/issues/2592","id":203520264,"user":{"login":"zigomir","id":957321,"avatar_url":"https://avatars.githubusercontent.com/u/957321?v=3","gravatar_id":"","url":"https://api.github.com/users/zigomir","html_url":"https://github.com/zigomir","followers_url":"https://api.github.com/users/zigomir/followers","following_url":"https://api.github.com/users/zigomir/following{/other_user}","gists_url":"https://api.github.com/users/zigomir/gists{/gist_id}","starred_url":"https://api.github.com/users/zigomir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zigomir/subscriptions","organizations_url":"https://api.github.com/users/zigomir/orgs","repos_url":"https://api.github.com/users/zigomir/repos","events_url":"https://api.github.com/users/zigomir/events{/privacy}","received_events_url":"https://api.github.com/users/zigomir/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T16:45:33Z","updated_at":"2016-03-30T16:45:33Z","body":"Ah, great, thanks for explanation.\n\nOn Wed, Mar 30, 2016 at 9:36 AM Evan You <notifications@github.com> wrote:\n\n> @zigomir <https://github.com/zigomir> in Firefox element.attributes\n> enumeration order is in reverse, therefore in the fiddle v-if is compiled\n> first in root scope.\n>\n> —\n> You are receiving this because you were mentioned.\n>\n>\n> Reply to this email directly or view it on GitHub\n> <https://github.com/vuejs/vue/issues/2592#issuecomment-203516136>\n>\n"}}