{"action":"created","comment":{"url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/comments/200186715","pull_request_review_id":134453340,"id":200186715,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDE4NjcxNQ==","diff_hunk":"@@ -80,6 +80,36 @@ Site.Shop = {\n     if ($('body').hasClass('single-product')) {\n       _this.Product.init();\n     }\n+\n+    if ($('#products')) {\n+      _this.ToggleProducts.init();\n+    }\n+  },\n+\n+  ToggleProducts: {\n+    init: function() {\n+      var _this = this;\n+\n+      if($('.toggle-sold').length) {\n+        // bind on click\n+        $('.toggle-sold').on('click', function(event) {\n+          event.preventDefault();\n+\n+          // Check if products are hidden\n+          if($('body').hasClass('hidden-products')) {\n+            // show sold out products\n+            $('body').removeClass('hidden-products');\n+            $('.outofstock').fadeIn(300)","path":"js/main.js","position":23,"original_position":23,"commit_id":"0ab5612b77d8907644e1dd6889607fe7b62598ee","original_commit_id":"0ab5612b77d8907644e1dd6889607fe7b62598ee","user":{"login":"mikeyrayvon","id":7727722,"node_id":"MDQ6VXNlcjc3Mjc3MjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7727722?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeyrayvon","html_url":"https://github.com/mikeyrayvon","followers_url":"https://api.github.com/users/mikeyrayvon/followers","following_url":"https://api.github.com/users/mikeyrayvon/following{/other_user}","gists_url":"https://api.github.com/users/mikeyrayvon/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeyrayvon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeyrayvon/subscriptions","organizations_url":"https://api.github.com/users/mikeyrayvon/orgs","repos_url":"https://api.github.com/users/mikeyrayvon/repos","events_url":"https://api.github.com/users/mikeyrayvon/events{/privacy}","received_events_url":"https://api.github.com/users/mikeyrayvon/received_events","type":"User","site_admin":false},"body":"lets prefer css styling and transitions ","created_at":"2018-07-04T18:36:51Z","updated_at":"2018-07-04T18:37:07Z","html_url":"https://github.com/interglobalvision/shopthecornerstore-com/pull/78#discussion_r200186715","pull_request_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/comments/200186715"},"html":{"href":"https://github.com/interglobalvision/shopthecornerstore-com/pull/78#discussion_r200186715"},"pull_request":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78","id":199121937,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MTIxOTM3","html_url":"https://github.com/interglobalvision/shopthecornerstore-com/pull/78","diff_url":"https://github.com/interglobalvision/shopthecornerstore-com/pull/78.diff","patch_url":"https://github.com/interglobalvision/shopthecornerstore-com/pull/78.patch","issue_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/78","number":78,"state":"open","locked":false,"title":"Feat sold items filter","user":{"login":"mixcas","id":1994425,"node_id":"MDQ6VXNlcjE5OTQ0MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1994425?v=4","gravatar_id":"","url":"https://api.github.com/users/mixcas","html_url":"https://github.com/mixcas","followers_url":"https://api.github.com/users/mixcas/followers","following_url":"https://api.github.com/users/mixcas/following{/other_user}","gists_url":"https://api.github.com/users/mixcas/gists{/gist_id}","starred_url":"https://api.github.com/users/mixcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixcas/subscriptions","organizations_url":"https://api.github.com/users/mixcas/orgs","repos_url":"https://api.github.com/users/mixcas/repos","events_url":"https://api.github.com/users/mixcas/events{/privacy}","received_events_url":"https://api.github.com/users/mixcas/received_events","type":"User","site_admin":false},"body":"It show/hide the sold out products","created_at":"2018-07-04T02:02:11Z","updated_at":"2018-07-04T18:37:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d89eb4d07d41785dc500c15814f891fdac301fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78/commits","review_comments_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78/comments","review_comment_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/78/comments","statuses_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/statuses/0ab5612b77d8907644e1dd6889607fe7b62598ee","head":{"label":"interglobalvision:feat-sold-items-filter","ref":"feat-sold-items-filter","sha":"0ab5612b77d8907644e1dd6889607fe7b62598ee","user":{"login":"interglobalvision","id":6844994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ5OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"repo":{"id":60566029,"node_id":"MDEwOlJlcG9zaXRvcnk2MDU2NjAyOQ==","name":"shopthecornerstore-com","full_name":"interglobalvision/shopthecornerstore-com","owner":{"login":"interglobalvision","id":6844994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ5OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interglobalvision/shopthecornerstore-com","description":null,"fork":false,"url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com","forks_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/forks","keys_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/teams","hooks_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/hooks","issue_events_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/events{/number}","events_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/events","assignees_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/assignees{/user}","branches_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/branches{/branch}","tags_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/tags","blobs_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/refs{/sha}","trees_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/statuses/{sha}","languages_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/languages","stargazers_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/stargazers","contributors_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/contributors","subscribers_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/subscribers","subscription_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/subscription","commits_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/commits{/sha}","git_commits_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/commits{/sha}","comments_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/comments{/number}","issue_comment_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/comments{/number}","contents_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/contents/{+path}","compare_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/merges","archive_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/downloads","issues_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues{/number}","pulls_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls{/number}","milestones_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/milestones{/number}","notifications_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/labels{/name}","releases_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/releases{/id}","deployments_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/deployments","created_at":"2016-06-06T22:52:44Z","updated_at":"2016-10-25T19:04:38Z","pushed_at":"2018-07-04T02:02:12Z","git_url":"git://github.com/interglobalvision/shopthecornerstore-com.git","ssh_url":"git@github.com:interglobalvision/shopthecornerstore-com.git","clone_url":"https://github.com/interglobalvision/shopthecornerstore-com.git","svn_url":"https://github.com/interglobalvision/shopthecornerstore-com","homepage":"http://shopthecornerstore.com","size":2521,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"interglobalvision:master","ref":"master","sha":"b84df7ebe46e9e2ba1e95152364b3ffcea592675","user":{"login":"interglobalvision","id":6844994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ5OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"repo":{"id":60566029,"node_id":"MDEwOlJlcG9zaXRvcnk2MDU2NjAyOQ==","name":"shopthecornerstore-com","full_name":"interglobalvision/shopthecornerstore-com","owner":{"login":"interglobalvision","id":6844994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ5OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interglobalvision/shopthecornerstore-com","description":null,"fork":false,"url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com","forks_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/forks","keys_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/teams","hooks_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/hooks","issue_events_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/events{/number}","events_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/events","assignees_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/assignees{/user}","branches_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/branches{/branch}","tags_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/tags","blobs_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/refs{/sha}","trees_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/statuses/{sha}","languages_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/languages","stargazers_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/stargazers","contributors_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/contributors","subscribers_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/subscribers","subscription_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/subscription","commits_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/commits{/sha}","git_commits_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/git/commits{/sha}","comments_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/comments{/number}","issue_comment_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/comments{/number}","contents_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/contents/{+path}","compare_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/merges","archive_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/downloads","issues_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues{/number}","pulls_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls{/number}","milestones_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/milestones{/number}","notifications_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/labels{/name}","releases_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/releases{/id}","deployments_url":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/deployments","created_at":"2016-06-06T22:52:44Z","updated_at":"2016-10-25T19:04:38Z","pushed_at":"2018-07-04T02:02:12Z","git_url":"git://github.com/interglobalvision/shopthecornerstore-com.git","ssh_url":"git@github.com:interglobalvision/shopthecornerstore-com.git","clone_url":"https://github.com/interglobalvision/shopthecornerstore-com.git","svn_url":"https://github.com/interglobalvision/shopthecornerstore-com","homepage":"http://shopthecornerstore.com","size":2521,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78"},"html":{"href":"https://github.com/interglobalvision/shopthecornerstore-com/pull/78"},"issue":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/78"},"comments":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/interglobalvision/shopthecornerstore-com/statuses/0ab5612b77d8907644e1dd6889607fe7b62598ee"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mikeyrayvon"}}