{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9576","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9576/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9576/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9576/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9576","id":163930332,"number":9576,"title":"Pig Latin challenge does not test for the vowels when they are upper case","user":{"login":"sayedafif","id":12526533,"avatar_url":"https://avatars.githubusercontent.com/u/12526533?v=3","gravatar_id":"","url":"https://api.github.com/users/sayedafif","html_url":"https://github.com/sayedafif","followers_url":"https://api.github.com/users/sayedafif/followers","following_url":"https://api.github.com/users/sayedafif/following{/other_user}","gists_url":"https://api.github.com/users/sayedafif/gists{/gist_id}","starred_url":"https://api.github.com/users/sayedafif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayedafif/subscriptions","organizations_url":"https://api.github.com/users/sayedafif/orgs","repos_url":"https://api.github.com/users/sayedafif/repos","events_url":"https://api.github.com/users/sayedafif/events{/privacy}","received_events_url":"https://api.github.com/users/sayedafif/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-05T19:45:00Z","updated_at":"2016-07-06T13:58:16Z","closed_at":null,"body":"<!-- FreeCodeCamp Issue Template -->\r\n\r\n<!-- NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/Help -->\r\n<!-- Please provide as much detail as possible for us to fix your issue -->\r\n<!-- Remove any heading sections you did not fill out -->\r\n\r\n#### Challenge Name\r\n<!-- Insert link to challenge below -->\r\nhttps://www.freecodecamp.com/challenges/pig-latin\r\n\r\n#### Issue Description\r\n<!-- Describe below when the issue happens and how to reproduce it -->\r\nThe test case should include another test such as ` translatePigLatin(\"Eight\"); ` since in the present scenario, some of the codes get cleared. \r\n\r\n#### Browser Information\r\n<!-- Describe your workspace in which you are having issues-->\r\n\r\n* Browser Name, Version: \r\n* Operating System: \r\n* Mobile, Desktop, or Tablet: \r\n\r\n#### Your Code\r\n<!-- If relevant, paste all of your challenge code in here -->\r\n```\r\nfunction translatePigLatin(str) {\r\n //first version \r\n  if ('aeiou'.match(str[0])) { \r\n    return str + \"way\";\r\n  } else {\r\n    var translated = str;\r\n    for (var i = 0; i < str.length; i++) {\r\n      if ('aeiou'.match(str[i]) === null) {\r\n        translated += str[i];\r\n        translated = translated.slice(1);\r\n      } else {\r\n        break;        \r\n      }\r\n    }\r\n    return translated + \"ay\";\r\n  }  \r\n}\r\n translatePigLatin(\"Eight\"); \r\n```\r\n\r\n#### Screenshot\r\n<!-- Add a screenshot of your issue -->\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/230779209","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9576#issuecomment-230779209","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9576","id":230779209,"user":{"login":"dhcodes","id":7917512,"avatar_url":"https://avatars.githubusercontent.com/u/7917512?v=3","gravatar_id":"","url":"https://api.github.com/users/dhcodes","html_url":"https://github.com/dhcodes","followers_url":"https://api.github.com/users/dhcodes/followers","following_url":"https://api.github.com/users/dhcodes/following{/other_user}","gists_url":"https://api.github.com/users/dhcodes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhcodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhcodes/subscriptions","organizations_url":"https://api.github.com/users/dhcodes/orgs","repos_url":"https://api.github.com/users/dhcodes/repos","events_url":"https://api.github.com/users/dhcodes/events{/privacy}","received_events_url":"https://api.github.com/users/dhcodes/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T13:58:16Z","updated_at":"2016-07-06T13:58:16Z","body":"I like the alternative."}}
{"actor":{"display_login":"dhcodes"}}