{"action":"created","issue":{"url":"https://api.github.com/repos/tastejs/todomvc/issues/348","labels_url":"https://api.github.com/repos/tastejs/todomvc/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/tastejs/todomvc/issues/348/comments","events_url":"https://api.github.com/repos/tastejs/todomvc/issues/348/events","html_url":"https://github.com/tastejs/todomvc/issues/348","id":9320174,"number":348,"title":"switch from HTML id attributes to class attributes","user":{"login":"petermichaux","id":9227,"avatar_url":"https://avatars.githubusercontent.com/u/9227?v=3","gravatar_id":"","url":"https://api.github.com/users/petermichaux","html_url":"https://github.com/petermichaux","followers_url":"https://api.github.com/users/petermichaux/followers","following_url":"https://api.github.com/users/petermichaux/following{/other_user}","gists_url":"https://api.github.com/users/petermichaux/gists{/gist_id}","starred_url":"https://api.github.com/users/petermichaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermichaux/subscriptions","organizations_url":"https://api.github.com/users/petermichaux/orgs","repos_url":"https://api.github.com/users/petermichaux/repos","events_url":"https://api.github.com/users/petermichaux/events{/privacy}","received_events_url":"https://api.github.com/users/petermichaux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tastejs/todomvc/labels/feature%20request","name":"feature request","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2012-12-16T22:33:46Z","updated_at":"2015-03-13T05:53:50Z","closed_at":"2015-03-13T05:53:50Z","body":"HTML id attributes are used for finding items in TodoMVC. This means that two to-do interfaces cannot appear in a single page. I think a test of a well written widget is that the UI can be duplicated in a page with both UIs observing the same model and seeing the UIs stay in sync. This is not possible when using id attributes. I've run into this as a real requirement and it taught me that using class attributes is sufficient and better.\r\n\r\nCan TodoMVC switch from using id attributes to class attributes?"},"comment":{"url":"https://api.github.com/repos/tastejs/todomvc/issues/comments/78818872","html_url":"https://github.com/tastejs/todomvc/issues/348#issuecomment-78818872","issue_url":"https://api.github.com/repos/tastejs/todomvc/issues/348","id":78818872,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T05:53:50Z","updated_at":"2015-03-13T05:53:50Z","body":"@arthurvr My plan is to simply use semver. https://github.com/tastejs/todomvc-app-css is currently using ID's, but a 2.0 version of it could use classes. That way it would still work for older apps, but have a sane base for new apps. This was mostly blocked on my never finished redesign, which is now done. So I think we can get this started. Can you move this issue over to https://github.com/tastejs/todomvc-app-css ?"}}