{"action":"created","comment":{"url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/comments/89522036","pull_request_review_id":10061814,"id":89522036,"diff_hunk":"@@ -0,0 +1,112 @@\n+(function () {\n+  \"use strict\"\n+  var root = this;\n+  if(typeof root.GOVUK === 'undefined') { root.GOVUK = {}; }\n+\n+  /*\n+    Cookie methods\n+    ==============\n+\n+    Usage:\n+\n+      Setting a cookie:\n+      GOVUK.cookie('hobnob', 'tasty', { days: 30 });\n+\n+      Reading a cookie:\n+      GOVUK.cookie('hobnob');\n+\n+      Deleting a cookie:\n+      GOVUK.cookie('hobnob', null);\n+  */\n+  GOVUK.cookie = function (name, value, options) {\n+    if(typeof value !== 'undefined'){\n+      if(value === false || value === null) {\n+        return GOVUK.setCookie(name, '', { days: -1 });\n+      } else {\n+        return GOVUK.setCookie(name, value, options);\n+      }\n+    } else {\n+      return GOVUK.getCookie(name);\n+    }\n+  };\n+  GOVUK.setCookie = function (name, value, options) {","path":"demo-ui/public/javascripts/govuk-template.js","position":32,"original_position":32,"commit_id":"a2f8def297b8babc2e69cd449fec9943dda19e57","original_commit_id":"a2f8def297b8babc2e69cd449fec9943dda19e57","user":{"login":"iRhysBradbury","id":15735720,"avatar_url":"https://avatars.githubusercontent.com/u/15735720?v=3","gravatar_id":"","url":"https://api.github.com/users/iRhysBradbury","html_url":"https://github.com/iRhysBradbury","followers_url":"https://api.github.com/users/iRhysBradbury/followers","following_url":"https://api.github.com/users/iRhysBradbury/following{/other_user}","gists_url":"https://api.github.com/users/iRhysBradbury/gists{/gist_id}","starred_url":"https://api.github.com/users/iRhysBradbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iRhysBradbury/subscriptions","organizations_url":"https://api.github.com/users/iRhysBradbury/orgs","repos_url":"https://api.github.com/users/iRhysBradbury/repos","events_url":"https://api.github.com/users/iRhysBradbury/events{/privacy}","received_events_url":"https://api.github.com/users/iRhysBradbury/received_events","type":"User","site_admin":false},"body":"where is this used?","created_at":"2016-11-24T16:03:45Z","updated_at":"2016-11-24T16:10:27Z","html_url":"https://github.com/ONSdigital/address-index-api/pull/24#discussion_r89522036","pull_request_url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/comments/89522036"},"html":{"href":"https://github.com/ONSdigital/address-index-api/pull/24#discussion_r89522036"},"pull_request":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24","id":94845757,"html_url":"https://github.com/ONSdigital/address-index-api/pull/24","diff_url":"https://github.com/ONSdigital/address-index-api/pull/24.diff","patch_url":"https://github.com/ONSdigital/address-index-api/pull/24.patch","issue_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues/24","number":24,"state":"closed","locked":false,"title":"Feature demostart","user":{"login":"RichardSmithONS","id":16820286,"avatar_url":"https://avatars.githubusercontent.com/u/16820286?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardSmithONS","html_url":"https://github.com/RichardSmithONS","followers_url":"https://api.github.com/users/RichardSmithONS/followers","following_url":"https://api.github.com/users/RichardSmithONS/following{/other_user}","gists_url":"https://api.github.com/users/RichardSmithONS/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardSmithONS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardSmithONS/subscriptions","organizations_url":"https://api.github.com/users/RichardSmithONS/orgs","repos_url":"https://api.github.com/users/RichardSmithONS/repos","events_url":"https://api.github.com/users/RichardSmithONS/events{/privacy}","received_events_url":"https://api.github.com/users/RichardSmithONS/received_events","type":"User","site_admin":false},"body":"This is the refactored demoui, containing just the home page and single match input and very little of the old code. It is not yet calling the API. Bootstrap has gone. The GDS css and scripts have been added in at the base, and some CSS is overriden to make it look like the wireframes (for now). Messages are externalized and as a test Welsh is implemeneted ?lang=cy on the query string (may have to referesh twice). The messagesAPI injection caused problems with the tests and Alex helped me fix this.","created_at":"2016-11-22T16:15:16Z","updated_at":"2016-11-24T16:10:27Z","closed_at":"2016-11-24T12:10:04Z","merged_at":"2016-11-24T12:10:04Z","merge_commit_sha":"ffd3bf936ad1bf3f09ef21ac149b285c3a1c8f9a","assignee":{"login":"Mironor","id":480103,"avatar_url":"https://avatars.githubusercontent.com/u/480103?v=3","gravatar_id":"","url":"https://api.github.com/users/Mironor","html_url":"https://github.com/Mironor","followers_url":"https://api.github.com/users/Mironor/followers","following_url":"https://api.github.com/users/Mironor/following{/other_user}","gists_url":"https://api.github.com/users/Mironor/gists{/gist_id}","starred_url":"https://api.github.com/users/Mironor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mironor/subscriptions","organizations_url":"https://api.github.com/users/Mironor/orgs","repos_url":"https://api.github.com/users/Mironor/repos","events_url":"https://api.github.com/users/Mironor/events{/privacy}","received_events_url":"https://api.github.com/users/Mironor/received_events","type":"User","site_admin":false},"assignees":[{"login":"Mironor","id":480103,"avatar_url":"https://avatars.githubusercontent.com/u/480103?v=3","gravatar_id":"","url":"https://api.github.com/users/Mironor","html_url":"https://github.com/Mironor","followers_url":"https://api.github.com/users/Mironor/followers","following_url":"https://api.github.com/users/Mironor/following{/other_user}","gists_url":"https://api.github.com/users/Mironor/gists{/gist_id}","starred_url":"https://api.github.com/users/Mironor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mironor/subscriptions","organizations_url":"https://api.github.com/users/Mironor/orgs","repos_url":"https://api.github.com/users/Mironor/repos","events_url":"https://api.github.com/users/Mironor/events{/privacy}","received_events_url":"https://api.github.com/users/Mironor/received_events","type":"User","site_admin":false},{"login":"iRhysBradbury","id":15735720,"avatar_url":"https://avatars.githubusercontent.com/u/15735720?v=3","gravatar_id":"","url":"https://api.github.com/users/iRhysBradbury","html_url":"https://github.com/iRhysBradbury","followers_url":"https://api.github.com/users/iRhysBradbury/followers","following_url":"https://api.github.com/users/iRhysBradbury/following{/other_user}","gists_url":"https://api.github.com/users/iRhysBradbury/gists{/gist_id}","starred_url":"https://api.github.com/users/iRhysBradbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iRhysBradbury/subscriptions","organizations_url":"https://api.github.com/users/iRhysBradbury/orgs","repos_url":"https://api.github.com/users/iRhysBradbury/repos","events_url":"https://api.github.com/users/iRhysBradbury/events{/privacy}","received_events_url":"https://api.github.com/users/iRhysBradbury/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues/24/comments","statuses_url":"https://api.github.com/repos/ONSdigital/address-index-api/statuses/a2f8def297b8babc2e69cd449fec9943dda19e57","head":{"label":"ONSdigital:feature/demostart","ref":"feature/demostart","sha":"a2f8def297b8babc2e69cd449fec9943dda19e57","user":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":71133472,"name":"address-index-api","full_name":"ONSdigital/address-index-api","owner":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/address-index-api","description":"Address Index is an application which resolves addresses","fork":false,"url":"https://api.github.com/repos/ONSdigital/address-index-api","forks_url":"https://api.github.com/repos/ONSdigital/address-index-api/forks","keys_url":"https://api.github.com/repos/ONSdigital/address-index-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/address-index-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/address-index-api/teams","hooks_url":"https://api.github.com/repos/ONSdigital/address-index-api/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/address-index-api/events","assignees_url":"https://api.github.com/repos/ONSdigital/address-index-api/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/address-index-api/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/address-index-api/tags","blobs_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/address-index-api/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/address-index-api/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/address-index-api/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/address-index-api/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/address-index-api/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/address-index-api/subscription","commits_url":"https://api.github.com/repos/ONSdigital/address-index-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/address-index-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/address-index-api/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/address-index-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/address-index-api/merges","archive_url":"https://api.github.com/repos/ONSdigital/address-index-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/address-index-api/downloads","issues_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/address-index-api/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/address-index-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/address-index-api/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/address-index-api/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/address-index-api/deployments","created_at":"2016-10-17T11:58:35Z","updated_at":"2016-11-21T15:28:19Z","pushed_at":"2016-11-24T14:51:59Z","git_url":"git://github.com/ONSdigital/address-index-api.git","ssh_url":"git@github.com:ONSdigital/address-index-api.git","clone_url":"https://github.com/ONSdigital/address-index-api.git","svn_url":"https://github.com/ONSdigital/address-index-api","homepage":"https://www.ons.gov.uk/","size":791,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"ONSdigital:develop","ref":"develop","sha":"6803bdd7ab9f4811096d845990029f4428fda172","user":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":71133472,"name":"address-index-api","full_name":"ONSdigital/address-index-api","owner":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/address-index-api","description":"Address Index is an application which resolves addresses","fork":false,"url":"https://api.github.com/repos/ONSdigital/address-index-api","forks_url":"https://api.github.com/repos/ONSdigital/address-index-api/forks","keys_url":"https://api.github.com/repos/ONSdigital/address-index-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/address-index-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/address-index-api/teams","hooks_url":"https://api.github.com/repos/ONSdigital/address-index-api/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/address-index-api/events","assignees_url":"https://api.github.com/repos/ONSdigital/address-index-api/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/address-index-api/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/address-index-api/tags","blobs_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/address-index-api/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/address-index-api/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/address-index-api/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/address-index-api/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/address-index-api/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/address-index-api/subscription","commits_url":"https://api.github.com/repos/ONSdigital/address-index-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/address-index-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/address-index-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/address-index-api/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/address-index-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/address-index-api/merges","archive_url":"https://api.github.com/repos/ONSdigital/address-index-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/address-index-api/downloads","issues_url":"https://api.github.com/repos/ONSdigital/address-index-api/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/address-index-api/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/address-index-api/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/address-index-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/address-index-api/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/address-index-api/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/address-index-api/deployments","created_at":"2016-10-17T11:58:35Z","updated_at":"2016-11-21T15:28:19Z","pushed_at":"2016-11-24T14:51:59Z","git_url":"git://github.com/ONSdigital/address-index-api.git","ssh_url":"git@github.com:ONSdigital/address-index-api.git","clone_url":"https://github.com/ONSdigital/address-index-api.git","svn_url":"https://github.com/ONSdigital/address-index-api","homepage":"https://www.ons.gov.uk/","size":791,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24"},"html":{"href":"https://github.com/ONSdigital/address-index-api/pull/24"},"issue":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/issues/24"},"comments":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/address-index-api/statuses/a2f8def297b8babc2e69cd449fec9943dda19e57"}}}}
{"actor":{"display_login":"iRhysBradbury"}}