{"action":"created","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/17171","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/17171/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/17171/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/17171/events","html_url":"https://github.com/twbs/bootstrap/pull/17171","id":102250018,"number":17171,"title":"v4 - Move collapse js away from panels to cards","user":{"login":"kkirsche","id":947110,"avatar_url":"https://avatars.githubusercontent.com/u/947110?v=3","gravatar_id":"","url":"https://api.github.com/users/kkirsche","html_url":"https://github.com/kkirsche","followers_url":"https://api.github.com/users/kkirsche/followers","following_url":"https://api.github.com/users/kkirsche/following{/other_user}","gists_url":"https://api.github.com/users/kkirsche/gists{/gist_id}","starred_url":"https://api.github.com/users/kkirsche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkirsche/subscriptions","organizations_url":"https://api.github.com/users/kkirsche/orgs","repos_url":"https://api.github.com/users/kkirsche/repos","events_url":"https://api.github.com/users/kkirsche/events{/privacy}","received_events_url":"https://api.github.com/users/kkirsche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twbs/bootstrap/labels/js","name":"js","color":"ffc40d"},{"url":"https://api.github.com/repos/twbs/bootstrap/labels/v4","name":"v4","color":"563d7c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/twbs/bootstrap/milestones/33","html_url":"https://github.com/twbs/bootstrap/milestones/v4.0.0-alpha.2","labels_url":"https://api.github.com/repos/twbs/bootstrap/milestones/33/labels","id":1263350,"number":33,"title":"v4.0.0-alpha.2","description":"","creator":{"login":"cvrebert","id":419884,"avatar_url":"https://avatars.githubusercontent.com/u/419884?v=3","gravatar_id":"","url":"https://api.github.com/users/cvrebert","html_url":"https://github.com/cvrebert","followers_url":"https://api.github.com/users/cvrebert/followers","following_url":"https://api.github.com/users/cvrebert/following{/other_user}","gists_url":"https://api.github.com/users/cvrebert/gists{/gist_id}","starred_url":"https://api.github.com/users/cvrebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvrebert/subscriptions","organizations_url":"https://api.github.com/users/cvrebert/orgs","repos_url":"https://api.github.com/users/cvrebert/repos","events_url":"https://api.github.com/users/cvrebert/events{/privacy}","received_events_url":"https://api.github.com/users/cvrebert/received_events","type":"User","site_admin":false},"open_issues":47,"closed_issues":238,"state":"open","created_at":"2015-08-19T20:07:07Z","updated_at":"2015-10-13T08:26:13Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-08-20T22:17:26Z","updated_at":"2015-10-13T19:51:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twbs/bootstrap/pulls/17171","html_url":"https://github.com/twbs/bootstrap/pull/17171","diff_url":"https://github.com/twbs/bootstrap/pull/17171.diff","patch_url":"https://github.com/twbs/bootstrap/pull/17171.patch"},"body":"Fix #17170 \r\n\r\nProbably cc fat?"},"comment":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/comments/147830515","html_url":"https://github.com/twbs/bootstrap/pull/17171#issuecomment-147830515","issue_url":"https://api.github.com/repos/twbs/bootstrap/issues/17171","id":147830515,"user":{"login":"dalabarge","id":879419,"avatar_url":"https://avatars.githubusercontent.com/u/879419?v=3","gravatar_id":"","url":"https://api.github.com/users/dalabarge","html_url":"https://github.com/dalabarge","followers_url":"https://api.github.com/users/dalabarge/followers","following_url":"https://api.github.com/users/dalabarge/following{/other_user}","gists_url":"https://api.github.com/users/dalabarge/gists{/gist_id}","starred_url":"https://api.github.com/users/dalabarge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalabarge/subscriptions","organizations_url":"https://api.github.com/users/dalabarge/orgs","repos_url":"https://api.github.com/users/dalabarge/repos","events_url":"https://api.github.com/users/dalabarge/events{/privacy}","received_events_url":"https://api.github.com/users/dalabarge/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T19:51:51Z","updated_at":"2015-10-13T19:51:51Z","body":"Would it be possible to also have this be a configurable selector using `data-selector` or something? Having JS rely upon hard-coded HTML class names makes it more difficult to use semantic class names and then use SCSS to mixin the appropriate styles. Just spent an hour or so trying to get this working before reading the source and realizing it was selecting child elements of `.panel` (now `.card`) instead of just collapsing the elements matching `$(parent).find('.collapse.in')`. What's the reason we're sticking to making this plugin dependent upon any specific HTML class name?"}}