{"action":"created","comment":{"url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments/41538834","id":41538834,"diff_hunk":"@@ -0,0 +1,36 @@\n+$(\".details\").on(\"click\", function(event) {\n+  debugger;\n+  event.preventDefault();\n+  if(event.isDefaultPrevented()){\n+      // default event is prevented\n+  }else{\n+      event.returnValue = false;\n+      console.log(\"what\")\n+  }\n+  var dreamId = this.id;\n+  var $t = $(this);\n+  $.ajax({\n+    method: \"GET\",\n+    url: (\"/dreams\"),\n+    data: { dream_id: dreamId },\n+    dataType: \"json\"\n+  })\n+  .done(function(data){\n+    var activeDream = data[\"active_dream\"]\n+    changeDream(activeDream);\n+  });\n+});\n+\n+\n+var changeDream = function(dream) {\n+  var dreamTitle = $('#dream-title');","path":"app/assets/javascripts/timeline.js","position":26,"original_position":26,"commit_id":"848cdab908eb2eb31e87eeba9dcf9e9070899fa7","original_commit_id":"848cdab908eb2eb31e87eeba9dcf9e9070899fa7","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2015-10-08T16:55:12Z","updated_at":"2015-10-08T16:55:12Z","html_url":"https://github.com/margonaut/DreamCacher/pull/6#discussion_r41538834","pull_request_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments/41538834"},"html":{"href":"https://github.com/margonaut/DreamCacher/pull/6#discussion_r41538834"},"pull_request":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6","id":47178278,"html_url":"https://github.com/margonaut/DreamCacher/pull/6","diff_url":"https://github.com/margonaut/DreamCacher/pull/6.diff","patch_url":"https://github.com/margonaut/DreamCacher/pull/6.patch","issue_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/6","number":6,"state":"open","locked":false,"title":"Timeline feature added","user":{"login":"margonaut","id":9367632,"avatar_url":"https://avatars.githubusercontent.com/u/9367632?v=3","gravatar_id":"","url":"https://api.github.com/users/margonaut","html_url":"https://github.com/margonaut","followers_url":"https://api.github.com/users/margonaut/followers","following_url":"https://api.github.com/users/margonaut/following{/other_user}","gists_url":"https://api.github.com/users/margonaut/gists{/gist_id}","starred_url":"https://api.github.com/users/margonaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margonaut/subscriptions","organizations_url":"https://api.github.com/users/margonaut/orgs","repos_url":"https://api.github.com/users/margonaut/repos","events_url":"https://api.github.com/users/margonaut/events{/privacy}","received_events_url":"https://api.github.com/users/margonaut/received_events","type":"User","site_admin":false},"body":"Timeline feature added, page structures have been changed to accommodate. Tests have been adjusted to reflect information organization changes. Additionally, an \"introduction dream\" is made upon user creation, ensuring some content in the timeline and welcoming a new user to the site.","created_at":"2015-10-08T16:53:50Z","updated_at":"2015-10-08T16:55:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8dc90cb7dcba72f16c571f498fd08c3dda5230c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6/commits","review_comments_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6/comments","review_comment_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/6/comments","statuses_url":"https://api.github.com/repos/margonaut/DreamCacher/statuses/848cdab908eb2eb31e87eeba9dcf9e9070899fa7","head":{"label":"margonaut:timeline","ref":"timeline","sha":"848cdab908eb2eb31e87eeba9dcf9e9070899fa7","user":{"login":"margonaut","id":9367632,"avatar_url":"https://avatars.githubusercontent.com/u/9367632?v=3","gravatar_id":"","url":"https://api.github.com/users/margonaut","html_url":"https://github.com/margonaut","followers_url":"https://api.github.com/users/margonaut/followers","following_url":"https://api.github.com/users/margonaut/following{/other_user}","gists_url":"https://api.github.com/users/margonaut/gists{/gist_id}","starred_url":"https://api.github.com/users/margonaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margonaut/subscriptions","organizations_url":"https://api.github.com/users/margonaut/orgs","repos_url":"https://api.github.com/users/margonaut/repos","events_url":"https://api.github.com/users/margonaut/events{/privacy}","received_events_url":"https://api.github.com/users/margonaut/received_events","type":"User","site_admin":false},"repo":{"id":43399655,"name":"DreamCacher","full_name":"margonaut/DreamCacher","owner":{"login":"margonaut","id":9367632,"avatar_url":"https://avatars.githubusercontent.com/u/9367632?v=3","gravatar_id":"","url":"https://api.github.com/users/margonaut","html_url":"https://github.com/margonaut","followers_url":"https://api.github.com/users/margonaut/followers","following_url":"https://api.github.com/users/margonaut/following{/other_user}","gists_url":"https://api.github.com/users/margonaut/gists{/gist_id}","starred_url":"https://api.github.com/users/margonaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margonaut/subscriptions","organizations_url":"https://api.github.com/users/margonaut/orgs","repos_url":"https://api.github.com/users/margonaut/repos","events_url":"https://api.github.com/users/margonaut/events{/privacy}","received_events_url":"https://api.github.com/users/margonaut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/margonaut/DreamCacher","description":"","fork":false,"url":"https://api.github.com/repos/margonaut/DreamCacher","forks_url":"https://api.github.com/repos/margonaut/DreamCacher/forks","keys_url":"https://api.github.com/repos/margonaut/DreamCacher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/margonaut/DreamCacher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/margonaut/DreamCacher/teams","hooks_url":"https://api.github.com/repos/margonaut/DreamCacher/hooks","issue_events_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/events{/number}","events_url":"https://api.github.com/repos/margonaut/DreamCacher/events","assignees_url":"https://api.github.com/repos/margonaut/DreamCacher/assignees{/user}","branches_url":"https://api.github.com/repos/margonaut/DreamCacher/branches{/branch}","tags_url":"https://api.github.com/repos/margonaut/DreamCacher/tags","blobs_url":"https://api.github.com/repos/margonaut/DreamCacher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/margonaut/DreamCacher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/margonaut/DreamCacher/git/refs{/sha}","trees_url":"https://api.github.com/repos/margonaut/DreamCacher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/margonaut/DreamCacher/statuses/{sha}","languages_url":"https://api.github.com/repos/margonaut/DreamCacher/languages","stargazers_url":"https://api.github.com/repos/margonaut/DreamCacher/stargazers","contributors_url":"https://api.github.com/repos/margonaut/DreamCacher/contributors","subscribers_url":"https://api.github.com/repos/margonaut/DreamCacher/subscribers","subscription_url":"https://api.github.com/repos/margonaut/DreamCacher/subscription","commits_url":"https://api.github.com/repos/margonaut/DreamCacher/commits{/sha}","git_commits_url":"https://api.github.com/repos/margonaut/DreamCacher/git/commits{/sha}","comments_url":"https://api.github.com/repos/margonaut/DreamCacher/comments{/number}","issue_comment_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/comments{/number}","contents_url":"https://api.github.com/repos/margonaut/DreamCacher/contents/{+path}","compare_url":"https://api.github.com/repos/margonaut/DreamCacher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/margonaut/DreamCacher/merges","archive_url":"https://api.github.com/repos/margonaut/DreamCacher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/margonaut/DreamCacher/downloads","issues_url":"https://api.github.com/repos/margonaut/DreamCacher/issues{/number}","pulls_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls{/number}","milestones_url":"https://api.github.com/repos/margonaut/DreamCacher/milestones{/number}","notifications_url":"https://api.github.com/repos/margonaut/DreamCacher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/margonaut/DreamCacher/labels{/name}","releases_url":"https://api.github.com/repos/margonaut/DreamCacher/releases{/id}","created_at":"2015-09-29T23:11:58Z","updated_at":"2015-10-05T23:52:56Z","pushed_at":"2015-10-08T16:53:51Z","git_url":"git://github.com/margonaut/DreamCacher.git","ssh_url":"git@github.com:margonaut/DreamCacher.git","clone_url":"https://github.com/margonaut/DreamCacher.git","svn_url":"https://github.com/margonaut/DreamCacher","homepage":null,"size":328,"stargazers_count":1,"watchers_count":1,"language":"Ruby","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":"master"}},"base":{"label":"margonaut:master","ref":"master","sha":"15ca7b6a4855464eab90306906ce807a695a00bd","user":{"login":"margonaut","id":9367632,"avatar_url":"https://avatars.githubusercontent.com/u/9367632?v=3","gravatar_id":"","url":"https://api.github.com/users/margonaut","html_url":"https://github.com/margonaut","followers_url":"https://api.github.com/users/margonaut/followers","following_url":"https://api.github.com/users/margonaut/following{/other_user}","gists_url":"https://api.github.com/users/margonaut/gists{/gist_id}","starred_url":"https://api.github.com/users/margonaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margonaut/subscriptions","organizations_url":"https://api.github.com/users/margonaut/orgs","repos_url":"https://api.github.com/users/margonaut/repos","events_url":"https://api.github.com/users/margonaut/events{/privacy}","received_events_url":"https://api.github.com/users/margonaut/received_events","type":"User","site_admin":false},"repo":{"id":43399655,"name":"DreamCacher","full_name":"margonaut/DreamCacher","owner":{"login":"margonaut","id":9367632,"avatar_url":"https://avatars.githubusercontent.com/u/9367632?v=3","gravatar_id":"","url":"https://api.github.com/users/margonaut","html_url":"https://github.com/margonaut","followers_url":"https://api.github.com/users/margonaut/followers","following_url":"https://api.github.com/users/margonaut/following{/other_user}","gists_url":"https://api.github.com/users/margonaut/gists{/gist_id}","starred_url":"https://api.github.com/users/margonaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margonaut/subscriptions","organizations_url":"https://api.github.com/users/margonaut/orgs","repos_url":"https://api.github.com/users/margonaut/repos","events_url":"https://api.github.com/users/margonaut/events{/privacy}","received_events_url":"https://api.github.com/users/margonaut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/margonaut/DreamCacher","description":"","fork":false,"url":"https://api.github.com/repos/margonaut/DreamCacher","forks_url":"https://api.github.com/repos/margonaut/DreamCacher/forks","keys_url":"https://api.github.com/repos/margonaut/DreamCacher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/margonaut/DreamCacher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/margonaut/DreamCacher/teams","hooks_url":"https://api.github.com/repos/margonaut/DreamCacher/hooks","issue_events_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/events{/number}","events_url":"https://api.github.com/repos/margonaut/DreamCacher/events","assignees_url":"https://api.github.com/repos/margonaut/DreamCacher/assignees{/user}","branches_url":"https://api.github.com/repos/margonaut/DreamCacher/branches{/branch}","tags_url":"https://api.github.com/repos/margonaut/DreamCacher/tags","blobs_url":"https://api.github.com/repos/margonaut/DreamCacher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/margonaut/DreamCacher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/margonaut/DreamCacher/git/refs{/sha}","trees_url":"https://api.github.com/repos/margonaut/DreamCacher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/margonaut/DreamCacher/statuses/{sha}","languages_url":"https://api.github.com/repos/margonaut/DreamCacher/languages","stargazers_url":"https://api.github.com/repos/margonaut/DreamCacher/stargazers","contributors_url":"https://api.github.com/repos/margonaut/DreamCacher/contributors","subscribers_url":"https://api.github.com/repos/margonaut/DreamCacher/subscribers","subscription_url":"https://api.github.com/repos/margonaut/DreamCacher/subscription","commits_url":"https://api.github.com/repos/margonaut/DreamCacher/commits{/sha}","git_commits_url":"https://api.github.com/repos/margonaut/DreamCacher/git/commits{/sha}","comments_url":"https://api.github.com/repos/margonaut/DreamCacher/comments{/number}","issue_comment_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/comments{/number}","contents_url":"https://api.github.com/repos/margonaut/DreamCacher/contents/{+path}","compare_url":"https://api.github.com/repos/margonaut/DreamCacher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/margonaut/DreamCacher/merges","archive_url":"https://api.github.com/repos/margonaut/DreamCacher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/margonaut/DreamCacher/downloads","issues_url":"https://api.github.com/repos/margonaut/DreamCacher/issues{/number}","pulls_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls{/number}","milestones_url":"https://api.github.com/repos/margonaut/DreamCacher/milestones{/number}","notifications_url":"https://api.github.com/repos/margonaut/DreamCacher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/margonaut/DreamCacher/labels{/name}","releases_url":"https://api.github.com/repos/margonaut/DreamCacher/releases{/id}","created_at":"2015-09-29T23:11:58Z","updated_at":"2015-10-05T23:52:56Z","pushed_at":"2015-10-08T16:53:51Z","git_url":"git://github.com/margonaut/DreamCacher.git","ssh_url":"git@github.com:margonaut/DreamCacher.git","clone_url":"https://github.com/margonaut/DreamCacher.git","svn_url":"https://github.com/margonaut/DreamCacher","homepage":null,"size":328,"stargazers_count":1,"watchers_count":1,"language":"Ruby","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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6"},"html":{"href":"https://github.com/margonaut/DreamCacher/pull/6"},"issue":{"href":"https://api.github.com/repos/margonaut/DreamCacher/issues/6"},"comments":{"href":"https://api.github.com/repos/margonaut/DreamCacher/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/margonaut/DreamCacher/statuses/848cdab908eb2eb31e87eeba9dcf9e9070899fa7"}}}}