{"action":"created","issue":{"url":"https://api.github.com/repos/Patternslib/Patterns/issues/381","labels_url":"https://api.github.com/repos/Patternslib/Patterns/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/Patternslib/Patterns/issues/381/comments","events_url":"https://api.github.com/repos/Patternslib/Patterns/issues/381/events","html_url":"https://github.com/Patternslib/Patterns/issues/381","id":47608577,"number":381,"title":"Checked class not set on checklist","user":{"login":"aoudijk","id":9264603,"avatar_url":"https://avatars.githubusercontent.com/u/9264603?v=3","gravatar_id":"","url":"https://api.github.com/users/aoudijk","html_url":"https://github.com/aoudijk","followers_url":"https://api.github.com/users/aoudijk/followers","following_url":"https://api.github.com/users/aoudijk/following{/other_user}","gists_url":"https://api.github.com/users/aoudijk/gists{/gist_id}","starred_url":"https://api.github.com/users/aoudijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoudijk/subscriptions","organizations_url":"https://api.github.com/users/aoudijk/orgs","repos_url":"https://api.github.com/users/aoudijk/repos","events_url":"https://api.github.com/users/aoudijk/events{/privacy}","received_events_url":"https://api.github.com/users/aoudijk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jcbrand","id":683911,"avatar_url":"https://avatars.githubusercontent.com/u/683911?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbrand","html_url":"https://github.com/jcbrand","followers_url":"https://api.github.com/users/jcbrand/followers","following_url":"https://api.github.com/users/jcbrand/following{/other_user}","gists_url":"https://api.github.com/users/jcbrand/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbrand/subscriptions","organizations_url":"https://api.github.com/users/jcbrand/orgs","repos_url":"https://api.github.com/users/jcbrand/repos","events_url":"https://api.github.com/users/jcbrand/events{/privacy}","received_events_url":"https://api.github.com/users/jcbrand/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2014-11-03T15:51:13Z","updated_at":"2015-02-04T20:57:44Z","closed_at":"2015-02-04T09:48:46Z","body":"A checked attribute is set on the second item in the checklist. What goes wrong is:\r\n\r\n- Class 'checked' is not initially set\r\n- Class 'checked' only appears on the second label if the first items has been selected at least once\r\n- Class 'checked' is never set on the input, only on the label (not the core of this issue)\r\n\r\nThe problem does not seem to occur if the first item in the list is initially selected. Test case: http://f343rn9a.informaat.com/test.html\r\n\r\nOddly, with the exact same HTML code and the same .js package, the problem does not seem to occur at:\r\n\r\nhttp://jsfiddle.net/#&togetherjs=a7h0ctMxb4\r\n\r\nWhere is the error? Anything we're overlooking?"},"comment":{"url":"https://api.github.com/repos/Patternslib/Patterns/issues/comments/72937320","html_url":"https://github.com/Patternslib/Patterns/issues/381#issuecomment-72937320","issue_url":"https://api.github.com/repos/Patternslib/Patterns/issues/381","id":72937320,"user":{"login":"fulv","id":460742,"avatar_url":"https://avatars.githubusercontent.com/u/460742?v=3","gravatar_id":"","url":"https://api.github.com/users/fulv","html_url":"https://github.com/fulv","followers_url":"https://api.github.com/users/fulv/followers","following_url":"https://api.github.com/users/fulv/following{/other_user}","gists_url":"https://api.github.com/users/fulv/gists{/gist_id}","starred_url":"https://api.github.com/users/fulv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fulv/subscriptions","organizations_url":"https://api.github.com/users/fulv/orgs","repos_url":"https://api.github.com/users/fulv/repos","events_url":"https://api.github.com/users/fulv/events{/privacy}","received_events_url":"https://api.github.com/users/fulv/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T20:57:44Z","updated_at":"2015-02-04T20:57:44Z","body":"@cornae do we need to create a new issue for building the Patterns 2.x bundle on our own?"}}