{"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/assets-frontend/pulls/comments/56839488","id":56839488,"diff_hunk":"@@ -1,33 +1,39 @@\n require('jquery');\n \n-module.exports = function() {\n+module.exports = function () {\n   var $dynamicForm = $('form[data-dynamic-form]');\n-\n-  $dynamicForm.find('*[data-dynamic-fields-hide=\"true\"]').each(function() {\n-    if ($(this).prop('checked')) {\n-      var $toggledField = $('.data-' + $(this).data('dynamic-fields'));\n-      $toggledField.addClass('js-hidden');\n-    }\n-  });\n-\n-  $dynamicForm.on('click', '*[data-dynamic-fields]', function() {\n-    var $toggledField = $('.data-' + $(this).data('dynamic-fields'));\n-    if ($(this).data('dynamic-fields-hide')) {\n-      if ($(this).attr('type') === 'checkbox') {\n-        $(this).data('dynamic-fields-hide', false);\n+   $dynamicForm.find('*[data-dynamic-fields-hide=\"true\"]').each(function () {\n+      if ($(this).prop('checked')) {\n+          var $toggledField = $('.data-' + $(this).data('dynamic-fields'));\n+          $toggledField.addClass('js-hidden');\n       }\n-\n-      $toggledField.addClass('js-hidden');\n-      $toggledField.find(':text').val('');\n-      $toggledField.find(':checked').prop('checked', false);\n-      $toggledField.find('*[data-default]').prop('checked', true);\n-    } else {\n-      if ($(this).attr('type') === 'checkbox') {\n-        $(this).data('dynamic-fields-hide', true);\n+      $('.data-' + $(this).data('nested-children')).each(function () {","path":"assets/javascripts/modules/toggleDynamicFormFields.js","position":32,"original_position":32,"commit_id":"d8f801e5f2638dd97747c798a422a7cf0a9cc82e","original_commit_id":"d8f801e5f2638dd97747c798a422a7cf0a9cc82e","user":{"login":"feedmypixel","id":2305016,"avatar_url":"https://avatars.githubusercontent.com/u/2305016?v=3","gravatar_id":"","url":"https://api.github.com/users/feedmypixel","html_url":"https://github.com/feedmypixel","followers_url":"https://api.github.com/users/feedmypixel/followers","following_url":"https://api.github.com/users/feedmypixel/following{/other_user}","gists_url":"https://api.github.com/users/feedmypixel/gists{/gist_id}","starred_url":"https://api.github.com/users/feedmypixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedmypixel/subscriptions","organizations_url":"https://api.github.com/users/feedmypixel/orgs","repos_url":"https://api.github.com/users/feedmypixel/repos","events_url":"https://api.github.com/users/feedmypixel/events{/privacy}","received_events_url":"https://api.github.com/users/feedmypixel/received_events","type":"User","site_admin":false},"body":"there is no need for the data attribute `nested-children` here. You can use the `$toggledField` variable, you will need to define it outside of the checked if conditional","created_at":"2016-03-21T15:18:09Z","updated_at":"2016-03-21T15:18:09Z","html_url":"https://github.com/hmrc/assets-frontend/pull/460#discussion_r56839488","pull_request_url":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460","_links":{"self":{"href":"https://api.github.com/repos/hmrc/assets-frontend/pulls/comments/56839488"},"html":{"href":"https://github.com/hmrc/assets-frontend/pull/460#discussion_r56839488"},"pull_request":{"href":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460"}}},"pull_request":{"url":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460","id":63241738,"html_url":"https://github.com/hmrc/assets-frontend/pull/460","diff_url":"https://github.com/hmrc/assets-frontend/pull/460.diff","patch_url":"https://github.com/hmrc/assets-frontend/pull/460.patch","issue_url":"https://api.github.com/repos/hmrc/assets-frontend/issues/460","number":460,"state":"open","locked":false,"title":"Update toggleDynamicFormFields.js","user":{"login":"Muhammad-Ali-Ahmad","id":17907161,"avatar_url":"https://avatars.githubusercontent.com/u/17907161?v=3","gravatar_id":"","url":"https://api.github.com/users/Muhammad-Ali-Ahmad","html_url":"https://github.com/Muhammad-Ali-Ahmad","followers_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/followers","following_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/following{/other_user}","gists_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/subscriptions","organizations_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/orgs","repos_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/repos","events_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/events{/privacy}","received_events_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/received_events","type":"User","site_admin":false},"body":"# Update Toggle Dynamic Fields\r\n\r\nLine 10-14 added so when page is loaded, if there are errors or if there are values in fields then the scala html template doesn't add js-hidden class so we check and if thats the case then reset the checkbox dynamic-field-hide state to true so when we click it hides the relevant fields.\r\n\r\nLine 26-30 added so when \"No\" (dynamic-fields-hide) is clicked and it is hiding the fields then find the nested children elements/divs, remove the selected class and change checkbox state and also hide the divs. This is to reset the state so if user clicks no then they get default/clean screen and options.\r\n\r\n\r\n### Example (Image 1)\r\n\r\nImage 1 reflects the change on line 26-30. If you click no, it removes selected class, resets the state of the checkbox (dynamic-field-hide) and also hides the parent div of the section.\r\n\r\n![income1](https://cloud.githubusercontent.com/assets/17907161/13876502/a9743b4e-ecfc-11e5-8305-9d01a86a9dc1.gif)\r\n\r\n\r\n### Example (Image 2 & 3)\r\nImage 2 and 3 reflects the change on line 10-14. So if you get error and page reloads, the code checks if the sections are not hidden and if so, it resets the state of the checkboxs so if you uncheck, it hides the section. \r\nSimilarly if you go to next page then go back it does the same thing - if the section is not hidden then reset checkbox state.\r\n\r\n### Example (Image 2)\r\n![income2](https://cloud.githubusercontent.com/assets/17907161/13876501/a972089c-ecfc-11e5-867f-577967b6bdd0.gif)\r\n\r\n### Example (Image 3)\r\n![income3](https://cloud.githubusercontent.com/assets/17907161/13876500/a964f206-ecfc-11e5-9078-b701f3b1a638.gif)\r\n\r\n### HTML Markup\r\n```\r\n<fieldset class=\"form-group inline\" id=\"selection\">\r\n   <label for=\"selection-true\" class=\"block-label\">\r\n       Yes\r\n       <input type=\"radio\" id=\"selection-true\" value=\"true\" data-nested-children=\"income-options-nested-children\" data-dynamic-fields=\"income-options-nested\" data-dynamic-fields-hide=\"false\">\r\n   </label>\r\n   <label for=\"selection-false\" class=\"block-label\">\r\n       No \r\n       <input type=\"radio\" id=\"selection-false\" value=\"false\" data-nested-children=\"income-options-nested-children\" data-dynamic-fields=\"income-options-nested\" data-dynamic-fields-hide=\"true\">\r\n   </label>\r\n\r\n   <div class=\"data-income-options-nested panel-indent form-group\">\r\n      <fieldset class=\"inline\">\r\n         <legend class=\"bold-small\">\r\n            Which of these is likely to change?\r\n         </legend>\r\n         <span class=\"form-hint\">\r\n            Select all that apply\r\n         </span>\r\n      </fieldset>\r\n      <div class=\"data-income-options-nested-children\">\r\n         <label for=\"employment_selection\" class=\"block-label add-focus\">\r\n            <span class=\"\">Employment</span>\r\n            <input type=\"checkbox\" id=\"employment_selection\" value=\"true\" data-dynamic-fields-hide=\"false\" data-dynamic-fields=\"employment-nested\">\r\n         </label>\r\n         <div class=\"data-employment-nested panel-indent js-hidden\">\r\n            <div class=\"form-field\">\r\n               <label for=\"employment-income\" class=\"form-label\" aria-hidden=\"false\">\r\n                    <span class=\"bold-small\">\r\n                        What will your income be?\r\n                    </span>\r\n               </label>\r\n               <span class=\"form-field--inline input-sibling-text-left\" id=\"income-poundSymbol\">£</span>\r\n               <input type=\"text\" class=\"form-control input--small form-field--inline-spaced-left \" aria-labeledby=\"employmentIncome-error-summary\" autocomplete=\"off\" id=\"employment-income\" value=\"\">\r\n            </div>\r\n            <div class=\"form-group\">\r\n               <label for=\"employment-pension\" class=\"form-label\" aria-hidden=\"false\">\r\n                    <span class=\"bold-small\">\r\n                        If your pension contributions are likely to change, tell us how much you'll pay.\r\n                    </span>\r\n                    <span class=\"form-hint\">\r\n                        Optional, only include if through your payroll\r\n                    </span>\r\n               </label>\r\n               <span class=\"form-field--inline input-sibling-text-left\" id=\"pension-poundSymbol\">£</span>\r\n               <input type=\"text\" class=\"form-control \r\n                  input--small form-field--inline-spaced-left form-field--inline-spaced-right \" aria-labeledby=\"employmentPension-error-summary\" autocomplete=\"off\" id=\"employment-pension\" value=\"\">\r\n               <span class=\"form-field--inline input-sibling-text-right\" id=\"pension-month\">a month</span>\r\n            </div>\r\n         </div>\r\n      </div>\r\n      <div class=\"data-income-options-nested-children\">\r\n         <label for=\"other_selection\" class=\"block-label\">\r\n            <span class=\"\">Other income (not employment or benefits)</span>\r\n            <input type=\"checkbox\" id=\"other_selection\" value=\"true\" data-dynamic-fields-hide=\"false\" data-dynamic-fields=\"other-nested\">\r\n         </label>\r\n         <div class=\"data-other-nested js-hidden  panel-indent\">\r\n            <div class=\"form-group\">\r\n               <label for=\"other-income\" class=\"form-label\" aria-hidden=\"false\">\r\n                    <span class=\"bold-small\">\r\n                        How much will your other income be?\r\n                    </span>\r\n                    <span class=\"form-hint\">\r\n                        This could be from investments, rental income, interest on savings or foreign income\r\n                    </span>\r\n               </label>\r\n                <span class=\"form-field--inline input-sibling-text-left\" id=\"other-poundSymbol\">£</span>\r\n               <input type=\"text\" class=\"form-control input--small form-field--inline-spaced-left\" aria-labeledby=\"otherIncome-error-summary\" autocomplete=\"off\" id=\"other-income\" value=\"\">\r\n            </div>\r\n         </div>\r\n      </div>\r\n      <div class=\"data-income-options-nested-children\">\r\n         <label for=\"benefits_selection\" class=\"block-label\">\r\n         <span class=\"\">Benefits</span>\r\n         <input type=\"checkbox\" id=\"benefits_selection\" value=\"true\" data-dynamic-fields-hide=\"false\" data-dynamic-fields=\"benefits-nested\">\r\n         </label>\r\n         <div class=\"data-benefits-nested\r\n            js-hidden  panel-indent \">\r\n            <div class=\"form-group  \r\n               \">\r\n               <label for=\"benefits-amount\" class=\"form-label\" aria-hidden=\"false\">\r\n                   <span class=\"bold-small\">\r\n                        What's the total amount you'll get?\r\n                   </span>\r\n               </label>\r\n               <span class=\"form-field--inline input-sibling-text-left\" id=\"benefits-poundSymbol\">£</span>\r\n                    <input type=\"text\" class=\"form-control input--small form-field--inline-spaced-left form-field--inline-spaced-right \" aria-labeledby=\"benefitsAmount-error-summary\" autocomplete=\"off\" id=\"benefits-amount\" value=\"\">\r\n                    <span class=\"form-field--inline input-sibling-text-right\" id=\"benefits-month\">a month</span>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n</fieldset>\r\n```\r\n","created_at":"2016-03-17T15:30:37Z","updated_at":"2016-03-21T15:18:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffe5ceed5806c4a2ffc016cebd74d7f0dfd5b9c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460/commits","review_comments_url":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460/comments","review_comment_url":"https://api.github.com/repos/hmrc/assets-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/assets-frontend/issues/460/comments","statuses_url":"https://api.github.com/repos/hmrc/assets-frontend/statuses/d8f801e5f2638dd97747c798a422a7cf0a9cc82e","head":{"label":"Muhammad-Ali-Ahmad:master","ref":"master","sha":"d8f801e5f2638dd97747c798a422a7cf0a9cc82e","user":{"login":"Muhammad-Ali-Ahmad","id":17907161,"avatar_url":"https://avatars.githubusercontent.com/u/17907161?v=3","gravatar_id":"","url":"https://api.github.com/users/Muhammad-Ali-Ahmad","html_url":"https://github.com/Muhammad-Ali-Ahmad","followers_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/followers","following_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/following{/other_user}","gists_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/subscriptions","organizations_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/orgs","repos_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/repos","events_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/events{/privacy}","received_events_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/received_events","type":"User","site_admin":false},"repo":{"id":54125466,"name":"assets-frontend","full_name":"Muhammad-Ali-Ahmad/assets-frontend","owner":{"login":"Muhammad-Ali-Ahmad","id":17907161,"avatar_url":"https://avatars.githubusercontent.com/u/17907161?v=3","gravatar_id":"","url":"https://api.github.com/users/Muhammad-Ali-Ahmad","html_url":"https://github.com/Muhammad-Ali-Ahmad","followers_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/followers","following_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/following{/other_user}","gists_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/subscriptions","organizations_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/orgs","repos_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/repos","events_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/events{/privacy}","received_events_url":"https://api.github.com/users/Muhammad-Ali-Ahmad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Muhammad-Ali-Ahmad/assets-frontend","description":"Shared static assets for frontends on the Multichannel Digital Tax Platform","fork":true,"url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend","forks_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/forks","keys_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/teams","hooks_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/hooks","issue_events_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/events","assignees_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/tags","blobs_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/languages","stargazers_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/stargazers","contributors_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/contributors","subscribers_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/subscribers","subscription_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/subscription","commits_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/merges","archive_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/downloads","issues_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/labels{/name}","releases_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/Muhammad-Ali-Ahmad/assets-frontend/deployments","created_at":"2016-03-17T14:41:40Z","updated_at":"2016-03-17T14:41:45Z","pushed_at":"2016-03-17T15:00:58Z","git_url":"git://github.com/Muhammad-Ali-Ahmad/assets-frontend.git","ssh_url":"git@github.com:Muhammad-Ali-Ahmad/assets-frontend.git","clone_url":"https://github.com/Muhammad-Ali-Ahmad/assets-frontend.git","svn_url":"https://github.com/Muhammad-Ali-Ahmad/assets-frontend","homepage":"","size":12946,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"848dae2b2bcc0f555d690852b6df9fbba8d9e068","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":26324661,"name":"assets-frontend","full_name":"hmrc/assets-frontend","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/assets-frontend","description":"Shared static assets for frontends on the Multichannel Digital Tax Platform","fork":false,"url":"https://api.github.com/repos/hmrc/assets-frontend","forks_url":"https://api.github.com/repos/hmrc/assets-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/assets-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/assets-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/assets-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/assets-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/assets-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/assets-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/assets-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/assets-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/assets-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/assets-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/assets-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/assets-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/assets-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/assets-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/assets-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/assets-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/assets-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/assets-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/assets-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/assets-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/assets-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/assets-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/assets-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/assets-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/assets-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/assets-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/assets-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/assets-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/assets-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/assets-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/assets-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/assets-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/assets-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/assets-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/assets-frontend/deployments","created_at":"2014-11-07T15:11:39Z","updated_at":"2016-03-18T16:11:49Z","pushed_at":"2016-03-21T14:24:40Z","git_url":"git://github.com/hmrc/assets-frontend.git","ssh_url":"git@github.com:hmrc/assets-frontend.git","clone_url":"https://github.com/hmrc/assets-frontend.git","svn_url":"https://github.com/hmrc/assets-frontend","homepage":"","size":16179,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"open_issues_count":43,"forks":34,"open_issues":43,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460"},"html":{"href":"https://github.com/hmrc/assets-frontend/pull/460"},"issue":{"href":"https://api.github.com/repos/hmrc/assets-frontend/issues/460"},"comments":{"href":"https://api.github.com/repos/hmrc/assets-frontend/issues/460/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/assets-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/assets-frontend/pulls/460/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/assets-frontend/statuses/d8f801e5f2638dd97747c798a422a7cf0a9cc82e"}}}}