{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/ad-engine/pulls/comments/218411715","pull_request_review_id":156341496,"id":218411715,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODQxMTcxNQ==","diff_hunk":"@@ -0,0 +1,130 @@\n+import { context, utils } from '@wikia/ad-engine';\n+import { universalAdPackage } from './universal-ad-package';\n+import { VideoSettings } from './video-settings';\n+import { SLIDE_OUT_TIME } from './constants';\n+import * as classicTheme from './themes/classic';\n+import * as hiviTheme from './themes/hivi';\n+\n+export class BigFancyAdTwitch {\n+\tstatic getName() {\n+\t\treturn 'bfat';\n+\t}\n+\n+\tstatic getDefaultConfig() {\n+\t\treturn {\n+\t\t\tdesktopNavbarWrapperSelector: '.wds-global-navigation-wrapper',\n+\t\t\tmobileNavbarWrapperSelector: '.global-navigation-mobile-wrapper',\n+\t\t\tmainContainer: document.body,\n+\t\t\thandleNavbar: false,\n+\t\t\tautoPlayAllowed: true,\n+\t\t\tdefaultStateAllowed: true,\n+\t\t\tfullscreenAllowed: true,\n+\t\t\tstickinessAllowed: true,\n+\t\t\tslotSibling: '.topic-header',\n+\t\t\tslotsToEnable: [\n+\t\t\t\t'bottom_leaderboard',\n+\t\t\t\t'incontent_boxad'\n+\t\t\t],\n+\t\t\tonInit: () => {},\n+\t\t\tonBeforeStickBfaaCallback: () => {},\n+\t\t\tonAfterStickBfaaCallback: () => {},\n+\t\t\tonBeforeUnstickBfaaCallback: () => {},\n+\t\t\tonAfterUnstickBfaaCallback: () => {},\n+\t\t\tmoveNavbar(offset, time = SLIDE_OUT_TIME) {\n+\t\t\t\tconst navbarElement = document.querySelector('body > nav.navigation');\n+\n+\t\t\t\tif (navbarElement) {\n+\t\t\t\t\tnavbarElement.style.transition = (\n+\t\t\t\t\t\toffset ? '' : `top ${time}ms ${universalAdPackage.CSS_TIMING_EASE_IN_CUBIC}`\n+\t\t\t\t\t);\n+\t\t\t\t\tnavbarElement.style.top = (offset ? `${offset}px` : '');\n+\t\t\t\t}\n+\t\t\t}\n+\t\t};\n+\t}\n+\n+\t/**\n+\t\t * Constructor\n+\t\t *\n+\t\t * @param {object} adSlot\n+\t\t */\n+\tconstructor(adSlot) {\n+\t\tthis.adSlot = adSlot;\n+\t\tthis.config = context.get('templates.bfat');\n+\t\tthis.container = document.getElementById(this.adSlot.getSlotName());\n+\t\tthis.videoSettings = null;\n+\t\tthis.theme = null;\n+\t}\n+\n+\t/**\n+\t\t * Initializes the BFAT unit","path":"src/ad-products/templates/uap/big-fancy-ad-twitch.js","position":60,"original_position":60,"commit_id":"c342bde619dee28eea2605e5eee373929003b2ac","original_commit_id":"c342bde619dee28eea2605e5eee373929003b2ac","user":{"login":"fraszczakszymon","id":2042649,"node_id":"MDQ6VXNlcjIwNDI2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2042649?v=4","gravatar_id":"","url":"https://api.github.com/users/fraszczakszymon","html_url":"https://github.com/fraszczakszymon","followers_url":"https://api.github.com/users/fraszczakszymon/followers","following_url":"https://api.github.com/users/fraszczakszymon/following{/other_user}","gists_url":"https://api.github.com/users/fraszczakszymon/gists{/gist_id}","starred_url":"https://api.github.com/users/fraszczakszymon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraszczakszymon/subscriptions","organizations_url":"https://api.github.com/users/fraszczakszymon/orgs","repos_url":"https://api.github.com/users/fraszczakszymon/repos","events_url":"https://api.github.com/users/fraszczakszymon/events{/privacy}","received_events_url":"https://api.github.com/users/fraszczakszymon/received_events","type":"User","site_admin":false},"body":"Something is wrong with indents :)","created_at":"2018-09-18T12:32:24Z","updated_at":"2018-09-18T12:32:24Z","html_url":"https://github.com/Wikia/ad-engine/pull/170#discussion_r218411715","pull_request_url":"https://api.github.com/repos/Wikia/ad-engine/pulls/170","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Wikia/ad-engine/pulls/comments/218411715"},"html":{"href":"https://github.com/Wikia/ad-engine/pull/170#discussion_r218411715"},"pull_request":{"href":"https://api.github.com/repos/Wikia/ad-engine/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/ad-engine/pulls/170","id":213906075,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzOTA2MDc1","html_url":"https://github.com/Wikia/ad-engine/pull/170","diff_url":"https://github.com/Wikia/ad-engine/pull/170.diff","patch_url":"https://github.com/Wikia/ad-engine/pull/170.patch","issue_url":"https://api.github.com/repos/Wikia/ad-engine/issues/170","number":170,"state":"open","locked":false,"title":"ADEN-7633 UAP:Twitch","user":{"login":"pnather","id":42938688,"node_id":"MDQ6VXNlcjQyOTM4Njg4","avatar_url":"https://avatars2.githubusercontent.com/u/42938688?v=4","gravatar_id":"","url":"https://api.github.com/users/pnather","html_url":"https://github.com/pnather","followers_url":"https://api.github.com/users/pnather/followers","following_url":"https://api.github.com/users/pnather/following{/other_user}","gists_url":"https://api.github.com/users/pnather/gists{/gist_id}","starred_url":"https://api.github.com/users/pnather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnather/subscriptions","organizations_url":"https://api.github.com/users/pnather/orgs","repos_url":"https://api.github.com/users/pnather/repos","events_url":"https://api.github.com/users/pnather/events{/privacy}","received_events_url":"https://api.github.com/users/pnather/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-07T12:00:26Z","updated_at":"2018-09-18T12:32:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2c1b94ee3fc459f096f7754f54fa1c747049408","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/ad-engine/pulls/170/commits","review_comments_url":"https://api.github.com/repos/Wikia/ad-engine/pulls/170/comments","review_comment_url":"https://api.github.com/repos/Wikia/ad-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/ad-engine/issues/170/comments","statuses_url":"https://api.github.com/repos/Wikia/ad-engine/statuses/c342bde619dee28eea2605e5eee373929003b2ac","head":{"label":"Wikia:ADEN-7633","ref":"ADEN-7633","sha":"c342bde619dee28eea2605e5eee373929003b2ac","user":{"login":"Wikia","id":1171011,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzEwMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1171011?v=4","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":61872387,"node_id":"MDEwOlJlcG9zaXRvcnk2MTg3MjM4Nw==","name":"ad-engine","full_name":"Wikia/ad-engine","private":false,"owner":{"login":"Wikia","id":1171011,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzEwMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1171011?v=4","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},"html_url":"https://github.com/Wikia/ad-engine","description":null,"fork":false,"url":"https://api.github.com/repos/Wikia/ad-engine","forks_url":"https://api.github.com/repos/Wikia/ad-engine/forks","keys_url":"https://api.github.com/repos/Wikia/ad-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/ad-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/ad-engine/teams","hooks_url":"https://api.github.com/repos/Wikia/ad-engine/hooks","issue_events_url":"https://api.github.com/repos/Wikia/ad-engine/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/ad-engine/events","assignees_url":"https://api.github.com/repos/Wikia/ad-engine/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/ad-engine/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/ad-engine/tags","blobs_url":"https://api.github.com/repos/Wikia/ad-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/ad-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/ad-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/ad-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/ad-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/ad-engine/languages","stargazers_url":"https://api.github.com/repos/Wikia/ad-engine/stargazers","contributors_url":"https://api.github.com/repos/Wikia/ad-engine/contributors","subscribers_url":"https://api.github.com/repos/Wikia/ad-engine/subscribers","subscription_url":"https://api.github.com/repos/Wikia/ad-engine/subscription","commits_url":"https://api.github.com/repos/Wikia/ad-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/ad-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/ad-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/ad-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/ad-engine/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/ad-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/ad-engine/merges","archive_url":"https://api.github.com/repos/Wikia/ad-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/ad-engine/downloads","issues_url":"https://api.github.com/repos/Wikia/ad-engine/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/ad-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/ad-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/ad-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/ad-engine/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/ad-engine/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/ad-engine/deployments","created_at":"2016-06-24T09:11:48Z","updated_at":"2018-09-17T07:46:21Z","pushed_at":"2018-09-18T12:27:50Z","git_url":"git://github.com/Wikia/ad-engine.git","ssh_url":"git@github.com:Wikia/ad-engine.git","clone_url":"https://github.com/Wikia/ad-engine.git","svn_url":"https://github.com/Wikia/ad-engine","homepage":null,"size":5506,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":6,"default_branch":"dev"}},"base":{"label":"Wikia:dev","ref":"dev","sha":"79e7a6423dd99fc5e3e08ea86982a16d764c68ee","user":{"login":"Wikia","id":1171011,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzEwMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1171011?v=4","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":61872387,"node_id":"MDEwOlJlcG9zaXRvcnk2MTg3MjM4Nw==","name":"ad-engine","full_name":"Wikia/ad-engine","private":false,"owner":{"login":"Wikia","id":1171011,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzEwMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1171011?v=4","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},"html_url":"https://github.com/Wikia/ad-engine","description":null,"fork":false,"url":"https://api.github.com/repos/Wikia/ad-engine","forks_url":"https://api.github.com/repos/Wikia/ad-engine/forks","keys_url":"https://api.github.com/repos/Wikia/ad-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/ad-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/ad-engine/teams","hooks_url":"https://api.github.com/repos/Wikia/ad-engine/hooks","issue_events_url":"https://api.github.com/repos/Wikia/ad-engine/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/ad-engine/events","assignees_url":"https://api.github.com/repos/Wikia/ad-engine/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/ad-engine/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/ad-engine/tags","blobs_url":"https://api.github.com/repos/Wikia/ad-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/ad-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/ad-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/ad-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/ad-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/ad-engine/languages","stargazers_url":"https://api.github.com/repos/Wikia/ad-engine/stargazers","contributors_url":"https://api.github.com/repos/Wikia/ad-engine/contributors","subscribers_url":"https://api.github.com/repos/Wikia/ad-engine/subscribers","subscription_url":"https://api.github.com/repos/Wikia/ad-engine/subscription","commits_url":"https://api.github.com/repos/Wikia/ad-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/ad-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/ad-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/ad-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/ad-engine/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/ad-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/ad-engine/merges","archive_url":"https://api.github.com/repos/Wikia/ad-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/ad-engine/downloads","issues_url":"https://api.github.com/repos/Wikia/ad-engine/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/ad-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/ad-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/ad-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/ad-engine/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/ad-engine/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/ad-engine/deployments","created_at":"2016-06-24T09:11:48Z","updated_at":"2018-09-17T07:46:21Z","pushed_at":"2018-09-18T12:27:50Z","git_url":"git://github.com/Wikia/ad-engine.git","ssh_url":"git@github.com:Wikia/ad-engine.git","clone_url":"https://github.com/Wikia/ad-engine.git","svn_url":"https://github.com/Wikia/ad-engine","homepage":null,"size":5506,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":6,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/ad-engine/pulls/170"},"html":{"href":"https://github.com/Wikia/ad-engine/pull/170"},"issue":{"href":"https://api.github.com/repos/Wikia/ad-engine/issues/170"},"comments":{"href":"https://api.github.com/repos/Wikia/ad-engine/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/ad-engine/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/ad-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/ad-engine/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/ad-engine/statuses/c342bde619dee28eea2605e5eee373929003b2ac"}},"author_association":"NONE"}}
{"actor":{"display_login":"fraszczakszymon"}}