{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/3445","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/3445/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/3445/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/3445/events","html_url":"https://github.com/vuejs/vue/issues/3445","id":171057233,"number":3445,"title":"cannot bind class","user":{"login":"kiuka","id":11283191,"avatar_url":"https://avatars.githubusercontent.com/u/11283191?v=3","gravatar_id":"","url":"https://api.github.com/users/kiuka","html_url":"https://github.com/kiuka","followers_url":"https://api.github.com/users/kiuka/followers","following_url":"https://api.github.com/users/kiuka/following{/other_user}","gists_url":"https://api.github.com/users/kiuka/gists{/gist_id}","starred_url":"https://api.github.com/users/kiuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiuka/subscriptions","organizations_url":"https://api.github.com/users/kiuka/orgs","repos_url":"https://api.github.com/users/kiuka/repos","events_url":"https://api.github.com/users/kiuka/events{/privacy}","received_events_url":"https://api.github.com/users/kiuka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-14T12:53:31Z","updated_at":"2016-08-14T13:02:22Z","closed_at":"2016-08-14T13:02:22Z","body":"Hello,\r\n\r\nI try to bind a class by using data attribute, but it doesn't work when it comes to child components.\r\n\r\nI've made a jsfiddle example: [https://jsfiddle.net/ccypbxv8/](https://jsfiddle.net/ccypbxv8/) h1 should have the desired class from data, but it doesn't have and - and also experienced that it works if I use props instead of data.\r\n\r\nAm I missing something or is it a bug?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/vuejs/vue/issues/comments/239672430","html_url":"https://github.com/vuejs/vue/issues/3445#issuecomment-239672430","issue_url":"https://api.github.com/repos/vuejs/vue/issues/3445","id":239672430,"user":{"login":"kiuka","id":11283191,"avatar_url":"https://avatars.githubusercontent.com/u/11283191?v=3","gravatar_id":"","url":"https://api.github.com/users/kiuka","html_url":"https://github.com/kiuka","followers_url":"https://api.github.com/users/kiuka/followers","following_url":"https://api.github.com/users/kiuka/following{/other_user}","gists_url":"https://api.github.com/users/kiuka/gists{/gist_id}","starred_url":"https://api.github.com/users/kiuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiuka/subscriptions","organizations_url":"https://api.github.com/users/kiuka/orgs","repos_url":"https://api.github.com/users/kiuka/repos","events_url":"https://api.github.com/users/kiuka/events{/privacy}","received_events_url":"https://api.github.com/users/kiuka/received_events","type":"User","site_admin":false},"created_at":"2016-08-14T13:02:22Z","updated_at":"2016-08-14T13:02:22Z","body":"Thank you very much!"}}
{"actor":{"display_login":"kiuka"}}