{"action":"created","issue":{"url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/114","labels_url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/114/comments","events_url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/114/events","html_url":"https://github.com/weblinc/jquery.smoothState.js/pull/114","id":51971343,"number":114,"title":"Acces to the full ajax response from the onEnd callback","user":{"login":"jorisvm","id":3306275,"avatar_url":"https://avatars.githubusercontent.com/u/3306275?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisvm","html_url":"https://github.com/jorisvm","followers_url":"https://api.github.com/users/jorisvm/followers","following_url":"https://api.github.com/users/jorisvm/following{/other_user}","gists_url":"https://api.github.com/users/jorisvm/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvm/subscriptions","organizations_url":"https://api.github.com/users/jorisvm/orgs","repos_url":"https://api.github.com/users/jorisvm/repos","events_url":"https://api.github.com/users/jorisvm/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-15T10:41:55Z","updated_at":"2015-03-28T01:09:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/pulls/114","html_url":"https://github.com/weblinc/jquery.smoothState.js/pull/114","diff_url":"https://github.com/weblinc/jquery.smoothState.js/pull/114.diff","patch_url":"https://github.com/weblinc/jquery.smoothState.js/pull/114.patch"},"body":"I found myself in need to access the full ajax response within the onEnd callback so i added it as an extra parameter. If you run the smootstate on the body container and want to copy the new body classes from the ajax response (for css styling to stay intact) then this looks like a logical way to achive this. Well at least for me. This might even have other use cases. For example hooking into changes in het html header."},"comment":{"url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/comments/87136591","html_url":"https://github.com/weblinc/jquery.smoothState.js/pull/114#issuecomment-87136591","issue_url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/114","id":87136591,"user":{"login":"timrourke","id":8141770,"avatar_url":"https://avatars.githubusercontent.com/u/8141770?v=3","gravatar_id":"","url":"https://api.github.com/users/timrourke","html_url":"https://github.com/timrourke","followers_url":"https://api.github.com/users/timrourke/followers","following_url":"https://api.github.com/users/timrourke/following{/other_user}","gists_url":"https://api.github.com/users/timrourke/gists{/gist_id}","starred_url":"https://api.github.com/users/timrourke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrourke/subscriptions","organizations_url":"https://api.github.com/users/timrourke/orgs","repos_url":"https://api.github.com/users/timrourke/repos","events_url":"https://api.github.com/users/timrourke/events{/privacy}","received_events_url":"https://api.github.com/users/timrourke/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T01:09:14Z","updated_at":"2015-03-28T01:09:14Z","body":"+1, this is an excellent addition to the plugin. I hope it is merged soon!"}}