{"action":"opened","number":55,"pull_request":{"url":"https://api.github.com/repos/snapjay/ngCart/pulls/55","id":57670696,"html_url":"https://github.com/snapjay/ngCart/pull/55","diff_url":"https://github.com/snapjay/ngCart/pull/55.diff","patch_url":"https://github.com/snapjay/ngCart/pull/55.patch","issue_url":"https://api.github.com/repos/snapjay/ngCart/issues/55","number":55,"state":"open","locked":false,"title":"Reloads cart on window focus - fixed #54","user":{"login":"atomworks","id":808289,"avatar_url":"https://avatars.githubusercontent.com/u/808289?v=3","gravatar_id":"","url":"https://api.github.com/users/atomworks","html_url":"https://github.com/atomworks","followers_url":"https://api.github.com/users/atomworks/followers","following_url":"https://api.github.com/users/atomworks/following{/other_user}","gists_url":"https://api.github.com/users/atomworks/gists{/gist_id}","starred_url":"https://api.github.com/users/atomworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomworks/subscriptions","organizations_url":"https://api.github.com/users/atomworks/orgs","repos_url":"https://api.github.com/users/atomworks/repos","events_url":"https://api.github.com/users/atomworks/events{/privacy}","received_events_url":"https://api.github.com/users/atomworks/received_events","type":"User","site_admin":false},"body":"This prevents cart content becoming desynchronised when shop used over multiple tabs. This is achieved by simply re-triggering the load from localStorage mechanism when you refocus a tab.","created_at":"2016-01-29T16:39:44Z","updated_at":"2016-01-29T16:39:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/snapjay/ngCart/pulls/55/commits","review_comments_url":"https://api.github.com/repos/snapjay/ngCart/pulls/55/comments","review_comment_url":"https://api.github.com/repos/snapjay/ngCart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snapjay/ngCart/issues/55/comments","statuses_url":"https://api.github.com/repos/snapjay/ngCart/statuses/84b740c374a7919149392c5b1ea706e1331ca726","head":{"label":"atomworks:multitab-fix","ref":"multitab-fix","sha":"84b740c374a7919149392c5b1ea706e1331ca726","user":{"login":"atomworks","id":808289,"avatar_url":"https://avatars.githubusercontent.com/u/808289?v=3","gravatar_id":"","url":"https://api.github.com/users/atomworks","html_url":"https://github.com/atomworks","followers_url":"https://api.github.com/users/atomworks/followers","following_url":"https://api.github.com/users/atomworks/following{/other_user}","gists_url":"https://api.github.com/users/atomworks/gists{/gist_id}","starred_url":"https://api.github.com/users/atomworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomworks/subscriptions","organizations_url":"https://api.github.com/users/atomworks/orgs","repos_url":"https://api.github.com/users/atomworks/repos","events_url":"https://api.github.com/users/atomworks/events{/privacy}","received_events_url":"https://api.github.com/users/atomworks/received_events","type":"User","site_admin":false},"repo":{"id":50662169,"name":"ngCart","full_name":"atomworks/ngCart","owner":{"login":"atomworks","id":808289,"avatar_url":"https://avatars.githubusercontent.com/u/808289?v=3","gravatar_id":"","url":"https://api.github.com/users/atomworks","html_url":"https://github.com/atomworks","followers_url":"https://api.github.com/users/atomworks/followers","following_url":"https://api.github.com/users/atomworks/following{/other_user}","gists_url":"https://api.github.com/users/atomworks/gists{/gist_id}","starred_url":"https://api.github.com/users/atomworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomworks/subscriptions","organizations_url":"https://api.github.com/users/atomworks/orgs","repos_url":"https://api.github.com/users/atomworks/repos","events_url":"https://api.github.com/users/atomworks/events{/privacy}","received_events_url":"https://api.github.com/users/atomworks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atomworks/ngCart","description":"Really simple shopping cart for AngularJS","fork":true,"url":"https://api.github.com/repos/atomworks/ngCart","forks_url":"https://api.github.com/repos/atomworks/ngCart/forks","keys_url":"https://api.github.com/repos/atomworks/ngCart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atomworks/ngCart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atomworks/ngCart/teams","hooks_url":"https://api.github.com/repos/atomworks/ngCart/hooks","issue_events_url":"https://api.github.com/repos/atomworks/ngCart/issues/events{/number}","events_url":"https://api.github.com/repos/atomworks/ngCart/events","assignees_url":"https://api.github.com/repos/atomworks/ngCart/assignees{/user}","branches_url":"https://api.github.com/repos/atomworks/ngCart/branches{/branch}","tags_url":"https://api.github.com/repos/atomworks/ngCart/tags","blobs_url":"https://api.github.com/repos/atomworks/ngCart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atomworks/ngCart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atomworks/ngCart/git/refs{/sha}","trees_url":"https://api.github.com/repos/atomworks/ngCart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atomworks/ngCart/statuses/{sha}","languages_url":"https://api.github.com/repos/atomworks/ngCart/languages","stargazers_url":"https://api.github.com/repos/atomworks/ngCart/stargazers","contributors_url":"https://api.github.com/repos/atomworks/ngCart/contributors","subscribers_url":"https://api.github.com/repos/atomworks/ngCart/subscribers","subscription_url":"https://api.github.com/repos/atomworks/ngCart/subscription","commits_url":"https://api.github.com/repos/atomworks/ngCart/commits{/sha}","git_commits_url":"https://api.github.com/repos/atomworks/ngCart/git/commits{/sha}","comments_url":"https://api.github.com/repos/atomworks/ngCart/comments{/number}","issue_comment_url":"https://api.github.com/repos/atomworks/ngCart/issues/comments{/number}","contents_url":"https://api.github.com/repos/atomworks/ngCart/contents/{+path}","compare_url":"https://api.github.com/repos/atomworks/ngCart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atomworks/ngCart/merges","archive_url":"https://api.github.com/repos/atomworks/ngCart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atomworks/ngCart/downloads","issues_url":"https://api.github.com/repos/atomworks/ngCart/issues{/number}","pulls_url":"https://api.github.com/repos/atomworks/ngCart/pulls{/number}","milestones_url":"https://api.github.com/repos/atomworks/ngCart/milestones{/number}","notifications_url":"https://api.github.com/repos/atomworks/ngCart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atomworks/ngCart/labels{/name}","releases_url":"https://api.github.com/repos/atomworks/ngCart/releases{/id}","deployments_url":"https://api.github.com/repos/atomworks/ngCart/deployments","created_at":"2016-01-29T12:50:46Z","updated_at":"2016-01-29T12:50:47Z","pushed_at":"2016-01-29T16:38:31Z","git_url":"git://github.com/atomworks/ngCart.git","ssh_url":"git@github.com:atomworks/ngCart.git","clone_url":"https://github.com/atomworks/ngCart.git","svn_url":"https://github.com/atomworks/ngCart","homepage":"http://ngcart.snapjay.com","size":126,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"snapjay:master","ref":"master","sha":"711778ce48d6933ae368908b80d51c27541a702e","user":{"login":"snapjay","id":60594,"avatar_url":"https://avatars.githubusercontent.com/u/60594?v=3","gravatar_id":"","url":"https://api.github.com/users/snapjay","html_url":"https://github.com/snapjay","followers_url":"https://api.github.com/users/snapjay/followers","following_url":"https://api.github.com/users/snapjay/following{/other_user}","gists_url":"https://api.github.com/users/snapjay/gists{/gist_id}","starred_url":"https://api.github.com/users/snapjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapjay/subscriptions","organizations_url":"https://api.github.com/users/snapjay/orgs","repos_url":"https://api.github.com/users/snapjay/repos","events_url":"https://api.github.com/users/snapjay/events{/privacy}","received_events_url":"https://api.github.com/users/snapjay/received_events","type":"User","site_admin":false},"repo":{"id":20776892,"name":"ngCart","full_name":"snapjay/ngCart","owner":{"login":"snapjay","id":60594,"avatar_url":"https://avatars.githubusercontent.com/u/60594?v=3","gravatar_id":"","url":"https://api.github.com/users/snapjay","html_url":"https://github.com/snapjay","followers_url":"https://api.github.com/users/snapjay/followers","following_url":"https://api.github.com/users/snapjay/following{/other_user}","gists_url":"https://api.github.com/users/snapjay/gists{/gist_id}","starred_url":"https://api.github.com/users/snapjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapjay/subscriptions","organizations_url":"https://api.github.com/users/snapjay/orgs","repos_url":"https://api.github.com/users/snapjay/repos","events_url":"https://api.github.com/users/snapjay/events{/privacy}","received_events_url":"https://api.github.com/users/snapjay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/snapjay/ngCart","description":"Really simple shopping cart for AngularJS","fork":false,"url":"https://api.github.com/repos/snapjay/ngCart","forks_url":"https://api.github.com/repos/snapjay/ngCart/forks","keys_url":"https://api.github.com/repos/snapjay/ngCart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snapjay/ngCart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snapjay/ngCart/teams","hooks_url":"https://api.github.com/repos/snapjay/ngCart/hooks","issue_events_url":"https://api.github.com/repos/snapjay/ngCart/issues/events{/number}","events_url":"https://api.github.com/repos/snapjay/ngCart/events","assignees_url":"https://api.github.com/repos/snapjay/ngCart/assignees{/user}","branches_url":"https://api.github.com/repos/snapjay/ngCart/branches{/branch}","tags_url":"https://api.github.com/repos/snapjay/ngCart/tags","blobs_url":"https://api.github.com/repos/snapjay/ngCart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snapjay/ngCart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snapjay/ngCart/git/refs{/sha}","trees_url":"https://api.github.com/repos/snapjay/ngCart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snapjay/ngCart/statuses/{sha}","languages_url":"https://api.github.com/repos/snapjay/ngCart/languages","stargazers_url":"https://api.github.com/repos/snapjay/ngCart/stargazers","contributors_url":"https://api.github.com/repos/snapjay/ngCart/contributors","subscribers_url":"https://api.github.com/repos/snapjay/ngCart/subscribers","subscription_url":"https://api.github.com/repos/snapjay/ngCart/subscription","commits_url":"https://api.github.com/repos/snapjay/ngCart/commits{/sha}","git_commits_url":"https://api.github.com/repos/snapjay/ngCart/git/commits{/sha}","comments_url":"https://api.github.com/repos/snapjay/ngCart/comments{/number}","issue_comment_url":"https://api.github.com/repos/snapjay/ngCart/issues/comments{/number}","contents_url":"https://api.github.com/repos/snapjay/ngCart/contents/{+path}","compare_url":"https://api.github.com/repos/snapjay/ngCart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snapjay/ngCart/merges","archive_url":"https://api.github.com/repos/snapjay/ngCart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snapjay/ngCart/downloads","issues_url":"https://api.github.com/repos/snapjay/ngCart/issues{/number}","pulls_url":"https://api.github.com/repos/snapjay/ngCart/pulls{/number}","milestones_url":"https://api.github.com/repos/snapjay/ngCart/milestones{/number}","notifications_url":"https://api.github.com/repos/snapjay/ngCart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snapjay/ngCart/labels{/name}","releases_url":"https://api.github.com/repos/snapjay/ngCart/releases{/id}","deployments_url":"https://api.github.com/repos/snapjay/ngCart/deployments","created_at":"2014-06-12T17:41:08Z","updated_at":"2016-01-28T17:19:35Z","pushed_at":"2016-01-29T15:01:31Z","git_url":"git://github.com/snapjay/ngCart.git","ssh_url":"git@github.com:snapjay/ngCart.git","clone_url":"https://github.com/snapjay/ngCart.git","svn_url":"https://github.com/snapjay/ngCart","homepage":"http://ngcart.snapjay.com","size":212,"stargazers_count":222,"watchers_count":222,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":133,"mirror_url":null,"open_issues_count":25,"forks":133,"open_issues":25,"watchers":222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snapjay/ngCart/pulls/55"},"html":{"href":"https://github.com/snapjay/ngCart/pull/55"},"issue":{"href":"https://api.github.com/repos/snapjay/ngCart/issues/55"},"comments":{"href":"https://api.github.com/repos/snapjay/ngCart/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/snapjay/ngCart/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/snapjay/ngCart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snapjay/ngCart/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/snapjay/ngCart/statuses/84b740c374a7919149392c5b1ea706e1331ca726"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":3,"changed_files":3}}