{"action":"created","comment":{"url":"https://api.github.com/repos/andela/chopbox/pulls/comments/41849682","id":41849682,"diff_hunk":"@@ -1 +1,144 @@\n-var $input=$('<div class=\"modal-body\"><input type=\"text\" class=\"form-control\" placeholder=\"Message\"></div>');$(document).on(\"click\",\".js-msgGroup\",function(){$(\".js-msgGroup, .js-newMsg\").addClass(\"hide\"),$(\".js-conversation\").removeClass(\"hide\"),$(\".modal-title\").html('<a href=\"#\" class=\"js-gotoMsgs\">Back</a>'),$input.insertBefore(\".js-modalBody\")}),$(function(){function o(){return $(window).width()-($('[data-toggle=\"popover\"]').offset().left+$('[data-toggle=\"popover\"]').outerWidth())}$(window).on(\"resize\",function(){var t=$('[data-toggle=\"popover\"]').data(\"bs.popover\");t&&(t.options.viewport.padding=o())}),$('[data-toggle=\"popover\"]').popover({template:'<div class=\"popover\" role=\"tooltip\"><div class=\"arrow\"></div><div class=\"popover-content p-x-0\"></div></div>',title:\"\",html:!0,trigger:\"manual\",placement:\"bottom\",viewport:{selector:\"body\",padding:o()},content:function(){var o=$(\".app-navbar .navbar-nav:last-child\").clone();return'<div class=\"nav nav-stacked\" style=\"width: 200px\">'+o.html()+\"</div>\"}}),$('[data-toggle=\"popover\"]').on(\"click\",function(o){o.stopPropagation(),$('[data-toggle=\"popover\"]').data(\"bs.popover\").tip().hasClass(\"in\")?($('[data-toggle=\"popover\"]').popover(\"hide\"),$(document).off(\"click.app.popover\")):($('[data-toggle=\"popover\"]').popover(\"show\"),setTimeout(function(){$(document).one(\"click.app.popover\",function(){$('[data-toggle=\"popover\"]').popover(\"hide\")})},1))})}),$(document).on(\"click\",\".js-gotoMsgs\",function(){$input.remove(),$(\".js-conversation\").addClass(\"hide\"),$(\".js-msgGroup, .js-newMsg\").removeClass(\"hide\"),$(\".modal-title\").html(\"Messages\")}),$(document).on(\"click\",\"[data-action=growl]\",function(o){o.preventDefault(),$(\"#app-growl\").append('<div class=\"alert alert-dark alert-dismissible fade in\" role=\"alert\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button><p>Click the x on the upper right to dismiss this little thing. Or click growl again to show more growls.</p></div>')}),$(document).on(\"focus\",'[data-action=\"grow\"]',function(){$(window).width()>1e3&&$(this).animate({width:300})}),$(document).on(\"blur\",'[data-action=\"grow\"]',function(){if($(window).width()>1e3){$(this).animate({width:180})}}),$(function(){function o(){$(window).scrollTop()>$(window).height()?$(\".docs-top\").fadeIn():$(\".docs-top\").fadeOut()}$(\".docs-top\").length&&(o(),$(window).on(\"scroll\",o))}),$(function(){function o(){i.width()>768?e():t()}function t(){i.off(\"resize.theme.nav\"),i.off(\"scroll.theme.nav\"),n.css({position:\"\",left:\"\",top:\"\"})}function e(){function o(){e.containerTop=$(\".docs-content\").offset().top-40,e.containerRight=$(\".docs-content\").offset().left+$(\".docs-content\").width()+45,t()}function t(){var o=i.scrollTop(),t=Math.max(o-e.containerTop,0);return t?void n.css({position:\"fixed\",left:e.containerRight,top:40}):($(n.find(\"li\")[1]).addClass(\"active\"),n.css({position:\"\",left:\"\",top:\"\"}))}var e={};o(),$(window).on(\"resize.theme.nav\",o).on(\"scroll.theme.nav\",t),$(\"body\").scrollspy({target:\"#markdown-toc\",selector:\"li > a\"}),setTimeout(function(){$(\"body\").scrollspy(\"refresh\")},1e3)}var n=$(\"#markdown-toc\"),i=$(window);n[0]&&(o(),i.on(\"resize\",o))});\n\\ No newline at end of file\n+var $input = $('<div class=\"modal-body\"><input type=\"text\" class=\"form-control\" placeholder=\"Message\"></div>');\n+$(document).on(\"click\", \".js-msgGroup\", function () {\n+    $(\".js-msgGroup, .js-newMsg\").addClass(\"hide\"), $(\".js-conversation\").removeClass(\"hide\"), $(\".modal-title\").html('<a href=\"#\" class=\"js-gotoMsgs\">Back</a>'), $input.insertBefore(\".js-modalBody\")\n+}), $(function () {\n+    function o() {\n+        return $(window).width() - ($('[data-toggle=\"popover\"]').offset().left + $('[data-toggle=\"popover\"]').outerWidth())\n+    }\n+\n+    $(window).on(\"resize\", function () {\n+        var t = $('[data-toggle=\"popover\"]').data(\"bs.popover\");\n+        t && (t.options.viewport.padding = o())\n+    }), $('[data-toggle=\"popover\"]').popover({\n+        template: '<div class=\"popover\" role=\"tooltip\"><div class=\"arrow\"></div><div class=\"popover-content p-x-0\"></div></div>',\n+        title: \"\",\n+        html: !0,\n+        trigger: \"manual\",\n+        placement: \"bottom\",\n+        viewport: {selector: \"body\", padding: o()},\n+        content: function () {\n+            var o = $(\".app-navbar .navbar-nav:last-child\").clone();\n+            return '<div class=\"nav nav-stacked\" style=\"width: 200px\">' + o.html() + \"</div>\"\n+        }","path":"public/js/application.js","position":24,"original_position":24,"commit_id":"1d4f0ada59295167cfed87414d1c44418acf6f0f","original_commit_id":"1d4f0ada59295167cfed87414d1c44418acf6f0f","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-13T10:19:58Z","updated_at":"2015-10-13T10:19:58Z","html_url":"https://github.com/andela/chopbox/pull/70#discussion_r41849682","pull_request_url":"https://api.github.com/repos/andela/chopbox/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/andela/chopbox/pulls/comments/41849682"},"html":{"href":"https://github.com/andela/chopbox/pull/70#discussion_r41849682"},"pull_request":{"href":"https://api.github.com/repos/andela/chopbox/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/andela/chopbox/pulls/70","id":47514759,"html_url":"https://github.com/andela/chopbox/pull/70","diff_url":"https://github.com/andela/chopbox/pull/70.diff","patch_url":"https://github.com/andela/chopbox/pull/70.patch","issue_url":"https://api.github.com/repos/andela/chopbox/issues/70","number":70,"state":"open","locked":false,"title":"[Hotfix]Reorder and sanitize composer.json.","user":{"login":"andela-vdugeri","id":4467979,"avatar_url":"https://avatars.githubusercontent.com/u/4467979?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-vdugeri","html_url":"https://github.com/andela-vdugeri","followers_url":"https://api.github.com/users/andela-vdugeri/followers","following_url":"https://api.github.com/users/andela-vdugeri/following{/other_user}","gists_url":"https://api.github.com/users/andela-vdugeri/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-vdugeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-vdugeri/subscriptions","organizations_url":"https://api.github.com/users/andela-vdugeri/orgs","repos_url":"https://api.github.com/users/andela-vdugeri/repos","events_url":"https://api.github.com/users/andela-vdugeri/events{/privacy}","received_events_url":"https://api.github.com/users/andela-vdugeri/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-13T10:19:53Z","updated_at":"2015-10-13T10:19:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"167ac780d9ed4d91e928375820ae5bcfabe91493","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/chopbox/pulls/70/commits","review_comments_url":"https://api.github.com/repos/andela/chopbox/pulls/70/comments","review_comment_url":"https://api.github.com/repos/andela/chopbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/chopbox/issues/70/comments","statuses_url":"https://api.github.com/repos/andela/chopbox/statuses/1d4f0ada59295167cfed87414d1c44418acf6f0f","head":{"label":"andela:hotfix-tests","ref":"hotfix-tests","sha":"1d4f0ada59295167cfed87414d1c44418acf6f0f","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":39066259,"name":"chopbox","full_name":"andela/chopbox","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/chopbox","description":"Twitter Clone for Food Consumption and Expression - Simulation Project ","fork":false,"url":"https://api.github.com/repos/andela/chopbox","forks_url":"https://api.github.com/repos/andela/chopbox/forks","keys_url":"https://api.github.com/repos/andela/chopbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/chopbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/chopbox/teams","hooks_url":"https://api.github.com/repos/andela/chopbox/hooks","issue_events_url":"https://api.github.com/repos/andela/chopbox/issues/events{/number}","events_url":"https://api.github.com/repos/andela/chopbox/events","assignees_url":"https://api.github.com/repos/andela/chopbox/assignees{/user}","branches_url":"https://api.github.com/repos/andela/chopbox/branches{/branch}","tags_url":"https://api.github.com/repos/andela/chopbox/tags","blobs_url":"https://api.github.com/repos/andela/chopbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/chopbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/chopbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/chopbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/chopbox/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/chopbox/languages","stargazers_url":"https://api.github.com/repos/andela/chopbox/stargazers","contributors_url":"https://api.github.com/repos/andela/chopbox/contributors","subscribers_url":"https://api.github.com/repos/andela/chopbox/subscribers","subscription_url":"https://api.github.com/repos/andela/chopbox/subscription","commits_url":"https://api.github.com/repos/andela/chopbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/chopbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/chopbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/chopbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/chopbox/contents/{+path}","compare_url":"https://api.github.com/repos/andela/chopbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/chopbox/merges","archive_url":"https://api.github.com/repos/andela/chopbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/chopbox/downloads","issues_url":"https://api.github.com/repos/andela/chopbox/issues{/number}","pulls_url":"https://api.github.com/repos/andela/chopbox/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/chopbox/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/chopbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/chopbox/labels{/name}","releases_url":"https://api.github.com/repos/andela/chopbox/releases{/id}","created_at":"2015-07-14T09:32:37Z","updated_at":"2015-10-12T02:59:59Z","pushed_at":"2015-10-13T10:19:53Z","git_url":"git://github.com/andela/chopbox.git","ssh_url":"git@github.com:andela/chopbox.git","clone_url":"https://github.com/andela/chopbox.git","svn_url":"https://github.com/andela/chopbox","homepage":"http://chopbox-staging.herokuapp.com/","size":11240,"stargazers_count":1,"watchers_count":1,"language":"CSS","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":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"d491f20bc49faf140720788ae0f0bb21f33ea7c2","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":39066259,"name":"chopbox","full_name":"andela/chopbox","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/chopbox","description":"Twitter Clone for Food Consumption and Expression - Simulation Project ","fork":false,"url":"https://api.github.com/repos/andela/chopbox","forks_url":"https://api.github.com/repos/andela/chopbox/forks","keys_url":"https://api.github.com/repos/andela/chopbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/chopbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/chopbox/teams","hooks_url":"https://api.github.com/repos/andela/chopbox/hooks","issue_events_url":"https://api.github.com/repos/andela/chopbox/issues/events{/number}","events_url":"https://api.github.com/repos/andela/chopbox/events","assignees_url":"https://api.github.com/repos/andela/chopbox/assignees{/user}","branches_url":"https://api.github.com/repos/andela/chopbox/branches{/branch}","tags_url":"https://api.github.com/repos/andela/chopbox/tags","blobs_url":"https://api.github.com/repos/andela/chopbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/chopbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/chopbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/chopbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/chopbox/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/chopbox/languages","stargazers_url":"https://api.github.com/repos/andela/chopbox/stargazers","contributors_url":"https://api.github.com/repos/andela/chopbox/contributors","subscribers_url":"https://api.github.com/repos/andela/chopbox/subscribers","subscription_url":"https://api.github.com/repos/andela/chopbox/subscription","commits_url":"https://api.github.com/repos/andela/chopbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/chopbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/chopbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/chopbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/chopbox/contents/{+path}","compare_url":"https://api.github.com/repos/andela/chopbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/chopbox/merges","archive_url":"https://api.github.com/repos/andela/chopbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/chopbox/downloads","issues_url":"https://api.github.com/repos/andela/chopbox/issues{/number}","pulls_url":"https://api.github.com/repos/andela/chopbox/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/chopbox/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/chopbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/chopbox/labels{/name}","releases_url":"https://api.github.com/repos/andela/chopbox/releases{/id}","created_at":"2015-07-14T09:32:37Z","updated_at":"2015-10-12T02:59:59Z","pushed_at":"2015-10-13T10:19:53Z","git_url":"git://github.com/andela/chopbox.git","ssh_url":"git@github.com:andela/chopbox.git","clone_url":"https://github.com/andela/chopbox.git","svn_url":"https://github.com/andela/chopbox","homepage":"http://chopbox-staging.herokuapp.com/","size":11240,"stargazers_count":1,"watchers_count":1,"language":"CSS","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":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/chopbox/pulls/70"},"html":{"href":"https://github.com/andela/chopbox/pull/70"},"issue":{"href":"https://api.github.com/repos/andela/chopbox/issues/70"},"comments":{"href":"https://api.github.com/repos/andela/chopbox/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/chopbox/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/chopbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/chopbox/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/andela/chopbox/statuses/1d4f0ada59295167cfed87414d1c44418acf6f0f"}}}}