{"action":"created","comment":{"url":"https://api.github.com/repos/jasonparser/WordPress/pulls/comments/257526769","pull_request_review_id":204583779,"id":257526769,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1NzUyNjc2OQ==","diff_hunk":"@@ -0,0 +1,197 @@\n+/**\n+ * @output wp-includes/js/wp-emoji-loader.js\n+ */\n+\n+( function( window, document, settings ) {\n+\tvar src, ready, ii, tests;\n+\n+\t// Create a canvas element for testing native browser support of emoji.\n+\tvar canvas = document.createElement( 'canvas' );\n+\tvar context = canvas.getContext && canvas.getContext( '2d' );\n+\n+\t/**\n+\t * Checks if two sets of Emoji characters render the same visually.\n+\t *\n+\t * @since 4.9.0\n+\t *\n+\t * @private\n+\t *\n+\t * @param {number[]} set1 Set of Emoji character codes.\n+\t * @param {number[]} set2 Set of Emoji character codes.\n+\t *\n+\t * @return {boolean} True if the two sets render the same.\n+\t */\n+\tfunction emojiSetsRenderIdentically( set1, set2 ) {\n+\t\tvar stringFromCharCode = String.fromCharCode;\n+\n+\t\t// Cleanup from previous test.\n+\t\tcontext.clearRect( 0, 0, canvas.width, canvas.height );\n+\t\tcontext.fillText( stringFromCharCode.apply( this, set1 ), 0, 0 );\n+\t\tvar rendered1 = canvas.toDataURL();\n+\n+\t\t// Cleanup from previous test.\n+\t\tcontext.clearRect( 0, 0, canvas.width, canvas.height );\n+\t\tcontext.fillText( stringFromCharCode.apply( this, set2 ), 0, 0 );\n+\t\tvar rendered2 = canvas.toDataURL();\n+\n+\t\treturn rendered1 === rendered2;\n+\t}\n+\n+\t/**\n+\t * Detects if the browser supports rendering emoji or flag emoji.\n+\t *\n+\t * Flag emoji are a single glyph made of two characters, so some browsers\n+\t * (notably, Firefox OS X) don't support them.\n+\t *\n+\t * @since 4.2.0\n+\t *\n+\t * @private\n+\t *\n+\t * @param {string} type Whether to test for support of \"flag\" or \"emoji\".\n+\t *\n+\t * @return {boolean} True if the browser can render emoji, false if it cannot.\n+\t */\n+\tfunction browserSupportsEmoji( type ) {\n+\t\tvar isIdentical;\n+\n+\t\tif ( ! context || ! context.fillText ) {\n+\t\t\treturn false;\n+\t\t}\n+\n+\t\t/*\n+\t\t * Chrome on OS X added native emoji rendering in M41. Unfortunately,\n+\t\t * it doesn't work when the font is bolder than 500 weight. So, we\n+\t\t * check for bold rendering support to avoid invisible emoji in Chrome.\n+\t\t */\n+\t\tcontext.textBaseline = 'top';\n+\t\tcontext.font = '600 32px Arial';\n+\n+\t\tswitch ( type ) {\n+\t\t\tcase 'flag':\n+\t\t\t\t/*\n+\t\t\t\t * Test for UN flag compatibility. This is the least supported of the letter locale flags,\n+\t\t\t\t * so gives us an easy test for full support.\n+\t\t\t\t *\n+\t\t\t\t * To test for support, we try to render it, and compare the rendering to how it would look if\n+\t\t\t\t * the browser doesn't render it correctly ([U] + [N]).\n+\t\t\t\t */\n+\t\t\t\tisIdentical = emojiSetsRenderIdentically(\n+\t\t\t\t\t[ 55356, 56826, 55356, 56819 ],\n+\t\t\t\t\t[ 55356, 56826, 8203, 55356, 56819 ]\n+\t\t\t\t);\n+\n+\t\t\t\tif ( isIdentical ) {\n+\t\t\t\t\treturn false;\n+\t\t\t\t}\n+\n+\t\t\t\t/*\n+\t\t\t\t * Test for English flag compatibility. England is a country in the United Kingdom, it\n+\t\t\t\t * does not have a two letter locale code but rather an five letter sub-division code.\n+\t\t\t\t *\n+\t\t\t\t * To test for support, we try to render it, and compare the rendering to how it would look if\n+\t\t\t\t * the browser doesn't render it correctly (black flag emoji + [G] + [B] + [E] + [N] + [G]).\n+\t\t\t\t */\n+\t\t\t\tisIdentical = emojiSetsRenderIdentically(\n+\t\t\t\t\t[ 55356, 57332, 56128, 56423, 56128, 56418, 56128, 56421, 56128, 56430, 56128, 56423, 56128, 56447 ],\n+\t\t\t\t\t[ 55356, 57332, 8203, 56128, 56423, 8203, 56128, 56418, 8203, 56128, 56421, 8203, 56128, 56430, 8203, 56128, 56423, 8203, 56128, 56447 ]\n+\t\t\t\t);\n+\n+\t\t\t\treturn ! isIdentical;\n+\t\t\tcase 'emoji':\n+\t\t\t\t/*\n+\t\t\t\t * She's the hero Emoji deserves, but not the one it needs right now.\n+\t\t\t\t *\n+\t\t\t\t * To test for support, try to render a new emoji (female superhero),","path":"wp-includes/js/wp-emoji-loader.js","position":104,"original_position":104,"commit_id":"82859e2641fa3db1dd08a62746c968a07b17fc7d","original_commit_id":"82859e2641fa3db1dd08a62746c968a07b17fc7d","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2019-02-17T22:29:32Z","updated_at":"2019-02-17T22:29:36Z","html_url":"https://github.com/jasonparser/WordPress/pull/1#discussion_r257526769","pull_request_url":"https://api.github.com/repos/jasonparser/WordPress/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jasonparser/WordPress/pulls/comments/257526769"},"html":{"href":"https://github.com/jasonparser/WordPress/pull/1#discussion_r257526769"},"pull_request":{"href":"https://api.github.com/repos/jasonparser/WordPress/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/jasonparser/WordPress/pulls/1","id":29391667,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkzOTE2Njc=","html_url":"https://github.com/jasonparser/WordPress/pull/1","diff_url":"https://github.com/jasonparser/WordPress/pull/1.diff","patch_url":"https://github.com/jasonparser/WordPress/pull/1.patch","issue_url":"https://api.github.com/repos/jasonparser/WordPress/issues/1","number":1,"state":"open","locked":false,"title":"update","user":{"login":"jasonparser","id":5031653,"node_id":"MDQ6VXNlcjUwMzE2NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5031653?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonparser","html_url":"https://github.com/jasonparser","followers_url":"https://api.github.com/users/jasonparser/followers","following_url":"https://api.github.com/users/jasonparser/following{/other_user}","gists_url":"https://api.github.com/users/jasonparser/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonparser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonparser/subscriptions","organizations_url":"https://api.github.com/users/jasonparser/orgs","repos_url":"https://api.github.com/users/jasonparser/repos","events_url":"https://api.github.com/users/jasonparser/events{/privacy}","received_events_url":"https://api.github.com/users/jasonparser/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-16T18:09:36Z","updated_at":"2019-02-17T22:29:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdee01d46080702dbd43f779ccab2d0c20d0f30f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jasonparser/WordPress/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jasonparser/WordPress/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jasonparser/WordPress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jasonparser/WordPress/issues/1/comments","statuses_url":"https://api.github.com/repos/jasonparser/WordPress/statuses/82859e2641fa3db1dd08a62746c968a07b17fc7d","head":{"label":"WordPress:master","ref":"master","sha":"82859e2641fa3db1dd08a62746c968a07b17fc7d","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":2889328,"node_id":"MDEwOlJlcG9zaXRvcnkyODg5MzI4","name":"WordPress","full_name":"WordPress/WordPress","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/WordPress","description":"WordPress, Git-ified. Synced via SVN every 15 minutes, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit patches to https://core.trac.wordpress.org/ instead.","fork":false,"url":"https://api.github.com/repos/WordPress/WordPress","forks_url":"https://api.github.com/repos/WordPress/WordPress/forks","keys_url":"https://api.github.com/repos/WordPress/WordPress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/WordPress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/WordPress/teams","hooks_url":"https://api.github.com/repos/WordPress/WordPress/hooks","issue_events_url":"https://api.github.com/repos/WordPress/WordPress/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/WordPress/events","assignees_url":"https://api.github.com/repos/WordPress/WordPress/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/WordPress/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/WordPress/tags","blobs_url":"https://api.github.com/repos/WordPress/WordPress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/WordPress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/WordPress/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/WordPress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/WordPress/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/WordPress/languages","stargazers_url":"https://api.github.com/repos/WordPress/WordPress/stargazers","contributors_url":"https://api.github.com/repos/WordPress/WordPress/contributors","subscribers_url":"https://api.github.com/repos/WordPress/WordPress/subscribers","subscription_url":"https://api.github.com/repos/WordPress/WordPress/subscription","commits_url":"https://api.github.com/repos/WordPress/WordPress/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/WordPress/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/WordPress/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/WordPress/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/WordPress/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/WordPress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/WordPress/merges","archive_url":"https://api.github.com/repos/WordPress/WordPress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/WordPress/downloads","issues_url":"https://api.github.com/repos/WordPress/WordPress/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/WordPress/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/WordPress/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/WordPress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/WordPress/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/WordPress/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress/WordPress/deployments","created_at":"2011-12-01T07:05:17Z","updated_at":"2019-02-17T22:26:29Z","pushed_at":"2019-02-17T22:26:11Z","git_url":"git://github.com/WordPress/WordPress.git","ssh_url":"git@github.com:WordPress/WordPress.git","clone_url":"https://github.com/WordPress/WordPress.git","svn_url":"https://github.com/WordPress/WordPress","homepage":"https://wordpress.org/","size":175436,"stargazers_count":12042,"watchers_count":12042,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7308,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":7308,"open_issues":0,"watchers":12042,"default_branch":"master"}},"base":{"label":"jasonparser:master","ref":"master","sha":"3949a8b6cc50a021ed93798287b4ef9ea8a560d9","user":{"login":"jasonparser","id":5031653,"node_id":"MDQ6VXNlcjUwMzE2NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5031653?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonparser","html_url":"https://github.com/jasonparser","followers_url":"https://api.github.com/users/jasonparser/followers","following_url":"https://api.github.com/users/jasonparser/following{/other_user}","gists_url":"https://api.github.com/users/jasonparser/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonparser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonparser/subscriptions","organizations_url":"https://api.github.com/users/jasonparser/orgs","repos_url":"https://api.github.com/users/jasonparser/repos","events_url":"https://api.github.com/users/jasonparser/events{/privacy}","received_events_url":"https://api.github.com/users/jasonparser/received_events","type":"User","site_admin":false},"repo":{"id":25378853,"node_id":"MDEwOlJlcG9zaXRvcnkyNTM3ODg1Mw==","name":"WordPress","full_name":"jasonparser/WordPress","private":false,"owner":{"login":"jasonparser","id":5031653,"node_id":"MDQ6VXNlcjUwMzE2NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5031653?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonparser","html_url":"https://github.com/jasonparser","followers_url":"https://api.github.com/users/jasonparser/followers","following_url":"https://api.github.com/users/jasonparser/following{/other_user}","gists_url":"https://api.github.com/users/jasonparser/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonparser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonparser/subscriptions","organizations_url":"https://api.github.com/users/jasonparser/orgs","repos_url":"https://api.github.com/users/jasonparser/repos","events_url":"https://api.github.com/users/jasonparser/events{/privacy}","received_events_url":"https://api.github.com/users/jasonparser/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jasonparser/WordPress","description":"WordPress, Git-ified. Synced via SVN every 15 minutes, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit patches to http://core.trac.wordpress.org/ instead.","fork":true,"url":"https://api.github.com/repos/jasonparser/WordPress","forks_url":"https://api.github.com/repos/jasonparser/WordPress/forks","keys_url":"https://api.github.com/repos/jasonparser/WordPress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jasonparser/WordPress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jasonparser/WordPress/teams","hooks_url":"https://api.github.com/repos/jasonparser/WordPress/hooks","issue_events_url":"https://api.github.com/repos/jasonparser/WordPress/issues/events{/number}","events_url":"https://api.github.com/repos/jasonparser/WordPress/events","assignees_url":"https://api.github.com/repos/jasonparser/WordPress/assignees{/user}","branches_url":"https://api.github.com/repos/jasonparser/WordPress/branches{/branch}","tags_url":"https://api.github.com/repos/jasonparser/WordPress/tags","blobs_url":"https://api.github.com/repos/jasonparser/WordPress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jasonparser/WordPress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jasonparser/WordPress/git/refs{/sha}","trees_url":"https://api.github.com/repos/jasonparser/WordPress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jasonparser/WordPress/statuses/{sha}","languages_url":"https://api.github.com/repos/jasonparser/WordPress/languages","stargazers_url":"https://api.github.com/repos/jasonparser/WordPress/stargazers","contributors_url":"https://api.github.com/repos/jasonparser/WordPress/contributors","subscribers_url":"https://api.github.com/repos/jasonparser/WordPress/subscribers","subscription_url":"https://api.github.com/repos/jasonparser/WordPress/subscription","commits_url":"https://api.github.com/repos/jasonparser/WordPress/commits{/sha}","git_commits_url":"https://api.github.com/repos/jasonparser/WordPress/git/commits{/sha}","comments_url":"https://api.github.com/repos/jasonparser/WordPress/comments{/number}","issue_comment_url":"https://api.github.com/repos/jasonparser/WordPress/issues/comments{/number}","contents_url":"https://api.github.com/repos/jasonparser/WordPress/contents/{+path}","compare_url":"https://api.github.com/repos/jasonparser/WordPress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jasonparser/WordPress/merges","archive_url":"https://api.github.com/repos/jasonparser/WordPress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jasonparser/WordPress/downloads","issues_url":"https://api.github.com/repos/jasonparser/WordPress/issues{/number}","pulls_url":"https://api.github.com/repos/jasonparser/WordPress/pulls{/number}","milestones_url":"https://api.github.com/repos/jasonparser/WordPress/milestones{/number}","notifications_url":"https://api.github.com/repos/jasonparser/WordPress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jasonparser/WordPress/labels{/name}","releases_url":"https://api.github.com/repos/jasonparser/WordPress/releases{/id}","deployments_url":"https://api.github.com/repos/jasonparser/WordPress/deployments","created_at":"2014-10-17T21:58:34Z","updated_at":"2017-05-09T15:52:35Z","pushed_at":"2019-02-17T22:26:26Z","git_url":"git://github.com/jasonparser/WordPress.git","ssh_url":"git@github.com:jasonparser/WordPress.git","clone_url":"https://github.com/jasonparser/WordPress.git","svn_url":"https://github.com/jasonparser/WordPress","homepage":"http://wordpress.org/","size":143701,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jasonparser/WordPress/pulls/1"},"html":{"href":"https://github.com/jasonparser/WordPress/pull/1"},"issue":{"href":"https://api.github.com/repos/jasonparser/WordPress/issues/1"},"comments":{"href":"https://api.github.com/repos/jasonparser/WordPress/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jasonparser/WordPress/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jasonparser/WordPress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jasonparser/WordPress/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jasonparser/WordPress/statuses/82859e2641fa3db1dd08a62746c968a07b17fc7d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}