{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/app/pulls/comments/72086272","id":72086272,"diff_hunk":"@@ -0,0 +1,73 @@\n+define('ext.wikia.adEngine.pageFairDetection', [\n+\t'ext.wikia.adEngine.adContext',\n+\t'ext.wikia.adEngine.utils.scriptLoader',\n+\t'wikia.document',\n+\t'wikia.log',\n+\t'wikia.window'\n+], function (adContext, scriptLoader, doc, log, window) {\n+\t'use strict';\n+\n+\tvar context = null,\n+\t\tlogGroup = 'ext.wikia.adEngine.pageFairDetection';\n+\n+\tfunction getContext() {\n+\t\tif (context === null) {\n+\t\t\tcontext = adContext.getContext();\n+\t\t}\n+\t\treturn context;\n+\t}\n+\n+\tfunction isMobile() {\n+\t\tvar isMobileSkin = getContext().targeting.skin === 'mercury',\n+\t\t\tuserAgentIsMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n+\n+\t\treturn isMobileSkin || userAgentIsMobile;\n+\t}\n+\n+\tfunction getWebsiteCode() {\n+\t\tvar websiteKeys = {\n+\t\t\tmobile: 'FA8D90F8D9F54665',\n+\t\t\tdesktop: 'FE3882548B7E471A'\n+\t\t};\n+\n+\t\treturn isMobile() ? websiteKeys.mobile : websiteKeys.desktop;\n+\t}\n+\n+\tfunction dispatchDetectionEvent(eventName){\n+\t\tvar event = document.createEvent('Event');\n+\t\tevent.initEvent(eventName, true, false);","path":"extensions/wikia/AdEngine/js/PageFairDetection.js","position":38,"original_position":38,"commit_id":"43c8fc44abea257c7212777916c932ed5f8d2df7","original_commit_id":"43c8fc44abea257c7212777916c932ed5f8d2df7","user":{"login":"bognix","id":3473327,"avatar_url":"https://avatars.githubusercontent.com/u/3473327?v=3","gravatar_id":"","url":"https://api.github.com/users/bognix","html_url":"https://github.com/bognix","followers_url":"https://api.github.com/users/bognix/followers","following_url":"https://api.github.com/users/bognix/following{/other_user}","gists_url":"https://api.github.com/users/bognix/gists{/gist_id}","starred_url":"https://api.github.com/users/bognix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bognix/subscriptions","organizations_url":"https://api.github.com/users/bognix/orgs","repos_url":"https://api.github.com/users/bognix/repos","events_url":"https://api.github.com/users/bognix/events{/privacy}","received_events_url":"https://api.github.com/users/bognix/received_events","type":"User","site_admin":false},"body":"Look what @fraszczakszymon did in his PR -> https://github.com/Wikia/app/pull/10901/files#diff-b9e82d7dddc23f114c5d710e787e5bdaR136 . I believe both of you want to achieve the same thing in a similar (not the same) way. How about unification of events creation? ","created_at":"2016-07-25T15:31:42Z","updated_at":"2016-07-25T15:31:42Z","html_url":"https://github.com/Wikia/app/pull/10847#discussion_r72086272","pull_request_url":"https://api.github.com/repos/Wikia/app/pulls/10847","_links":{"self":{"href":"https://api.github.com/repos/Wikia/app/pulls/comments/72086272"},"html":{"href":"https://github.com/Wikia/app/pull/10847#discussion_r72086272"},"pull_request":{"href":"https://api.github.com/repos/Wikia/app/pulls/10847"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/10847","id":77797575,"html_url":"https://github.com/Wikia/app/pull/10847","diff_url":"https://github.com/Wikia/app/pull/10847.diff","patch_url":"https://github.com/Wikia/app/pull/10847.patch","issue_url":"https://api.github.com/repos/Wikia/app/issues/10847","number":10847,"state":"open","locked":false,"title":"ADEN-3554 PageFair prod ready","user":{"login":"v3rth","id":2962313,"avatar_url":"https://avatars.githubusercontent.com/u/2962313?v=3","gravatar_id":"","url":"https://api.github.com/users/v3rth","html_url":"https://github.com/v3rth","followers_url":"https://api.github.com/users/v3rth/followers","following_url":"https://api.github.com/users/v3rth/following{/other_user}","gists_url":"https://api.github.com/users/v3rth/gists{/gist_id}","starred_url":"https://api.github.com/users/v3rth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v3rth/subscriptions","organizations_url":"https://api.github.com/users/v3rth/orgs","repos_url":"https://api.github.com/users/v3rth/repos","events_url":"https://api.github.com/users/v3rth/events{/privacy}","received_events_url":"https://api.github.com/users/v3rth/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-18T12:05:55Z","updated_at":"2016-07-25T15:31:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b26768d99283560edcd9d6609752d3d7759c18c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/app/pulls/10847/commits","review_comments_url":"https://api.github.com/repos/Wikia/app/pulls/10847/comments","review_comment_url":"https://api.github.com/repos/Wikia/app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/app/issues/10847/comments","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/43c8fc44abea257c7212777916c932ed5f8d2df7","head":{"label":"Wikia:ADEN-3554-pagefair-prod-ready","ref":"ADEN-3554-pagefair-prod-ready","sha":"43c8fc44abea257c7212777916c932ed5f8d2df7","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":5532313,"name":"app","full_name":"Wikia/app","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/app","description":"Wikia Application Code","fork":false,"url":"https://api.github.com/repos/Wikia/app","forks_url":"https://api.github.com/repos/Wikia/app/forks","keys_url":"https://api.github.com/repos/Wikia/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/app/teams","hooks_url":"https://api.github.com/repos/Wikia/app/hooks","issue_events_url":"https://api.github.com/repos/Wikia/app/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/app/events","assignees_url":"https://api.github.com/repos/Wikia/app/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/app/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/app/tags","blobs_url":"https://api.github.com/repos/Wikia/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/app/languages","stargazers_url":"https://api.github.com/repos/Wikia/app/stargazers","contributors_url":"https://api.github.com/repos/Wikia/app/contributors","subscribers_url":"https://api.github.com/repos/Wikia/app/subscribers","subscription_url":"https://api.github.com/repos/Wikia/app/subscription","commits_url":"https://api.github.com/repos/Wikia/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/app/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/app/merges","archive_url":"https://api.github.com/repos/Wikia/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/app/downloads","issues_url":"https://api.github.com/repos/Wikia/app/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/app/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/app/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/app/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/app/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/app/deployments","created_at":"2012-08-23T20:55:58Z","updated_at":"2016-07-20T20:14:50Z","pushed_at":"2016-07-25T15:09:56Z","git_url":"git://github.com/Wikia/app.git","ssh_url":"git@github.com:Wikia/app.git","clone_url":"https://github.com/Wikia/app.git","svn_url":"https://github.com/Wikia/app","homepage":"http://dev.wikia.com","size":2325821,"stargazers_count":101,"watchers_count":101,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"open_issues_count":112,"forks":82,"open_issues":112,"watchers":101,"default_branch":"dev"}},"base":{"label":"Wikia:dev","ref":"dev","sha":"d0e7c0200202618e9439e02b8275ecb01d4b59f7","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":5532313,"name":"app","full_name":"Wikia/app","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/app","description":"Wikia Application Code","fork":false,"url":"https://api.github.com/repos/Wikia/app","forks_url":"https://api.github.com/repos/Wikia/app/forks","keys_url":"https://api.github.com/repos/Wikia/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/app/teams","hooks_url":"https://api.github.com/repos/Wikia/app/hooks","issue_events_url":"https://api.github.com/repos/Wikia/app/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/app/events","assignees_url":"https://api.github.com/repos/Wikia/app/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/app/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/app/tags","blobs_url":"https://api.github.com/repos/Wikia/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/app/languages","stargazers_url":"https://api.github.com/repos/Wikia/app/stargazers","contributors_url":"https://api.github.com/repos/Wikia/app/contributors","subscribers_url":"https://api.github.com/repos/Wikia/app/subscribers","subscription_url":"https://api.github.com/repos/Wikia/app/subscription","commits_url":"https://api.github.com/repos/Wikia/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/app/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/app/merges","archive_url":"https://api.github.com/repos/Wikia/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/app/downloads","issues_url":"https://api.github.com/repos/Wikia/app/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/app/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/app/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/app/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/app/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/app/deployments","created_at":"2012-08-23T20:55:58Z","updated_at":"2016-07-20T20:14:50Z","pushed_at":"2016-07-25T15:09:56Z","git_url":"git://github.com/Wikia/app.git","ssh_url":"git@github.com:Wikia/app.git","clone_url":"https://github.com/Wikia/app.git","svn_url":"https://github.com/Wikia/app","homepage":"http://dev.wikia.com","size":2325821,"stargazers_count":101,"watchers_count":101,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"open_issues_count":112,"forks":82,"open_issues":112,"watchers":101,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/app/pulls/10847"},"html":{"href":"https://github.com/Wikia/app/pull/10847"},"issue":{"href":"https://api.github.com/repos/Wikia/app/issues/10847"},"comments":{"href":"https://api.github.com/repos/Wikia/app/issues/10847/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/app/pulls/10847/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/app/pulls/10847/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/app/statuses/43c8fc44abea257c7212777916c932ed5f8d2df7"}}}}
{"actor":{"display_login":"bognix"}}