{"action":"created","comment":{"url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/comments/24969472","id":24969472,"diff_hunk":"@@ -1,37 +1,41 @@\n /* global angular */\n \n-'use strict';\n-\n-var app = angular.module('app', ['firebase', 'ngSanitize', 'ngRoute', 'ngStorage', 'luegg.directives']);\n-\n-app.constant('FIREBASE_URL', 'https://chatowls.firebaseio.com');\n-\n-app.constant('TRANSLATE_URL', 'https://translate.yandex.net/api/v1.5/tr.json/translate');\n-app.constant('TRANSLATE_APIKEY', 'trnsl.1.1.20141204T090257Z.23d0a0607bff2584.f2816ba8b99aafd0c78391b4154631a6e560c8cf');\n-\n-app.config(function($logProvider) {\n-  $logProvider.debugEnabled(true);\n-});\n-\n-app.config(function($routeProvider) {\n-  $routeProvider\n-    .when('/', {\n-      templateUrl: '/templates/login/login.html',\n-      controller: 'LoginController'\n-    })\n-    .when('/login', {\n-      templateUrl: '/templates/login/login.html',\n-      controller: 'LoginController'\n-    })\n-    .when('/messages', {\n-      templateUrl: '/templates/messages/messages.html',\n-      controller: 'MessagesController'\n-    })\n-    .when('/logout', {\n-      templateUrl: '/templates/logout/logout.html',\n-      controller: 'LogoutController'\n-    })\n-    .otherwise({\n-      redirectTo: '/'\n-    });\n-});\n+(function() {\n+\n+  \"use strict\";\n+\n+  var app = angular.module(\"app\", [\"firebase\", \"ngSanitize\", \"ngRoute\", \"ngStorage\", \"luegg.directives\"]);\n+\n+  app.constant(\"FIREBASE_URL\", \"https://chatowls.firebaseio.com\");\n+\n+  app.constant(\"TRANSLATE_URL\", \"https://translate.yandex.net/api/v1.5/tr.json/translate\");","path":"client/assets/js/app.js","position":46,"original_position":46,"commit_id":"ac82a7cb77c3a9b4ced2c9ef9585e026049918c7","original_commit_id":"ac82a7cb77c3a9b4ced2c9ef9585e026049918c7","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 is too long.","created_at":"2015-02-19T07:11:37Z","updated_at":"2015-02-19T07:11:37Z","html_url":"https://github.com/gdumitrescu/chatowls/pull/2#discussion_r24969472","pull_request_url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/comments/24969472"},"html":{"href":"https://github.com/gdumitrescu/chatowls/pull/2#discussion_r24969472"},"pull_request":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2","id":29590590,"html_url":"https://github.com/gdumitrescu/chatowls/pull/2","diff_url":"https://github.com/gdumitrescu/chatowls/pull/2.diff","patch_url":"https://github.com/gdumitrescu/chatowls/pull/2.patch","issue_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues/2","number":2,"state":"open","locked":false,"title":"chore(jshint): cleanup javascript","user":{"login":"gdumitrescu","id":432849,"avatar_url":"https://avatars.githubusercontent.com/u/432849?v=3","gravatar_id":"","url":"https://api.github.com/users/gdumitrescu","html_url":"https://github.com/gdumitrescu","followers_url":"https://api.github.com/users/gdumitrescu/followers","following_url":"https://api.github.com/users/gdumitrescu/following{/other_user}","gists_url":"https://api.github.com/users/gdumitrescu/gists{/gist_id}","starred_url":"https://api.github.com/users/gdumitrescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdumitrescu/subscriptions","organizations_url":"https://api.github.com/users/gdumitrescu/orgs","repos_url":"https://api.github.com/users/gdumitrescu/repos","events_url":"https://api.github.com/users/gdumitrescu/events{/privacy}","received_events_url":"https://api.github.com/users/gdumitrescu/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-02-19T06:52:00Z","updated_at":"2015-02-19T07:11:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5b821987ba992cb2c7314098daa4d56b7cf4cbe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2/commits","review_comments_url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2/comments","review_comment_url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues/2/comments","statuses_url":"https://api.github.com/repos/gdumitrescu/chatowls/statuses/ac82a7cb77c3a9b4ced2c9ef9585e026049918c7","head":{"label":"chore-clean-javascript","ref":"chore-clean-javascript","sha":"ac82a7cb77c3a9b4ced2c9ef9585e026049918c7","user":{"login":"gdumitrescu","id":432849,"avatar_url":"https://avatars.githubusercontent.com/u/432849?v=3","gravatar_id":"","url":"https://api.github.com/users/gdumitrescu","html_url":"https://github.com/gdumitrescu","followers_url":"https://api.github.com/users/gdumitrescu/followers","following_url":"https://api.github.com/users/gdumitrescu/following{/other_user}","gists_url":"https://api.github.com/users/gdumitrescu/gists{/gist_id}","starred_url":"https://api.github.com/users/gdumitrescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdumitrescu/subscriptions","organizations_url":"https://api.github.com/users/gdumitrescu/orgs","repos_url":"https://api.github.com/users/gdumitrescu/repos","events_url":"https://api.github.com/users/gdumitrescu/events{/privacy}","received_events_url":"https://api.github.com/users/gdumitrescu/received_events","type":"User","site_admin":false},"repo":{"id":31003639,"name":"chatowls","full_name":"gdumitrescu/chatowls","owner":{"login":"gdumitrescu","id":432849,"avatar_url":"https://avatars.githubusercontent.com/u/432849?v=3","gravatar_id":"","url":"https://api.github.com/users/gdumitrescu","html_url":"https://github.com/gdumitrescu","followers_url":"https://api.github.com/users/gdumitrescu/followers","following_url":"https://api.github.com/users/gdumitrescu/following{/other_user}","gists_url":"https://api.github.com/users/gdumitrescu/gists{/gist_id}","starred_url":"https://api.github.com/users/gdumitrescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdumitrescu/subscriptions","organizations_url":"https://api.github.com/users/gdumitrescu/orgs","repos_url":"https://api.github.com/users/gdumitrescu/repos","events_url":"https://api.github.com/users/gdumitrescu/events{/privacy}","received_events_url":"https://api.github.com/users/gdumitrescu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gdumitrescu/chatowls","description":"Chat with anyone in the language of your choice","fork":true,"url":"https://api.github.com/repos/gdumitrescu/chatowls","forks_url":"https://api.github.com/repos/gdumitrescu/chatowls/forks","keys_url":"https://api.github.com/repos/gdumitrescu/chatowls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gdumitrescu/chatowls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gdumitrescu/chatowls/teams","hooks_url":"https://api.github.com/repos/gdumitrescu/chatowls/hooks","issue_events_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues/events{/number}","events_url":"https://api.github.com/repos/gdumitrescu/chatowls/events","assignees_url":"https://api.github.com/repos/gdumitrescu/chatowls/assignees{/user}","branches_url":"https://api.github.com/repos/gdumitrescu/chatowls/branches{/branch}","tags_url":"https://api.github.com/repos/gdumitrescu/chatowls/tags","blobs_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/refs{/sha}","trees_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gdumitrescu/chatowls/statuses/{sha}","languages_url":"https://api.github.com/repos/gdumitrescu/chatowls/languages","stargazers_url":"https://api.github.com/repos/gdumitrescu/chatowls/stargazers","contributors_url":"https://api.github.com/repos/gdumitrescu/chatowls/contributors","subscribers_url":"https://api.github.com/repos/gdumitrescu/chatowls/subscribers","subscription_url":"https://api.github.com/repos/gdumitrescu/chatowls/subscription","commits_url":"https://api.github.com/repos/gdumitrescu/chatowls/commits{/sha}","git_commits_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/commits{/sha}","comments_url":"https://api.github.com/repos/gdumitrescu/chatowls/comments{/number}","issue_comment_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues/comments/{number}","contents_url":"https://api.github.com/repos/gdumitrescu/chatowls/contents/{+path}","compare_url":"https://api.github.com/repos/gdumitrescu/chatowls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gdumitrescu/chatowls/merges","archive_url":"https://api.github.com/repos/gdumitrescu/chatowls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gdumitrescu/chatowls/downloads","issues_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues{/number}","pulls_url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls{/number}","milestones_url":"https://api.github.com/repos/gdumitrescu/chatowls/milestones{/number}","notifications_url":"https://api.github.com/repos/gdumitrescu/chatowls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gdumitrescu/chatowls/labels{/name}","releases_url":"https://api.github.com/repos/gdumitrescu/chatowls/releases{/id}","created_at":"2015-02-19T06:10:06Z","updated_at":"2015-02-19T06:29:33Z","pushed_at":"2015-02-19T07:11:21Z","git_url":"git://github.com/gdumitrescu/chatowls.git","ssh_url":"git@github.com:gdumitrescu/chatowls.git","clone_url":"https://github.com/gdumitrescu/chatowls.git","svn_url":"https://github.com/gdumitrescu/chatowls","homepage":"http://gdumitrescu.koding.io","size":585,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"master","ref":"master","sha":"ec3264d1c689d004eff9b933f141ffcb7f75a166","user":{"login":"gdumitrescu","id":432849,"avatar_url":"https://avatars.githubusercontent.com/u/432849?v=3","gravatar_id":"","url":"https://api.github.com/users/gdumitrescu","html_url":"https://github.com/gdumitrescu","followers_url":"https://api.github.com/users/gdumitrescu/followers","following_url":"https://api.github.com/users/gdumitrescu/following{/other_user}","gists_url":"https://api.github.com/users/gdumitrescu/gists{/gist_id}","starred_url":"https://api.github.com/users/gdumitrescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdumitrescu/subscriptions","organizations_url":"https://api.github.com/users/gdumitrescu/orgs","repos_url":"https://api.github.com/users/gdumitrescu/repos","events_url":"https://api.github.com/users/gdumitrescu/events{/privacy}","received_events_url":"https://api.github.com/users/gdumitrescu/received_events","type":"User","site_admin":false},"repo":{"id":31003639,"name":"chatowls","full_name":"gdumitrescu/chatowls","owner":{"login":"gdumitrescu","id":432849,"avatar_url":"https://avatars.githubusercontent.com/u/432849?v=3","gravatar_id":"","url":"https://api.github.com/users/gdumitrescu","html_url":"https://github.com/gdumitrescu","followers_url":"https://api.github.com/users/gdumitrescu/followers","following_url":"https://api.github.com/users/gdumitrescu/following{/other_user}","gists_url":"https://api.github.com/users/gdumitrescu/gists{/gist_id}","starred_url":"https://api.github.com/users/gdumitrescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdumitrescu/subscriptions","organizations_url":"https://api.github.com/users/gdumitrescu/orgs","repos_url":"https://api.github.com/users/gdumitrescu/repos","events_url":"https://api.github.com/users/gdumitrescu/events{/privacy}","received_events_url":"https://api.github.com/users/gdumitrescu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gdumitrescu/chatowls","description":"Chat with anyone in the language of your choice","fork":true,"url":"https://api.github.com/repos/gdumitrescu/chatowls","forks_url":"https://api.github.com/repos/gdumitrescu/chatowls/forks","keys_url":"https://api.github.com/repos/gdumitrescu/chatowls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gdumitrescu/chatowls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gdumitrescu/chatowls/teams","hooks_url":"https://api.github.com/repos/gdumitrescu/chatowls/hooks","issue_events_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues/events{/number}","events_url":"https://api.github.com/repos/gdumitrescu/chatowls/events","assignees_url":"https://api.github.com/repos/gdumitrescu/chatowls/assignees{/user}","branches_url":"https://api.github.com/repos/gdumitrescu/chatowls/branches{/branch}","tags_url":"https://api.github.com/repos/gdumitrescu/chatowls/tags","blobs_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/refs{/sha}","trees_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gdumitrescu/chatowls/statuses/{sha}","languages_url":"https://api.github.com/repos/gdumitrescu/chatowls/languages","stargazers_url":"https://api.github.com/repos/gdumitrescu/chatowls/stargazers","contributors_url":"https://api.github.com/repos/gdumitrescu/chatowls/contributors","subscribers_url":"https://api.github.com/repos/gdumitrescu/chatowls/subscribers","subscription_url":"https://api.github.com/repos/gdumitrescu/chatowls/subscription","commits_url":"https://api.github.com/repos/gdumitrescu/chatowls/commits{/sha}","git_commits_url":"https://api.github.com/repos/gdumitrescu/chatowls/git/commits{/sha}","comments_url":"https://api.github.com/repos/gdumitrescu/chatowls/comments{/number}","issue_comment_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues/comments/{number}","contents_url":"https://api.github.com/repos/gdumitrescu/chatowls/contents/{+path}","compare_url":"https://api.github.com/repos/gdumitrescu/chatowls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gdumitrescu/chatowls/merges","archive_url":"https://api.github.com/repos/gdumitrescu/chatowls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gdumitrescu/chatowls/downloads","issues_url":"https://api.github.com/repos/gdumitrescu/chatowls/issues{/number}","pulls_url":"https://api.github.com/repos/gdumitrescu/chatowls/pulls{/number}","milestones_url":"https://api.github.com/repos/gdumitrescu/chatowls/milestones{/number}","notifications_url":"https://api.github.com/repos/gdumitrescu/chatowls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gdumitrescu/chatowls/labels{/name}","releases_url":"https://api.github.com/repos/gdumitrescu/chatowls/releases{/id}","created_at":"2015-02-19T06:10:06Z","updated_at":"2015-02-19T06:29:33Z","pushed_at":"2015-02-19T07:11:21Z","git_url":"git://github.com/gdumitrescu/chatowls.git","ssh_url":"git@github.com:gdumitrescu/chatowls.git","clone_url":"https://github.com/gdumitrescu/chatowls.git","svn_url":"https://github.com/gdumitrescu/chatowls","homepage":"http://gdumitrescu.koding.io","size":585,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2"},"html":{"href":"https://github.com/gdumitrescu/chatowls/pull/2"},"issue":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/issues/2"},"comments":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/gdumitrescu/chatowls/statuses/ac82a7cb77c3a9b4ced2c9ef9585e026049918c7"}}}}