{"action":"created","comment":{"url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/comments/78285352","id":78285352,"diff_hunk":"@@ -7,62 +7,71 @@\n  * @namespace gonevisDash.MainController\n  *\n  * @param $scope\n+ * @param $rootScope\n  * @param $state\n  * @param $mdToast\n  * @param AuthService\n  * @param API\n  * @param CommentService\n  */\n-function MainController($scope, $state, $mdToast, $stateParams, AuthService, API, CommentService) {\n+function MainController ($scope, $rootScope, $state, $mdToast, $stateParams, AuthService, API, CommentService) {\n \n   /**\n    * constructor\n    *\n    * @method constructor\n    * @desc Init function for controller\n    */\n-  function constructor() {\n-    $scope.auth = AuthService;\n-    $scope.user = AuthService.getAuthenticatedUser();\n-    $scope.site = AuthService.getCurrentSite();\n-    $scope.commentService = CommentService;\n+  function constructor () {\n+    $scope.auth = AuthService\n+    $scope.user = AuthService.getAuthenticatedUser()\n+    $scope.site = AuthService.getCurrentSite()\n+    $scope.commentService = CommentService\n \n     // Check auth\n     if (!AuthService.isAuthenticated()) {\n-      $mdToast.showSimple('Please login to continue.');\n-      $state.go('signin');","path":"app/main/main_controller.js","position":40,"original_position":40,"commit_id":"4d3dc0b266ad215393afb41854c775de31587e65","original_commit_id":"4d3dc0b266ad215393afb41854c775de31587e65","user":{"login":"amirm3hdi","id":4629328,"avatar_url":"https://avatars.githubusercontent.com/u/4629328?v=3","gravatar_id":"","url":"https://api.github.com/users/amirm3hdi","html_url":"https://github.com/amirm3hdi","followers_url":"https://api.github.com/users/amirm3hdi/followers","following_url":"https://api.github.com/users/amirm3hdi/following{/other_user}","gists_url":"https://api.github.com/users/amirm3hdi/gists{/gist_id}","starred_url":"https://api.github.com/users/amirm3hdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirm3hdi/subscriptions","organizations_url":"https://api.github.com/users/amirm3hdi/orgs","repos_url":"https://api.github.com/users/amirm3hdi/repos","events_url":"https://api.github.com/users/amirm3hdi/events{/privacy}","received_events_url":"https://api.github.com/users/amirm3hdi/received_events","type":"User","site_admin":false},"body":"Revert the semicolons back to normal.","created_at":"2016-09-10T23:04:44Z","updated_at":"2016-09-10T23:04:44Z","html_url":"https://github.com/SavandBros/gonevis-dash/pull/73#discussion_r78285352","pull_request_url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/comments/78285352"},"html":{"href":"https://github.com/SavandBros/gonevis-dash/pull/73#discussion_r78285352"},"pull_request":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73","id":84770746,"html_url":"https://github.com/SavandBros/gonevis-dash/pull/73","diff_url":"https://github.com/SavandBros/gonevis-dash/pull/73.diff","patch_url":"https://github.com/SavandBros/gonevis-dash/pull/73.patch","issue_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/73","number":73,"state":"open","locked":false,"title":"Fix modal","user":{"login":"ArsalanSavand","id":15196063,"avatar_url":"https://avatars.githubusercontent.com/u/15196063?v=3","gravatar_id":"","url":"https://api.github.com/users/ArsalanSavand","html_url":"https://github.com/ArsalanSavand","followers_url":"https://api.github.com/users/ArsalanSavand/followers","following_url":"https://api.github.com/users/ArsalanSavand/following{/other_user}","gists_url":"https://api.github.com/users/ArsalanSavand/gists{/gist_id}","starred_url":"https://api.github.com/users/ArsalanSavand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArsalanSavand/subscriptions","organizations_url":"https://api.github.com/users/ArsalanSavand/orgs","repos_url":"https://api.github.com/users/ArsalanSavand/repos","events_url":"https://api.github.com/users/ArsalanSavand/events{/privacy}","received_events_url":"https://api.github.com/users/ArsalanSavand/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-10T23:03:13Z","updated_at":"2016-09-10T23:04:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50193df549d4fcfbe456dc4d425a68794f68ef70","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73/commits","review_comments_url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73/comments","review_comment_url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/73/comments","statuses_url":"https://api.github.com/repos/SavandBros/gonevis-dash/statuses/4d3dc0b266ad215393afb41854c775de31587e65","head":{"label":"SavandBros:fix-modal","ref":"fix-modal","sha":"4d3dc0b266ad215393afb41854c775de31587e65","user":{"login":"SavandBros","id":10527206,"avatar_url":"https://avatars.githubusercontent.com/u/10527206?v=3","gravatar_id":"","url":"https://api.github.com/users/SavandBros","html_url":"https://github.com/SavandBros","followers_url":"https://api.github.com/users/SavandBros/followers","following_url":"https://api.github.com/users/SavandBros/following{/other_user}","gists_url":"https://api.github.com/users/SavandBros/gists{/gist_id}","starred_url":"https://api.github.com/users/SavandBros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SavandBros/subscriptions","organizations_url":"https://api.github.com/users/SavandBros/orgs","repos_url":"https://api.github.com/users/SavandBros/repos","events_url":"https://api.github.com/users/SavandBros/events{/privacy}","received_events_url":"https://api.github.com/users/SavandBros/received_events","type":"Organization","site_admin":false},"repo":{"id":60882470,"name":"gonevis-dash","full_name":"SavandBros/gonevis-dash","owner":{"login":"SavandBros","id":10527206,"avatar_url":"https://avatars.githubusercontent.com/u/10527206?v=3","gravatar_id":"","url":"https://api.github.com/users/SavandBros","html_url":"https://github.com/SavandBros","followers_url":"https://api.github.com/users/SavandBros/followers","following_url":"https://api.github.com/users/SavandBros/following{/other_user}","gists_url":"https://api.github.com/users/SavandBros/gists{/gist_id}","starred_url":"https://api.github.com/users/SavandBros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SavandBros/subscriptions","organizations_url":"https://api.github.com/users/SavandBros/orgs","repos_url":"https://api.github.com/users/SavandBros/repos","events_url":"https://api.github.com/users/SavandBros/events{/privacy}","received_events_url":"https://api.github.com/users/SavandBros/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SavandBros/gonevis-dash","description":"Dashboard for me.Gonevis.com admin area","fork":false,"url":"https://api.github.com/repos/SavandBros/gonevis-dash","forks_url":"https://api.github.com/repos/SavandBros/gonevis-dash/forks","keys_url":"https://api.github.com/repos/SavandBros/gonevis-dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SavandBros/gonevis-dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SavandBros/gonevis-dash/teams","hooks_url":"https://api.github.com/repos/SavandBros/gonevis-dash/hooks","issue_events_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/events{/number}","events_url":"https://api.github.com/repos/SavandBros/gonevis-dash/events","assignees_url":"https://api.github.com/repos/SavandBros/gonevis-dash/assignees{/user}","branches_url":"https://api.github.com/repos/SavandBros/gonevis-dash/branches{/branch}","tags_url":"https://api.github.com/repos/SavandBros/gonevis-dash/tags","blobs_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SavandBros/gonevis-dash/statuses/{sha}","languages_url":"https://api.github.com/repos/SavandBros/gonevis-dash/languages","stargazers_url":"https://api.github.com/repos/SavandBros/gonevis-dash/stargazers","contributors_url":"https://api.github.com/repos/SavandBros/gonevis-dash/contributors","subscribers_url":"https://api.github.com/repos/SavandBros/gonevis-dash/subscribers","subscription_url":"https://api.github.com/repos/SavandBros/gonevis-dash/subscription","commits_url":"https://api.github.com/repos/SavandBros/gonevis-dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/SavandBros/gonevis-dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/SavandBros/gonevis-dash/contents/{+path}","compare_url":"https://api.github.com/repos/SavandBros/gonevis-dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SavandBros/gonevis-dash/merges","archive_url":"https://api.github.com/repos/SavandBros/gonevis-dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SavandBros/gonevis-dash/downloads","issues_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues{/number}","pulls_url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls{/number}","milestones_url":"https://api.github.com/repos/SavandBros/gonevis-dash/milestones{/number}","notifications_url":"https://api.github.com/repos/SavandBros/gonevis-dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SavandBros/gonevis-dash/labels{/name}","releases_url":"https://api.github.com/repos/SavandBros/gonevis-dash/releases{/id}","deployments_url":"https://api.github.com/repos/SavandBros/gonevis-dash/deployments","created_at":"2016-06-10T23:29:46Z","updated_at":"2016-07-28T13:39:47Z","pushed_at":"2016-09-10T23:03:14Z","git_url":"git://github.com/SavandBros/gonevis-dash.git","ssh_url":"git@github.com:SavandBros/gonevis-dash.git","clone_url":"https://github.com/SavandBros/gonevis-dash.git","svn_url":"https://github.com/SavandBros/gonevis-dash","homepage":"","size":294,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":2,"default_branch":"master"}},"base":{"label":"SavandBros:master","ref":"master","sha":"4a275d8427ac82b782ec8502bb9479eca93f9def","user":{"login":"SavandBros","id":10527206,"avatar_url":"https://avatars.githubusercontent.com/u/10527206?v=3","gravatar_id":"","url":"https://api.github.com/users/SavandBros","html_url":"https://github.com/SavandBros","followers_url":"https://api.github.com/users/SavandBros/followers","following_url":"https://api.github.com/users/SavandBros/following{/other_user}","gists_url":"https://api.github.com/users/SavandBros/gists{/gist_id}","starred_url":"https://api.github.com/users/SavandBros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SavandBros/subscriptions","organizations_url":"https://api.github.com/users/SavandBros/orgs","repos_url":"https://api.github.com/users/SavandBros/repos","events_url":"https://api.github.com/users/SavandBros/events{/privacy}","received_events_url":"https://api.github.com/users/SavandBros/received_events","type":"Organization","site_admin":false},"repo":{"id":60882470,"name":"gonevis-dash","full_name":"SavandBros/gonevis-dash","owner":{"login":"SavandBros","id":10527206,"avatar_url":"https://avatars.githubusercontent.com/u/10527206?v=3","gravatar_id":"","url":"https://api.github.com/users/SavandBros","html_url":"https://github.com/SavandBros","followers_url":"https://api.github.com/users/SavandBros/followers","following_url":"https://api.github.com/users/SavandBros/following{/other_user}","gists_url":"https://api.github.com/users/SavandBros/gists{/gist_id}","starred_url":"https://api.github.com/users/SavandBros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SavandBros/subscriptions","organizations_url":"https://api.github.com/users/SavandBros/orgs","repos_url":"https://api.github.com/users/SavandBros/repos","events_url":"https://api.github.com/users/SavandBros/events{/privacy}","received_events_url":"https://api.github.com/users/SavandBros/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SavandBros/gonevis-dash","description":"Dashboard for me.Gonevis.com admin area","fork":false,"url":"https://api.github.com/repos/SavandBros/gonevis-dash","forks_url":"https://api.github.com/repos/SavandBros/gonevis-dash/forks","keys_url":"https://api.github.com/repos/SavandBros/gonevis-dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SavandBros/gonevis-dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SavandBros/gonevis-dash/teams","hooks_url":"https://api.github.com/repos/SavandBros/gonevis-dash/hooks","issue_events_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/events{/number}","events_url":"https://api.github.com/repos/SavandBros/gonevis-dash/events","assignees_url":"https://api.github.com/repos/SavandBros/gonevis-dash/assignees{/user}","branches_url":"https://api.github.com/repos/SavandBros/gonevis-dash/branches{/branch}","tags_url":"https://api.github.com/repos/SavandBros/gonevis-dash/tags","blobs_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SavandBros/gonevis-dash/statuses/{sha}","languages_url":"https://api.github.com/repos/SavandBros/gonevis-dash/languages","stargazers_url":"https://api.github.com/repos/SavandBros/gonevis-dash/stargazers","contributors_url":"https://api.github.com/repos/SavandBros/gonevis-dash/contributors","subscribers_url":"https://api.github.com/repos/SavandBros/gonevis-dash/subscribers","subscription_url":"https://api.github.com/repos/SavandBros/gonevis-dash/subscription","commits_url":"https://api.github.com/repos/SavandBros/gonevis-dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/SavandBros/gonevis-dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/SavandBros/gonevis-dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/SavandBros/gonevis-dash/contents/{+path}","compare_url":"https://api.github.com/repos/SavandBros/gonevis-dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SavandBros/gonevis-dash/merges","archive_url":"https://api.github.com/repos/SavandBros/gonevis-dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SavandBros/gonevis-dash/downloads","issues_url":"https://api.github.com/repos/SavandBros/gonevis-dash/issues{/number}","pulls_url":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls{/number}","milestones_url":"https://api.github.com/repos/SavandBros/gonevis-dash/milestones{/number}","notifications_url":"https://api.github.com/repos/SavandBros/gonevis-dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SavandBros/gonevis-dash/labels{/name}","releases_url":"https://api.github.com/repos/SavandBros/gonevis-dash/releases{/id}","deployments_url":"https://api.github.com/repos/SavandBros/gonevis-dash/deployments","created_at":"2016-06-10T23:29:46Z","updated_at":"2016-07-28T13:39:47Z","pushed_at":"2016-09-10T23:03:14Z","git_url":"git://github.com/SavandBros/gonevis-dash.git","ssh_url":"git@github.com:SavandBros/gonevis-dash.git","clone_url":"https://github.com/SavandBros/gonevis-dash.git","svn_url":"https://github.com/SavandBros/gonevis-dash","homepage":"","size":294,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73"},"html":{"href":"https://github.com/SavandBros/gonevis-dash/pull/73"},"issue":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/73"},"comments":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/SavandBros/gonevis-dash/statuses/4d3dc0b266ad215393afb41854c775de31587e65"}}}}
{"actor":{"display_login":"amirm3hdi"}}