{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/59981479","id":59981479,"diff_hunk":"@@ -1,42 +1,44 @@\n-/*created by aayusharora on 2/3/2016 */\n+/*  created by aayusharora on 2/3/2016   */\n angular\n-    .module('oe.twitterwall')\n-    .directive('tweet',tweet);\n-/*directive to display tweets after a timespan of 8000 ms.*/\n-tweet.$inject=['$timeout','$rootScope'];\n+    .module(\"oe.twitterwall\")\n+    .directive(\"tweet\", tweet);\n+\n+/*  directive to display tweets after a timespan of 8000 ms.*/\n+\n+tweet.$inject=[\"$timeout\", \"$rootScope\"];\n function tweet($timeout,$rootScope) {\n-    var directive = {\n-        link: link,\n-        restrict:'EA',\n-        scope:{\n-            array:'='\n-        },\n-         template: \n-                '<div class=\"container-tweet\">'+\n-                '<div class=\"animate\" ng-repeat=\"photo in array\">'+\n-                '<div ng-if=\"photo.id_str===selectedid\"  class=\"tweet\">'+\n-                    '<img ng-class=\"{\\'animation\\':photo.id_str===selectedid}\"  class=\"image\" on-error-src=\"https://pbs.twimg.com/profile_images/1141238022/fossasia-cubelogo.jpg\" ng-src=\\'{{photo.user.profile_image_url_https}}\\'>'+\n-                '</div>'+\n-                '<div ng-if=\"photo.id_str===selectedid\" class=\"heading-tweet\">'+\n-                    '{{photo.screen_name}}'+\n-                '</div>'+\n-                '<div ng-if=\"photo.id_str===selectedid\" class=\"text\">'+\n-                 '{{photo.text}}'+\n-                 '<div class=\"mention\" ng-if=\"photo.id_str===selectedid\" ng-repeat=\"mention in photo.mentions\" class=\"info\">'+\n-                 '@{{mention}}'+\n-                '</div>'+\n-                '</div>'+\n-                '</div>'+\n-                '</div>',\n-        controller:'TwitterwallController',\n-        controllerAs: 'vm',\n-        bindToController: true,\n+  const directive = {\n+    link: link,\n+    restrict:\"EA\",\n+    scope:{\n+        array:\"=\"\n+    },\n+    template: \n+            '<div class=\"container-tweet\">'+\n+            '<div class=\"animate\" ng-repeat=\"photo in array\">'+\n+            '<div ng-if=\"photo.id_str===selectedid\"  class=\"tweet\">'+\n+                '<img ng-class=\"{\\'animation\\':photo.id_str===selectedid}\"  class=\"image\" on-error-src=\"https://pbs.twimg.com/profile_images/1141238022/fossasia-cubelogo.jpg\" ng-src=\\'{{photo.user.profile_image_url_https}}\\'>'+\n+            '</div>'+\n+            '<div ng-if=\"photo.id_str===selectedid\" class=\"heading-tweet\">'+\n+                '{{photo.screen_name}}'+\n+            '</div>'+\n+            '<div ng-if=\"photo.id_str===selectedid\" class=\"text\">'+","path":"src/appComponents/twitterwall/singletweet.js","position":56,"original_position":56,"commit_id":"bc89ddbc00d52c35e0f975402eef65dcebb17a7e","original_commit_id":"bc89ddbc00d52c35e0f975402eef65dcebb17a7e","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2016-04-17T10:15:41Z","updated_at":"2016-04-17T10:15:41Z","html_url":"https://github.com/fossasia/open-event-webapp/pull/178#discussion_r59981479","pull_request_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/59981479"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/178#discussion_r59981479"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178","id":66764041,"html_url":"https://github.com/fossasia/open-event-webapp/pull/178","diff_url":"https://github.com/fossasia/open-event-webapp/pull/178.diff","patch_url":"https://github.com/fossasia/open-event-webapp/pull/178.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/178","number":178,"state":"open","locked":false,"title":"Set 6 Codacy issues","user":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-17T10:15:29Z","updated_at":"2016-04-17T10:15:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/178/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/bc89ddbc00d52c35e0f975402eef65dcebb17a7e","head":{"label":"aayusharora:codacy_issues","ref":"codacy_issues","sha":"bc89ddbc00d52c35e0f975402eef65dcebb17a7e","user":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"repo":{"id":52630023,"name":"open-event-webapp","full_name":"aayusharora/open-event-webapp","owner":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aayusharora/open-event-webapp","description":"Open Event Webapp","fork":true,"url":"https://api.github.com/repos/aayusharora/open-event-webapp","forks_url":"https://api.github.com/repos/aayusharora/open-event-webapp/forks","keys_url":"https://api.github.com/repos/aayusharora/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aayusharora/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aayusharora/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/aayusharora/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/aayusharora/open-event-webapp/events","assignees_url":"https://api.github.com/repos/aayusharora/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/aayusharora/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/aayusharora/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aayusharora/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/aayusharora/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/aayusharora/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/aayusharora/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/aayusharora/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/aayusharora/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/aayusharora/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/aayusharora/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/aayusharora/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/aayusharora/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aayusharora/open-event-webapp/merges","archive_url":"https://api.github.com/repos/aayusharora/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aayusharora/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/aayusharora/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/aayusharora/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/aayusharora/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aayusharora/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/aayusharora/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/aayusharora/open-event-webapp/deployments","created_at":"2016-02-26T20:13:33Z","updated_at":"2016-03-02T10:20:50Z","pushed_at":"2016-04-17T10:14:26Z","git_url":"git://github.com/aayusharora/open-event-webapp.git","ssh_url":"git@github.com:aayusharora/open-event-webapp.git","clone_url":"https://github.com/aayusharora/open-event-webapp.git","svn_url":"https://github.com/aayusharora/open-event-webapp","homepage":null,"size":1745,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"fossasia:master","ref":"master","sha":"8438885cb72215219215da19490c7e03d47f85d5","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35269905,"name":"open-event-webapp","full_name":"fossasia/open-event-webapp","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-webapp","description":"Open Event Webapp","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-webapp","forks_url":"https://api.github.com/repos/fossasia/open-event-webapp/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-webapp/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-webapp/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-webapp/deployments","created_at":"2015-05-08T09:11:00Z","updated_at":"2016-03-26T12:11:03Z","pushed_at":"2016-04-17T10:15:30Z","git_url":"git://github.com/fossasia/open-event-webapp.git","ssh_url":"git@github.com:fossasia/open-event-webapp.git","clone_url":"https://github.com/fossasia/open-event-webapp.git","svn_url":"https://github.com/fossasia/open-event-webapp","homepage":null,"size":2030,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":58,"mirror_url":null,"open_issues_count":34,"forks":58,"open_issues":34,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/178"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/178"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/178/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/178/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/bc89ddbc00d52c35e0f975402eef65dcebb17a7e"}}}}