{"action":"opened","issue":{"url":"https://api.github.com/repos/josh-wykell/assignments/issues/33","labels_url":"https://api.github.com/repos/josh-wykell/assignments/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/josh-wykell/assignments/issues/33/comments","events_url":"https://api.github.com/repos/josh-wykell/assignments/issues/33/events","html_url":"https://github.com/josh-wykell/assignments/issues/33","id":89067120,"number":33,"title":"Assignment 7-3 - Blog - Ajax Comments","user":{"login":"ambethia","id":298,"avatar_url":"https://avatars.githubusercontent.com/u/298?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethia","html_url":"https://github.com/ambethia","followers_url":"https://api.github.com/users/ambethia/followers","following_url":"https://api.github.com/users/ambethia/following{/other_user}","gists_url":"https://api.github.com/users/ambethia/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethia/subscriptions","organizations_url":"https://api.github.com/users/ambethia/orgs","repos_url":"https://api.github.com/users/ambethia/repos","events_url":"https://api.github.com/users/ambethia/events{/privacy}","received_events_url":"https://api.github.com/users/ambethia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"josh-wykell","id":12158339,"avatar_url":"https://avatars.githubusercontent.com/u/12158339?v=3","gravatar_id":"","url":"https://api.github.com/users/josh-wykell","html_url":"https://github.com/josh-wykell","followers_url":"https://api.github.com/users/josh-wykell/followers","following_url":"https://api.github.com/users/josh-wykell/following{/other_user}","gists_url":"https://api.github.com/users/josh-wykell/gists{/gist_id}","starred_url":"https://api.github.com/users/josh-wykell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh-wykell/subscriptions","organizations_url":"https://api.github.com/users/josh-wykell/orgs","repos_url":"https://api.github.com/users/josh-wykell/repos","events_url":"https://api.github.com/users/josh-wykell/events{/privacy}","received_events_url":"https://api.github.com/users/josh-wykell/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-17T16:41:07Z","updated_at":"2015-06-17T16:41:07Z","closed_at":null,"body":"# Week 7 - Assignment 3\n\n## jQuery Ajax\n\nWe're going to add commenting with AJAX to our blog posts. You'll need to do a fair bit of reading and research on jQuery and javascript to build on what we demoed in class. Try using some of the terminology in the requirements here as search keywords to guide you. This research is primary component of this assignment. You'll really only end up writing a few lines of code to get this done.\n\n## Requirement\n\n- [ ] Remember about `$(function { '...' })` to wait for the DOM to be ready.\n- [ ] Catch the `submit` event on your comment form. Look into `event.preventDefault()` to stop it from actually submitting, and do an AJAX request to `comments#create` instead.\n- [ ] Have your create action respond to both HTML and JSON\n- [ ] The JSON response should render a partial for a single comment into a string \n- [ ] Your AJAX `success` handler should take the response data (your comment partial) and `append` it to the comments list.\n- [ ] BAM AJAX!"}}