{"action":"created","issue":{"url":"https://api.github.com/repos/jaysalvat/vegas/issues/48","labels_url":"https://api.github.com/repos/jaysalvat/vegas/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/jaysalvat/vegas/issues/48/comments","events_url":"https://api.github.com/repos/jaysalvat/vegas/issues/48/events","html_url":"https://github.com/jaysalvat/vegas/pull/48","id":24801962,"number":48,"title":"Apply to Element and Slideshow initial settings","user":{"login":"GiancarloGomez","id":152279,"avatar_url":"https://avatars.githubusercontent.com/u/152279?v=3","gravatar_id":"","url":"https://api.github.com/users/GiancarloGomez","html_url":"https://github.com/GiancarloGomez","followers_url":"https://api.github.com/users/GiancarloGomez/followers","following_url":"https://api.github.com/users/GiancarloGomez/following{/other_user}","gists_url":"https://api.github.com/users/GiancarloGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GiancarloGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiancarloGomez/subscriptions","organizations_url":"https://api.github.com/users/GiancarloGomez/orgs","repos_url":"https://api.github.com/users/GiancarloGomez/repos","events_url":"https://api.github.com/users/GiancarloGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GiancarloGomez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-12-26T22:37:39Z","updated_at":"2015-01-21T15:04:13Z","closed_at":"2015-01-21T12:27:46Z","pull_request":{"url":"https://api.github.com/repos/jaysalvat/vegas/pulls/48","html_url":"https://github.com/jaysalvat/vegas/pull/48","diff_url":"https://github.com/jaysalvat/vegas/pull/48.diff","patch_url":"https://github.com/jaysalvat/vegas/pull/48.patch"},"body":"Hello,\r\n\r\nFirst off, this is an amazing plugin, thank you so much for creating and sharing. This is the second time I use it and I needed to have the image within an element rather than the entire body so I have made some edits and thought you would like to check out and if you like, maybe even merge into your master. Also, on this push I added a $.vegas.defaults.init variable that stores the initial settings called when someone sets up a slideshow. The reason for this was, for example if I set up a slideshow with valign top (that was not being passed in - I applied a fix for that as well) and then I called next(), jump() or previous() all my original settings would not stick. So if my first slide was aligned to the top the one called by me executing the next() call would then get the default valign center.\r\n\r\nTo apply to an element you only have to pass the id value to a new setting called container. By default this is set to 'body'."},"comment":{"url":"https://api.github.com/repos/jaysalvat/vegas/issues/comments/70852559","html_url":"https://github.com/jaysalvat/vegas/pull/48#issuecomment-70852559","issue_url":"https://api.github.com/repos/jaysalvat/vegas/issues/48","id":70852559,"user":{"login":"GiancarloGomez","id":152279,"avatar_url":"https://avatars.githubusercontent.com/u/152279?v=3","gravatar_id":"","url":"https://api.github.com/users/GiancarloGomez","html_url":"https://github.com/GiancarloGomez","followers_url":"https://api.github.com/users/GiancarloGomez/followers","following_url":"https://api.github.com/users/GiancarloGomez/following{/other_user}","gists_url":"https://api.github.com/users/GiancarloGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GiancarloGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiancarloGomez/subscriptions","organizations_url":"https://api.github.com/users/GiancarloGomez/orgs","repos_url":"https://api.github.com/users/GiancarloGomez/repos","events_url":"https://api.github.com/users/GiancarloGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GiancarloGomez/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T15:04:13Z","updated_at":"2015-01-21T15:04:13Z","body":"No problem!"}}