{"action":"created","comment":{"url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments/41565319","id":41565319,"diff_hunk":"@@ -1,31 +1,36 @@\n+var replaceKeywords = function(keywords) {\n+  $(\".dream-key\").remove();\n+  var list = $(\"#keyword-list\");\n+  for (var i = 0; i < keywords.length; i++) {\n+    list.append(\"<li class=\\\"dream-key\\\">\" + keywords[i].text + \"</li>\");\n+  }\n+}","path":"app/assets/javascripts/timeline.js","position":7,"original_position":7,"commit_id":"7da8106d86db4be6620cf946d048b08c2ead520e","original_commit_id":"7da8106d86db4be6620cf946d048b08c2ead520e","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":"Missing semicolon.","created_at":"2015-10-08T20:36:38Z","updated_at":"2015-10-08T20:36:38Z","html_url":"https://github.com/margonaut/DreamCacher/pull/7#discussion_r41565319","pull_request_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments/41565319"},"html":{"href":"https://github.com/margonaut/DreamCacher/pull/7#discussion_r41565319"},"pull_request":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/7","id":47203066,"html_url":"https://github.com/margonaut/DreamCacher/pull/7","diff_url":"https://github.com/margonaut/DreamCacher/pull/7.diff","patch_url":"https://github.com/margonaut/DreamCacher/pull/7.patch","issue_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/7","number":7,"state":"open","locked":false,"title":"Serializers","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":"Added API route endpoints and controllers, and support for serializers. A dream serializer and a dreams_keyword serializer have been written for custom JSON formatting. Now it is possible to get a neat summary of dream instance keywords (including the \"text\" from the main keywords table) in a simple JSON structure.\r\n\r\nCurrent journal page AJAX calls now use these routes instead going to the main dreams controller.","created_at":"2015-10-08T20:36:32Z","updated_at":"2015-10-08T20:36:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0532ff7052ac935f5a74d3f04940b43b2251a9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/7/commits","review_comments_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/7/comments","review_comment_url":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/margonaut/DreamCacher/issues/7/comments","statuses_url":"https://api.github.com/repos/margonaut/DreamCacher/statuses/7da8106d86db4be6620cf946d048b08c2ead520e","head":{"label":"margonaut:serializers","ref":"serializers","sha":"7da8106d86db4be6620cf946d048b08c2ead520e","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-08T20:36:32Z","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":"384df844b4a8bf3d600bafeec9eff6f2318e3d9e","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-08T20:36:32Z","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/7"},"html":{"href":"https://github.com/margonaut/DreamCacher/pull/7"},"issue":{"href":"https://api.github.com/repos/margonaut/DreamCacher/issues/7"},"comments":{"href":"https://api.github.com/repos/margonaut/DreamCacher/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/margonaut/DreamCacher/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/margonaut/DreamCacher/statuses/7da8106d86db4be6620cf946d048b08c2ead520e"}}}}