{"action":"created","issue":{"url":"https://api.github.com/repos/brutaldesign/swipebox/issues/298","repository_url":"https://api.github.com/repos/brutaldesign/swipebox","labels_url":"https://api.github.com/repos/brutaldesign/swipebox/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/brutaldesign/swipebox/issues/298/comments","events_url":"https://api.github.com/repos/brutaldesign/swipebox/issues/298/events","html_url":"https://github.com/brutaldesign/swipebox/pull/298","id":164264610,"number":298,"title":"Get selector from options (for jQuery 3)","user":{"login":"andrews05","id":4584038,"avatar_url":"https://avatars0.githubusercontent.com/u/4584038?v=4","gravatar_id":"","url":"https://api.github.com/users/andrews05","html_url":"https://github.com/andrews05","followers_url":"https://api.github.com/users/andrews05/followers","following_url":"https://api.github.com/users/andrews05/following{/other_user}","gists_url":"https://api.github.com/users/andrews05/gists{/gist_id}","starred_url":"https://api.github.com/users/andrews05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrews05/subscriptions","organizations_url":"https://api.github.com/users/andrews05/orgs","repos_url":"https://api.github.com/users/andrews05/repos","events_url":"https://api.github.com/users/andrews05/events{/privacy}","received_events_url":"https://api.github.com/users/andrews05/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-07T09:16:04Z","updated_at":"2018-05-23T06:08:46Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/brutaldesign/swipebox/pulls/298","html_url":"https://github.com/brutaldesign/swipebox/pull/298","diff_url":"https://github.com/brutaldesign/swipebox/pull/298.diff","patch_url":"https://github.com/brutaldesign/swipebox/pull/298.patch"},"body":"This change provides compatibility with jQuery 3 by changing the way Swipebox works with dynamic content. Swipebox is no longer dynamic by default as the \"selector\" jQuery property that it previously relied on has been removed in jQuery 3.\r\n\r\nTo make Swipebox work with dynamic content it must instead be initialised by passing the selector as an option, similar to Bootstrap's popovers/tooltips. **Only do this for dynamic content.**\r\n``` js\r\n$(document).swipebox({ selector: '.swipebox' });\r\n```\r\n**For non-dynamic uses, simply apply this PR and you're done. You do not need the `selector` option.** Dynamic content refers to galleries where images may be added or removed on the fly.\r\n\r\nFixes #295."},"comment":{"url":"https://api.github.com/repos/brutaldesign/swipebox/issues/comments/391231296","html_url":"https://github.com/brutaldesign/swipebox/pull/298#issuecomment-391231296","issue_url":"https://api.github.com/repos/brutaldesign/swipebox/issues/298","id":391231296,"user":{"login":"pwall27","id":23041890,"avatar_url":"https://avatars3.githubusercontent.com/u/23041890?v=4","gravatar_id":"","url":"https://api.github.com/users/pwall27","html_url":"https://github.com/pwall27","followers_url":"https://api.github.com/users/pwall27/followers","following_url":"https://api.github.com/users/pwall27/following{/other_user}","gists_url":"https://api.github.com/users/pwall27/gists{/gist_id}","starred_url":"https://api.github.com/users/pwall27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwall27/subscriptions","organizations_url":"https://api.github.com/users/pwall27/orgs","repos_url":"https://api.github.com/users/pwall27/repos","events_url":"https://api.github.com/users/pwall27/events{/privacy}","received_events_url":"https://api.github.com/users/pwall27/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T06:08:46Z","updated_at":"2018-05-23T06:08:46Z","author_association":"NONE","body":"Merge please"}}
{"actor":{"display_login":"pwall27"}}