{"action":"created","comment":{"url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/comments/354624922","pull_request_review_id":327948620,"id":354624922,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1NDYyNDkyMg==","diff_hunk":"@@ -11,32 +11,26 @@\n \t// Site title and description.\n \twp.customize( 'blogname', function( value ) {\n \t\tvalue.bind( function( to ) {\n-\t\t\t$( '.site-title a' ).text( to );\n-\t\t} );\n-\t} );\n+\t\t\tdocument.querySelector( '.site-title a' ).textContent( to );","path":"js/customizer.js","position":7,"original_position":7,"commit_id":"eedd500dff1da1d4c5ab5bd8c13e5d7f83b3f1a3","original_commit_id":"eedd500dff1da1d4c5ab5bd8c13e5d7f83b3f1a3","user":{"login":"ZebulanStanphill","id":19592990,"node_id":"MDQ6VXNlcjE5NTkyOTkw","avatar_url":"https://avatars3.githubusercontent.com/u/19592990?v=4","gravatar_id":"","url":"https://api.github.com/users/ZebulanStanphill","html_url":"https://github.com/ZebulanStanphill","followers_url":"https://api.github.com/users/ZebulanStanphill/followers","following_url":"https://api.github.com/users/ZebulanStanphill/following{/other_user}","gists_url":"https://api.github.com/users/ZebulanStanphill/gists{/gist_id}","starred_url":"https://api.github.com/users/ZebulanStanphill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZebulanStanphill/subscriptions","organizations_url":"https://api.github.com/users/ZebulanStanphill/orgs","repos_url":"https://api.github.com/users/ZebulanStanphill/repos","events_url":"https://api.github.com/users/ZebulanStanphill/events{/privacy}","received_events_url":"https://api.github.com/users/ZebulanStanphill/received_events","type":"User","site_admin":false},"body":"I think this is invalid since `textContent` is not a function.\r\n```suggestion\r\n\t\t\tdocument.querySelector( '.site-title a' ).textContent = to;\r\n```","created_at":"2019-12-06T01:08:40Z","updated_at":"2019-12-06T01:11:02Z","html_url":"https://github.com/WordPress/gutenberg-starter-theme/pull/76#discussion_r354624922","pull_request_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/comments/354624922"},"html":{"href":"https://github.com/WordPress/gutenberg-starter-theme/pull/76#discussion_r354624922"},"pull_request":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76","id":219842834,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5ODQyODM0","html_url":"https://github.com/WordPress/gutenberg-starter-theme/pull/76","diff_url":"https://github.com/WordPress/gutenberg-starter-theme/pull/76.diff","patch_url":"https://github.com/WordPress/gutenberg-starter-theme/pull/76.patch","issue_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/issues/76","number":76,"state":"open","locked":false,"title":"Added if statement and replaced jQuery with Vanilla JS","user":{"login":"PlanB007","id":16120415,"node_id":"MDQ6VXNlcjE2MTIwNDE1","avatar_url":"https://avatars2.githubusercontent.com/u/16120415?v=4","gravatar_id":"","url":"https://api.github.com/users/PlanB007","html_url":"https://github.com/PlanB007","followers_url":"https://api.github.com/users/PlanB007/followers","following_url":"https://api.github.com/users/PlanB007/following{/other_user}","gists_url":"https://api.github.com/users/PlanB007/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanB007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanB007/subscriptions","organizations_url":"https://api.github.com/users/PlanB007/orgs","repos_url":"https://api.github.com/users/PlanB007/repos","events_url":"https://api.github.com/users/PlanB007/events{/privacy}","received_events_url":"https://api.github.com/users/PlanB007/received_events","type":"User","site_admin":false},"body":"As you can see by my commits I've added an if statement on one of your files. For WP this is a best practices pieces of code, you can find all the extra info on Google. For the jQuery, you used there was some very easy Vanilla JS which is, in this case, better than jQuery (check out [youmightnotneedjquery.com](http://youmightnotneedjquery.com/) ) always keep libs and frameworks as low as possible.","created_at":"2018-10-02T20:57:34Z","updated_at":"2019-12-06T01:11:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cf4c5794d4d6a877aa413fd1596767b4695fb5f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76/commits","review_comments_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76/comments","review_comment_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/issues/76/comments","statuses_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/statuses/eedd500dff1da1d4c5ab5bd8c13e5d7f83b3f1a3","head":{"label":"PlanB007:master","ref":"master","sha":"eedd500dff1da1d4c5ab5bd8c13e5d7f83b3f1a3","user":{"login":"PlanB007","id":16120415,"node_id":"MDQ6VXNlcjE2MTIwNDE1","avatar_url":"https://avatars2.githubusercontent.com/u/16120415?v=4","gravatar_id":"","url":"https://api.github.com/users/PlanB007","html_url":"https://github.com/PlanB007","followers_url":"https://api.github.com/users/PlanB007/followers","following_url":"https://api.github.com/users/PlanB007/following{/other_user}","gists_url":"https://api.github.com/users/PlanB007/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanB007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanB007/subscriptions","organizations_url":"https://api.github.com/users/PlanB007/orgs","repos_url":"https://api.github.com/users/PlanB007/repos","events_url":"https://api.github.com/users/PlanB007/events{/privacy}","received_events_url":"https://api.github.com/users/PlanB007/received_events","type":"User","site_admin":false},"repo":{"id":151318864,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEzMTg4NjQ=","name":"gutenberg-starter-theme","full_name":"PlanB007/gutenberg-starter-theme","private":false,"owner":{"login":"PlanB007","id":16120415,"node_id":"MDQ6VXNlcjE2MTIwNDE1","avatar_url":"https://avatars2.githubusercontent.com/u/16120415?v=4","gravatar_id":"","url":"https://api.github.com/users/PlanB007","html_url":"https://github.com/PlanB007","followers_url":"https://api.github.com/users/PlanB007/followers","following_url":"https://api.github.com/users/PlanB007/following{/other_user}","gists_url":"https://api.github.com/users/PlanB007/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanB007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanB007/subscriptions","organizations_url":"https://api.github.com/users/PlanB007/orgs","repos_url":"https://api.github.com/users/PlanB007/repos","events_url":"https://api.github.com/users/PlanB007/events{/privacy}","received_events_url":"https://api.github.com/users/PlanB007/received_events","type":"User","site_admin":false},"html_url":"https://github.com/PlanB007/gutenberg-starter-theme","description":"Showcasing Gutenberg: a theme to show the potential","fork":true,"url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme","forks_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/forks","keys_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/teams","hooks_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/hooks","issue_events_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/issues/events{/number}","events_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/events","assignees_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/assignees{/user}","branches_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/branches{/branch}","tags_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/tags","blobs_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/languages","stargazers_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/stargazers","contributors_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/contributors","subscribers_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/subscribers","subscription_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/subscription","commits_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/contents/{+path}","compare_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/merges","archive_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/downloads","issues_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/issues{/number}","pulls_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/labels{/name}","releases_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/releases{/id}","deployments_url":"https://api.github.com/repos/PlanB007/gutenberg-starter-theme/deployments","created_at":"2018-10-02T20:28:20Z","updated_at":"2018-10-02T20:53:40Z","pushed_at":"2018-10-02T20:53:38Z","git_url":"git://github.com/PlanB007/gutenberg-starter-theme.git","ssh_url":"git@github.com:PlanB007/gutenberg-starter-theme.git","clone_url":"https://github.com/PlanB007/gutenberg-starter-theme.git","svn_url":"https://github.com/PlanB007/gutenberg-starter-theme","homepage":"","size":109,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WordPress:master","ref":"master","sha":"7a86ab19c9f71e8f9c96afc75235dbf15d65190a","user":{"login":"WordPress","id":276006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NjAwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"repo":{"id":98573165,"node_id":"MDEwOlJlcG9zaXRvcnk5ODU3MzE2NQ==","name":"gutenberg-starter-theme","full_name":"WordPress/gutenberg-starter-theme","private":false,"owner":{"login":"WordPress","id":276006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NjAwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/WordPress/gutenberg-starter-theme","description":"A simple theme for testing Gutenberg.","fork":false,"url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme","forks_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/forks","keys_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/teams","hooks_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/hooks","issue_events_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/events","assignees_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/tags","blobs_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/languages","stargazers_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/stargazers","contributors_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/contributors","subscribers_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/subscribers","subscription_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/subscription","commits_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/merges","archive_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/downloads","issues_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/deployments","created_at":"2017-07-27T19:30:09Z","updated_at":"2019-12-05T17:03:03Z","pushed_at":"2019-08-22T01:04:19Z","git_url":"git://github.com/WordPress/gutenberg-starter-theme.git","ssh_url":"git@github.com:WordPress/gutenberg-starter-theme.git","clone_url":"https://github.com/WordPress/gutenberg-starter-theme.git","svn_url":"https://github.com/WordPress/gutenberg-starter-theme","homepage":"","size":755,"stargazers_count":531,"watchers_count":531,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":143,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":10,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":143,"open_issues":10,"watchers":531,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76"},"html":{"href":"https://github.com/WordPress/gutenberg-starter-theme/pull/76"},"issue":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/issues/76"},"comments":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress/gutenberg-starter-theme/statuses/eedd500dff1da1d4c5ab5bd8c13e5d7f83b3f1a3"}},"author_association":"NONE"}}
{"actor":{"display_login":"ZebulanStanphill"}}