{"action":"opened","number":512,"pull_request":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/512","id":32496108,"html_url":"https://github.com/defunkt/jquery-pjax/pull/512","diff_url":"https://github.com/defunkt/jquery-pjax/pull/512.diff","patch_url":"https://github.com/defunkt/jquery-pjax/pull/512.patch","issue_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/512","number":512,"state":"open","locked":false,"title":"Change internal cache struct to fix restoring mixed containers","user":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"body":"When different pjax containers were used for pjax navigations, the popstate restoring mechanism would get confused as to in which container to restore some particular HTML. I tried to remedy this by reading the target container from `previousState` on \"back\" navigations, however this was subject to at least a couple of flaws.\n\nThis adds the container selector information to the cache, forming a pair with cached contents for each history entry.","created_at":"2015-04-02T09:36:05Z","updated_at":"2015-04-02T09:36:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/512/commits","review_comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/512/comments","review_comment_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/512/comments","statuses_url":"https://api.github.com/repos/defunkt/jquery-pjax/statuses/93f530fad837ad62d6217328d3b84f2c7d39d17c","head":{"label":"defunkt:cache-container-names","ref":"cache-container-names","sha":"93f530fad837ad62d6217328d3b84f2c7d39d17c","user":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"repo":{"id":1413492,"name":"jquery-pjax","full_name":"defunkt/jquery-pjax","owner":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/defunkt/jquery-pjax","description":"pushState + ajax = pjax","fork":false,"url":"https://api.github.com/repos/defunkt/jquery-pjax","forks_url":"https://api.github.com/repos/defunkt/jquery-pjax/forks","keys_url":"https://api.github.com/repos/defunkt/jquery-pjax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defunkt/jquery-pjax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defunkt/jquery-pjax/teams","hooks_url":"https://api.github.com/repos/defunkt/jquery-pjax/hooks","issue_events_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/events{/number}","events_url":"https://api.github.com/repos/defunkt/jquery-pjax/events","assignees_url":"https://api.github.com/repos/defunkt/jquery-pjax/assignees{/user}","branches_url":"https://api.github.com/repos/defunkt/jquery-pjax/branches{/branch}","tags_url":"https://api.github.com/repos/defunkt/jquery-pjax/tags","blobs_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/refs{/sha}","trees_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defunkt/jquery-pjax/statuses/{sha}","languages_url":"https://api.github.com/repos/defunkt/jquery-pjax/languages","stargazers_url":"https://api.github.com/repos/defunkt/jquery-pjax/stargazers","contributors_url":"https://api.github.com/repos/defunkt/jquery-pjax/contributors","subscribers_url":"https://api.github.com/repos/defunkt/jquery-pjax/subscribers","subscription_url":"https://api.github.com/repos/defunkt/jquery-pjax/subscription","commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/commits{/sha}","git_commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/commits{/sha}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/comments{/number}","issue_comment_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/comments{/number}","contents_url":"https://api.github.com/repos/defunkt/jquery-pjax/contents/{+path}","compare_url":"https://api.github.com/repos/defunkt/jquery-pjax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defunkt/jquery-pjax/merges","archive_url":"https://api.github.com/repos/defunkt/jquery-pjax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defunkt/jquery-pjax/downloads","issues_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues{/number}","pulls_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls{/number}","milestones_url":"https://api.github.com/repos/defunkt/jquery-pjax/milestones{/number}","notifications_url":"https://api.github.com/repos/defunkt/jquery-pjax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defunkt/jquery-pjax/labels{/name}","releases_url":"https://api.github.com/repos/defunkt/jquery-pjax/releases{/id}","created_at":"2011-02-26T02:44:18Z","updated_at":"2015-04-02T09:33:25Z","pushed_at":"2015-04-02T09:34:53Z","git_url":"git://github.com/defunkt/jquery-pjax.git","ssh_url":"git@github.com:defunkt/jquery-pjax.git","clone_url":"https://github.com/defunkt/jquery-pjax.git","svn_url":"https://github.com/defunkt/jquery-pjax","homepage":"http://pjax.heroku.com","size":2504,"stargazers_count":11025,"watchers_count":11025,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1262,"mirror_url":null,"open_issues_count":45,"forks":1262,"open_issues":45,"watchers":11025,"default_branch":"master"}},"base":{"label":"defunkt:master","ref":"master","sha":"98930b4ee66d14322535c55d200416ddc1e1ca3b","user":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"repo":{"id":1413492,"name":"jquery-pjax","full_name":"defunkt/jquery-pjax","owner":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/defunkt/jquery-pjax","description":"pushState + ajax = pjax","fork":false,"url":"https://api.github.com/repos/defunkt/jquery-pjax","forks_url":"https://api.github.com/repos/defunkt/jquery-pjax/forks","keys_url":"https://api.github.com/repos/defunkt/jquery-pjax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defunkt/jquery-pjax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defunkt/jquery-pjax/teams","hooks_url":"https://api.github.com/repos/defunkt/jquery-pjax/hooks","issue_events_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/events{/number}","events_url":"https://api.github.com/repos/defunkt/jquery-pjax/events","assignees_url":"https://api.github.com/repos/defunkt/jquery-pjax/assignees{/user}","branches_url":"https://api.github.com/repos/defunkt/jquery-pjax/branches{/branch}","tags_url":"https://api.github.com/repos/defunkt/jquery-pjax/tags","blobs_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/refs{/sha}","trees_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defunkt/jquery-pjax/statuses/{sha}","languages_url":"https://api.github.com/repos/defunkt/jquery-pjax/languages","stargazers_url":"https://api.github.com/repos/defunkt/jquery-pjax/stargazers","contributors_url":"https://api.github.com/repos/defunkt/jquery-pjax/contributors","subscribers_url":"https://api.github.com/repos/defunkt/jquery-pjax/subscribers","subscription_url":"https://api.github.com/repos/defunkt/jquery-pjax/subscription","commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/commits{/sha}","git_commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/commits{/sha}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/comments{/number}","issue_comment_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/comments{/number}","contents_url":"https://api.github.com/repos/defunkt/jquery-pjax/contents/{+path}","compare_url":"https://api.github.com/repos/defunkt/jquery-pjax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defunkt/jquery-pjax/merges","archive_url":"https://api.github.com/repos/defunkt/jquery-pjax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defunkt/jquery-pjax/downloads","issues_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues{/number}","pulls_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls{/number}","milestones_url":"https://api.github.com/repos/defunkt/jquery-pjax/milestones{/number}","notifications_url":"https://api.github.com/repos/defunkt/jquery-pjax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defunkt/jquery-pjax/labels{/name}","releases_url":"https://api.github.com/repos/defunkt/jquery-pjax/releases{/id}","created_at":"2011-02-26T02:44:18Z","updated_at":"2015-04-02T09:33:25Z","pushed_at":"2015-04-02T09:34:53Z","git_url":"git://github.com/defunkt/jquery-pjax.git","ssh_url":"git@github.com:defunkt/jquery-pjax.git","clone_url":"https://github.com/defunkt/jquery-pjax.git","svn_url":"https://github.com/defunkt/jquery-pjax","homepage":"http://pjax.heroku.com","size":2504,"stargazers_count":11025,"watchers_count":11025,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1262,"mirror_url":null,"open_issues_count":45,"forks":1262,"open_issues":45,"watchers":11025,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/512"},"html":{"href":"https://github.com/defunkt/jquery-pjax/pull/512"},"issue":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/issues/512"},"comments":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/issues/512/comments"},"review_comments":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/512/comments"},"review_comment":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/512/commits"},"statuses":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/statuses/93f530fad837ad62d6217328d3b84f2c7d39d17c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":8,"changed_files":2}}