{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/n-ui/pulls/comments/69903022","id":69903022,"diff_hunk":"@@ -1,45 +1,9 @@\n-\"use strict\";\n-const expander = require('../expander');\n-const grid = require('../grid');\n+'use strict';\n \n-const expanderOpts = {\n-\ttoggleSelector:'.o-expander__toggle',\n-\ttoggleState: 'aria'\n-};\n-\n-function createExpander(name, expanders){\n-\tlet selector = `.js-expander-${name}`;\n-\tlet el = document.querySelector(selector);\n-\tel.classList.add('o-expander--active');\n-\texpanders[name] = expander.init(el, expanderOpts);\n-}\n-\n-function destroyExpander(name, expanders){\n-\tlet selector = `.js-expander-${name}`;\n-\tlet el = document.querySelector(selector);\n-\tel.classList.remove('o-expander--active');\n-\tif(expanders[name]){\n-\t\texpanders[name].destroy();\n-\t\tdelete expanders[name];\n+function init (flags) {\n+\tif (flags.get('newFooter')) {\n+\t\trequire('o-footer').init();\n \t}","path":"footer/index.js","position":28,"original_position":28,"commit_id":"e5b790978b27563cca6503f7eb358686877c1213","original_commit_id":"e5b790978b27563cca6503f7eb358686877c1213","user":{"login":"leggsimon","id":11544418,"avatar_url":"https://avatars.githubusercontent.com/u/11544418?v=3","gravatar_id":"","url":"https://api.github.com/users/leggsimon","html_url":"https://github.com/leggsimon","followers_url":"https://api.github.com/users/leggsimon/followers","following_url":"https://api.github.com/users/leggsimon/following{/other_user}","gists_url":"https://api.github.com/users/leggsimon/gists{/gist_id}","starred_url":"https://api.github.com/users/leggsimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leggsimon/subscriptions","organizations_url":"https://api.github.com/users/leggsimon/orgs","repos_url":"https://api.github.com/users/leggsimon/repos","events_url":"https://api.github.com/users/leggsimon/events{/privacy}","received_events_url":"https://api.github.com/users/leggsimon/received_events","type":"User","site_admin":false},"body":"Do we need to fall back if this flag is off for the moment?","created_at":"2016-07-07T13:12:30Z","updated_at":"2016-07-07T13:12:30Z","html_url":"https://github.com/Financial-Times/n-ui/pull/205#discussion_r69903022","pull_request_url":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/n-ui/pulls/comments/69903022"},"html":{"href":"https://github.com/Financial-Times/n-ui/pull/205#discussion_r69903022"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205","id":76466946,"html_url":"https://github.com/Financial-Times/n-ui/pull/205","diff_url":"https://github.com/Financial-Times/n-ui/pull/205.diff","patch_url":"https://github.com/Financial-Times/n-ui/pull/205.patch","issue_url":"https://api.github.com/repos/Financial-Times/n-ui/issues/205","number":205,"state":"open","locked":false,"title":"Implement o-footer within n-ui","user":{"login":"i-like-robots","id":271645,"avatar_url":"https://avatars.githubusercontent.com/u/271645?v=3","gravatar_id":"","url":"https://api.github.com/users/i-like-robots","html_url":"https://github.com/i-like-robots","followers_url":"https://api.github.com/users/i-like-robots/followers","following_url":"https://api.github.com/users/i-like-robots/following{/other_user}","gists_url":"https://api.github.com/users/i-like-robots/gists{/gist_id}","starred_url":"https://api.github.com/users/i-like-robots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-like-robots/subscriptions","organizations_url":"https://api.github.com/users/i-like-robots/orgs","repos_url":"https://api.github.com/users/i-like-robots/repos","events_url":"https://api.github.com/users/i-like-robots/events{/privacy}","received_events_url":"https://api.github.com/users/i-like-robots/received_events","type":"User","site_admin":false},"body":"Implements the upcoming V5 version of o-footer https://github.com/Financial-Times/o-footer/pull/54\r\n\r\nRequires https://github.com/Financial-Times/n-navigation/pull/152","created_at":"2016-07-06T17:05:47Z","updated_at":"2016-07-07T13:12:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0aab8710245cc3c1b8cc38881953ae790815ea1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/n-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/n-ui/issues/205/comments","statuses_url":"https://api.github.com/repos/Financial-Times/n-ui/statuses/e5b790978b27563cca6503f7eb358686877c1213","head":{"label":"Financial-Times:matth/o-footer","ref":"matth/o-footer","sha":"e5b790978b27563cca6503f7eb358686877c1213","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":56768327,"name":"n-ui","full_name":"Financial-Times/n-ui","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-ui","description":"An experiment bunching some of Next's client-side code into a single repository","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-ui","forks_url":"https://api.github.com/repos/Financial-Times/n-ui/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-ui/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-ui/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-ui/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-ui/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-ui/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-ui/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-ui/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-ui/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-ui/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-ui/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-ui/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-ui/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-ui/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-ui/deployments","created_at":"2016-04-21T11:30:29Z","updated_at":"2016-06-28T18:42:23Z","pushed_at":"2016-07-07T13:12:10Z","git_url":"git://github.com/Financial-Times/n-ui.git","ssh_url":"git@github.com:Financial-Times/n-ui.git","clone_url":"https://github.com/Financial-Times/n-ui.git","svn_url":"https://github.com/Financial-Times/n-ui","homepage":"https://github.com/Financial-Times/n-ui/wiki","size":693,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":1,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"8eb0973436742dc4e00eb6ffd4f417b2a5d954be","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":56768327,"name":"n-ui","full_name":"Financial-Times/n-ui","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-ui","description":"An experiment bunching some of Next's client-side code into a single repository","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-ui","forks_url":"https://api.github.com/repos/Financial-Times/n-ui/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-ui/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-ui/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-ui/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-ui/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-ui/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-ui/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-ui/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-ui/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-ui/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-ui/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-ui/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-ui/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-ui/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-ui/deployments","created_at":"2016-04-21T11:30:29Z","updated_at":"2016-06-28T18:42:23Z","pushed_at":"2016-07-07T13:12:10Z","git_url":"git://github.com/Financial-Times/n-ui.git","ssh_url":"git@github.com:Financial-Times/n-ui.git","clone_url":"https://github.com/Financial-Times/n-ui.git","svn_url":"https://github.com/Financial-Times/n-ui","homepage":"https://github.com/Financial-Times/n-ui/wiki","size":693,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205"},"html":{"href":"https://github.com/Financial-Times/n-ui/pull/205"},"issue":{"href":"https://api.github.com/repos/Financial-Times/n-ui/issues/205"},"comments":{"href":"https://api.github.com/repos/Financial-Times/n-ui/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/n-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/n-ui/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/n-ui/statuses/e5b790978b27563cca6503f7eb358686877c1213"}}}}
{"actor":{"display_login":"leggsimon"}}