{"action":"opened","issue":{"url":"https://api.github.com/repos/techmichelle/Bonfire/issues/5","labels_url":"https://api.github.com/repos/techmichelle/Bonfire/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/techmichelle/Bonfire/issues/5/comments","events_url":"https://api.github.com/repos/techmichelle/Bonfire/issues/5/events","html_url":"https://github.com/techmichelle/Bonfire/issues/5","id":108178893,"number":5,"title":"Title Case a Sentence","user":{"login":"techmichelle","id":3099476,"avatar_url":"https://avatars.githubusercontent.com/u/3099476?v=3","gravatar_id":"","url":"https://api.github.com/users/techmichelle","html_url":"https://github.com/techmichelle","followers_url":"https://api.github.com/users/techmichelle/followers","following_url":"https://api.github.com/users/techmichelle/following{/other_user}","gists_url":"https://api.github.com/users/techmichelle/gists{/gist_id}","starred_url":"https://api.github.com/users/techmichelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techmichelle/subscriptions","organizations_url":"https://api.github.com/users/techmichelle/orgs","repos_url":"https://api.github.com/users/techmichelle/repos","events_url":"https://api.github.com/users/techmichelle/events{/privacy}","received_events_url":"https://api.github.com/users/techmichelle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T17:42:24Z","updated_at":"2015-09-24T17:42:24Z","closed_at":null,"body":"function titleCase(str) {\r\n   \r\n    return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\r\n  \r\n  return str;\r\n}\r\n\r\ntitleCase(\"I'm a little tea pot\", \"\");"}}