{"action":"created","comment":{"url":"https://api.github.com/repos/agileseason/agileseason/pulls/comments/42938055","id":42938055,"diff_hunk":"@@ -0,0 +1,105 @@\n+class @Comments extends View\n+  initialize: ->\n+    @$comments = @$('.issue-comments')\n+    @$textarea = @$('textarea')\n+    @$add_comment_form = @$('form.add-comment')\n+\n+    @_render_comments()\n+    @$textarea.elastic()\n+    init_uploading $('input:file')\n+\n+    @$add_comment_form.on 'ajax:success', (e, data) => @_append_new_comment(e, data)\n+\n+    @$('.issue-comments, .add-comment-form')\n+      .on 'click', '.upload a', @_current_upload\n+      .on 'click', 'input:submit', @_validate_textarea\n+\n+    @$comments\n+      .on 'click', '.delete', @_delete_comment\n+      .on 'click', '.edit', @_open_edit_form\n+      .on 'click', '.close-without-saving', @_close_without_saving\n+      .on 'ajax:success', 'form.edit-comment', (e, data) => @_submit_edit_form(e, data)","path":"app/assets/javascripts/pages/issues/show/comments.coffee","position":21,"original_position":21,"commit_id":"245f5c90faefbacead91f431ccdf1ad540149553","original_commit_id":"245f5c90faefbacead91f431ccdf1ad540149553","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":"Line exceeds maximum allowed length","created_at":"2015-10-24T20:46:50Z","updated_at":"2015-10-24T20:46:50Z","html_url":"https://github.com/agileseason/agileseason/pull/730#discussion_r42938055","pull_request_url":"https://api.github.com/repos/agileseason/agileseason/pulls/730","_links":{"self":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/comments/42938055"},"html":{"href":"https://github.com/agileseason/agileseason/pull/730#discussion_r42938055"},"pull_request":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/730"}}},"pull_request":{"url":"https://api.github.com/repos/agileseason/agileseason/pulls/730","id":48664829,"html_url":"https://github.com/agileseason/agileseason/pull/730","diff_url":"https://github.com/agileseason/agileseason/pull/730.diff","patch_url":"https://github.com/agileseason/agileseason/pull/730.patch","issue_url":"https://api.github.com/repos/agileseason/agileseason/issues/730","number":730,"state":"open","locked":false,"title":"Feature/assets tidy up","user":{"login":"Sfolt","id":6046764,"avatar_url":"https://avatars.githubusercontent.com/u/6046764?v=3","gravatar_id":"","url":"https://api.github.com/users/Sfolt","html_url":"https://github.com/Sfolt","followers_url":"https://api.github.com/users/Sfolt/followers","following_url":"https://api.github.com/users/Sfolt/following{/other_user}","gists_url":"https://api.github.com/users/Sfolt/gists{/gist_id}","starred_url":"https://api.github.com/users/Sfolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sfolt/subscriptions","organizations_url":"https://api.github.com/users/Sfolt/orgs","repos_url":"https://api.github.com/users/Sfolt/repos","events_url":"https://api.github.com/users/Sfolt/events{/privacy}","received_events_url":"https://api.github.com/users/Sfolt/received_events","type":"User","site_admin":false},"body":"#727 ","created_at":"2015-10-24T20:46:36Z","updated_at":"2015-10-24T20:46:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b417f47437af18157a0bc8d3ba30b8590cf06af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/agileseason/agileseason/pulls/730/commits","review_comments_url":"https://api.github.com/repos/agileseason/agileseason/pulls/730/comments","review_comment_url":"https://api.github.com/repos/agileseason/agileseason/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agileseason/agileseason/issues/730/comments","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/245f5c90faefbacead91f431ccdf1ad540149553","head":{"label":"agileseason:feature/assets-tidy-up","ref":"feature/assets-tidy-up","sha":"245f5c90faefbacead91f431ccdf1ad540149553","user":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"repo":{"id":26205980,"name":"agileseason","full_name":"agileseason/agileseason","owner":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agileseason/agileseason","description":"Agile board for github issues with metrics","fork":false,"url":"https://api.github.com/repos/agileseason/agileseason","forks_url":"https://api.github.com/repos/agileseason/agileseason/forks","keys_url":"https://api.github.com/repos/agileseason/agileseason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agileseason/agileseason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agileseason/agileseason/teams","hooks_url":"https://api.github.com/repos/agileseason/agileseason/hooks","issue_events_url":"https://api.github.com/repos/agileseason/agileseason/issues/events{/number}","events_url":"https://api.github.com/repos/agileseason/agileseason/events","assignees_url":"https://api.github.com/repos/agileseason/agileseason/assignees{/user}","branches_url":"https://api.github.com/repos/agileseason/agileseason/branches{/branch}","tags_url":"https://api.github.com/repos/agileseason/agileseason/tags","blobs_url":"https://api.github.com/repos/agileseason/agileseason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agileseason/agileseason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agileseason/agileseason/git/refs{/sha}","trees_url":"https://api.github.com/repos/agileseason/agileseason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/{sha}","languages_url":"https://api.github.com/repos/agileseason/agileseason/languages","stargazers_url":"https://api.github.com/repos/agileseason/agileseason/stargazers","contributors_url":"https://api.github.com/repos/agileseason/agileseason/contributors","subscribers_url":"https://api.github.com/repos/agileseason/agileseason/subscribers","subscription_url":"https://api.github.com/repos/agileseason/agileseason/subscription","commits_url":"https://api.github.com/repos/agileseason/agileseason/commits{/sha}","git_commits_url":"https://api.github.com/repos/agileseason/agileseason/git/commits{/sha}","comments_url":"https://api.github.com/repos/agileseason/agileseason/comments{/number}","issue_comment_url":"https://api.github.com/repos/agileseason/agileseason/issues/comments{/number}","contents_url":"https://api.github.com/repos/agileseason/agileseason/contents/{+path}","compare_url":"https://api.github.com/repos/agileseason/agileseason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agileseason/agileseason/merges","archive_url":"https://api.github.com/repos/agileseason/agileseason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agileseason/agileseason/downloads","issues_url":"https://api.github.com/repos/agileseason/agileseason/issues{/number}","pulls_url":"https://api.github.com/repos/agileseason/agileseason/pulls{/number}","milestones_url":"https://api.github.com/repos/agileseason/agileseason/milestones{/number}","notifications_url":"https://api.github.com/repos/agileseason/agileseason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agileseason/agileseason/labels{/name}","releases_url":"https://api.github.com/repos/agileseason/agileseason/releases{/id}","created_at":"2014-11-05T06:11:09Z","updated_at":"2015-08-16T14:59:12Z","pushed_at":"2015-10-24T20:46:37Z","git_url":"git://github.com/agileseason/agileseason.git","ssh_url":"git@github.com:agileseason/agileseason.git","clone_url":"https://github.com/agileseason/agileseason.git","svn_url":"https://github.com/agileseason/agileseason","homepage":"https://agileseason.com","size":18486,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":27,"forks":1,"open_issues":27,"watchers":5,"default_branch":"master"}},"base":{"label":"agileseason:master","ref":"master","sha":"406e9cc298abd9f6c07097532c447b038a4e5ee1","user":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"repo":{"id":26205980,"name":"agileseason","full_name":"agileseason/agileseason","owner":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agileseason/agileseason","description":"Agile board for github issues with metrics","fork":false,"url":"https://api.github.com/repos/agileseason/agileseason","forks_url":"https://api.github.com/repos/agileseason/agileseason/forks","keys_url":"https://api.github.com/repos/agileseason/agileseason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agileseason/agileseason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agileseason/agileseason/teams","hooks_url":"https://api.github.com/repos/agileseason/agileseason/hooks","issue_events_url":"https://api.github.com/repos/agileseason/agileseason/issues/events{/number}","events_url":"https://api.github.com/repos/agileseason/agileseason/events","assignees_url":"https://api.github.com/repos/agileseason/agileseason/assignees{/user}","branches_url":"https://api.github.com/repos/agileseason/agileseason/branches{/branch}","tags_url":"https://api.github.com/repos/agileseason/agileseason/tags","blobs_url":"https://api.github.com/repos/agileseason/agileseason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agileseason/agileseason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agileseason/agileseason/git/refs{/sha}","trees_url":"https://api.github.com/repos/agileseason/agileseason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/{sha}","languages_url":"https://api.github.com/repos/agileseason/agileseason/languages","stargazers_url":"https://api.github.com/repos/agileseason/agileseason/stargazers","contributors_url":"https://api.github.com/repos/agileseason/agileseason/contributors","subscribers_url":"https://api.github.com/repos/agileseason/agileseason/subscribers","subscription_url":"https://api.github.com/repos/agileseason/agileseason/subscription","commits_url":"https://api.github.com/repos/agileseason/agileseason/commits{/sha}","git_commits_url":"https://api.github.com/repos/agileseason/agileseason/git/commits{/sha}","comments_url":"https://api.github.com/repos/agileseason/agileseason/comments{/number}","issue_comment_url":"https://api.github.com/repos/agileseason/agileseason/issues/comments{/number}","contents_url":"https://api.github.com/repos/agileseason/agileseason/contents/{+path}","compare_url":"https://api.github.com/repos/agileseason/agileseason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agileseason/agileseason/merges","archive_url":"https://api.github.com/repos/agileseason/agileseason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agileseason/agileseason/downloads","issues_url":"https://api.github.com/repos/agileseason/agileseason/issues{/number}","pulls_url":"https://api.github.com/repos/agileseason/agileseason/pulls{/number}","milestones_url":"https://api.github.com/repos/agileseason/agileseason/milestones{/number}","notifications_url":"https://api.github.com/repos/agileseason/agileseason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agileseason/agileseason/labels{/name}","releases_url":"https://api.github.com/repos/agileseason/agileseason/releases{/id}","created_at":"2014-11-05T06:11:09Z","updated_at":"2015-08-16T14:59:12Z","pushed_at":"2015-10-24T20:46:37Z","git_url":"git://github.com/agileseason/agileseason.git","ssh_url":"git@github.com:agileseason/agileseason.git","clone_url":"https://github.com/agileseason/agileseason.git","svn_url":"https://github.com/agileseason/agileseason","homepage":"https://agileseason.com","size":18486,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":27,"forks":1,"open_issues":27,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/730"},"html":{"href":"https://github.com/agileseason/agileseason/pull/730"},"issue":{"href":"https://api.github.com/repos/agileseason/agileseason/issues/730"},"comments":{"href":"https://api.github.com/repos/agileseason/agileseason/issues/730/comments"},"review_comments":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/730/comments"},"review_comment":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/730/commits"},"statuses":{"href":"https://api.github.com/repos/agileseason/agileseason/statuses/245f5c90faefbacead91f431ccdf1ad540149553"}}}}