{"action":"created","comment":{"url":"https://api.github.com/repos/groupbuddies/council/pulls/comments/23216286","id":23216286,"diff_hunk":"@@ -0,0 +1,19 @@\n+(function() {\n+  'use strict';\n+\n+  angular\n+    .module('council.core')\n+    .factory('mobileDetect', mobileDetect);","path":"app/assets/javascripts/app/core/mobile_detect.js","position":6,"original_position":6,"commit_id":"fb269034fb6929d02fb1454c6cbb7850cd383c0e","original_commit_id":"fb269034fb6929d02fb1454c6cbb7850cd383c0e","user":{"login":"gabrielpoca","id":934580,"avatar_url":"https://avatars.githubusercontent.com/u/934580?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielpoca","html_url":"https://github.com/gabrielpoca","followers_url":"https://api.github.com/users/gabrielpoca/followers","following_url":"https://api.github.com/users/gabrielpoca/following{/other_user}","gists_url":"https://api.github.com/users/gabrielpoca/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielpoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielpoca/subscriptions","organizations_url":"https://api.github.com/users/gabrielpoca/orgs","repos_url":"https://api.github.com/users/gabrielpoca/repos","events_url":"https://api.github.com/users/gabrielpoca/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielpoca/received_events","type":"User","site_admin":false},"body":"Please read the comments with attention, I already said that's this is not a factory, it's a service, please read [this](https://www.google.pt/search?q=factory+programming&oq=factory+programming&aqs=chrome..69i57.5804j0j7&sourceid=chrome&es_sm=91&ie=UTF-8) . Also, I already commented that `mobileDetect` is not a good name.","created_at":"2015-01-20T11:34:55Z","updated_at":"2015-01-20T11:34:55Z","html_url":"https://github.com/groupbuddies/council/pull/101#discussion_r23216286","pull_request_url":"https://api.github.com/repos/groupbuddies/council/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/groupbuddies/council/pulls/comments/23216286"},"html":{"href":"https://github.com/groupbuddies/council/pull/101#discussion_r23216286"},"pull_request":{"href":"https://api.github.com/repos/groupbuddies/council/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/groupbuddies/council/pulls/101","id":27473857,"html_url":"https://github.com/groupbuddies/council/pull/101","diff_url":"https://github.com/groupbuddies/council/pull/101.diff","patch_url":"https://github.com/groupbuddies/council/pull/101.patch","issue_url":"https://api.github.com/repos/groupbuddies/council/issues/101","number":101,"state":"open","locked":false,"title":"Desktop layout for create and edit discussion","user":{"login":"joaojusto","id":4236592,"avatar_url":"https://avatars.githubusercontent.com/u/4236592?v=3","gravatar_id":"","url":"https://api.github.com/users/joaojusto","html_url":"https://github.com/joaojusto","followers_url":"https://api.github.com/users/joaojusto/followers","following_url":"https://api.github.com/users/joaojusto/following{/other_user}","gists_url":"https://api.github.com/users/joaojusto/gists{/gist_id}","starred_url":"https://api.github.com/users/joaojusto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaojusto/subscriptions","organizations_url":"https://api.github.com/users/joaojusto/orgs","repos_url":"https://api.github.com/users/joaojusto/repos","events_url":"https://api.github.com/users/joaojusto/events{/privacy}","received_events_url":"https://api.github.com/users/joaojusto/received_events","type":"User","site_admin":false},"body":"When on desktop, the create and edit discussion form is shown in one page instead.\r\n\r\n![screen shot 2015-01-15 at 23 44 12](https://cloud.githubusercontent.com/assets/4236592/5769377/6fbdbce4-9d12-11e4-85ab-2f615be4f1d0.png)\r\n![screen shot 2015-01-15 at 23 44 29](https://cloud.githubusercontent.com/assets/4236592/5769378/6fbff450-9d12-11e4-8812-d33d2298cc50.png)\r\n","created_at":"2015-01-15T23:59:07Z","updated_at":"2015-01-20T11:34:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"229d6294eb8bc3794cc36bd7929bd031015d8aa5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/groupbuddies/council/pulls/101/commits","review_comments_url":"https://api.github.com/repos/groupbuddies/council/pulls/101/comments","review_comment_url":"https://api.github.com/repos/groupbuddies/council/pulls/comments/{number}","comments_url":"https://api.github.com/repos/groupbuddies/council/issues/101/comments","statuses_url":"https://api.github.com/repos/groupbuddies/council/statuses/fb269034fb6929d02fb1454c6cbb7850cd383c0e","head":{"label":"groupbuddies:jj-edit-comment-desktop","ref":"jj-edit-comment-desktop","sha":"fb269034fb6929d02fb1454c6cbb7850cd383c0e","user":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"repo":{"id":27681807,"name":"council","full_name":"groupbuddies/council","owner":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/groupbuddies/council","description":"","fork":false,"url":"https://api.github.com/repos/groupbuddies/council","forks_url":"https://api.github.com/repos/groupbuddies/council/forks","keys_url":"https://api.github.com/repos/groupbuddies/council/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groupbuddies/council/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groupbuddies/council/teams","hooks_url":"https://api.github.com/repos/groupbuddies/council/hooks","issue_events_url":"https://api.github.com/repos/groupbuddies/council/issues/events{/number}","events_url":"https://api.github.com/repos/groupbuddies/council/events","assignees_url":"https://api.github.com/repos/groupbuddies/council/assignees{/user}","branches_url":"https://api.github.com/repos/groupbuddies/council/branches{/branch}","tags_url":"https://api.github.com/repos/groupbuddies/council/tags","blobs_url":"https://api.github.com/repos/groupbuddies/council/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groupbuddies/council/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groupbuddies/council/git/refs{/sha}","trees_url":"https://api.github.com/repos/groupbuddies/council/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groupbuddies/council/statuses/{sha}","languages_url":"https://api.github.com/repos/groupbuddies/council/languages","stargazers_url":"https://api.github.com/repos/groupbuddies/council/stargazers","contributors_url":"https://api.github.com/repos/groupbuddies/council/contributors","subscribers_url":"https://api.github.com/repos/groupbuddies/council/subscribers","subscription_url":"https://api.github.com/repos/groupbuddies/council/subscription","commits_url":"https://api.github.com/repos/groupbuddies/council/commits{/sha}","git_commits_url":"https://api.github.com/repos/groupbuddies/council/git/commits{/sha}","comments_url":"https://api.github.com/repos/groupbuddies/council/comments{/number}","issue_comment_url":"https://api.github.com/repos/groupbuddies/council/issues/comments/{number}","contents_url":"https://api.github.com/repos/groupbuddies/council/contents/{+path}","compare_url":"https://api.github.com/repos/groupbuddies/council/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groupbuddies/council/merges","archive_url":"https://api.github.com/repos/groupbuddies/council/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groupbuddies/council/downloads","issues_url":"https://api.github.com/repos/groupbuddies/council/issues{/number}","pulls_url":"https://api.github.com/repos/groupbuddies/council/pulls{/number}","milestones_url":"https://api.github.com/repos/groupbuddies/council/milestones{/number}","notifications_url":"https://api.github.com/repos/groupbuddies/council/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groupbuddies/council/labels{/name}","releases_url":"https://api.github.com/repos/groupbuddies/council/releases{/id}","created_at":"2014-12-07T19:28:26Z","updated_at":"2015-01-20T11:22:44Z","pushed_at":"2015-01-20T11:22:47Z","git_url":"git://github.com/groupbuddies/council.git","ssh_url":"git@github.com:groupbuddies/council.git","clone_url":"https://github.com/groupbuddies/council.git","svn_url":"https://github.com/groupbuddies/council","homepage":"http://council.groupbuddies.com","size":8783,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"groupbuddies:master","ref":"master","sha":"f568bd92eaa524c775b7d3d6de85af31bedfebf2","user":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"repo":{"id":27681807,"name":"council","full_name":"groupbuddies/council","owner":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/groupbuddies/council","description":"","fork":false,"url":"https://api.github.com/repos/groupbuddies/council","forks_url":"https://api.github.com/repos/groupbuddies/council/forks","keys_url":"https://api.github.com/repos/groupbuddies/council/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groupbuddies/council/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groupbuddies/council/teams","hooks_url":"https://api.github.com/repos/groupbuddies/council/hooks","issue_events_url":"https://api.github.com/repos/groupbuddies/council/issues/events{/number}","events_url":"https://api.github.com/repos/groupbuddies/council/events","assignees_url":"https://api.github.com/repos/groupbuddies/council/assignees{/user}","branches_url":"https://api.github.com/repos/groupbuddies/council/branches{/branch}","tags_url":"https://api.github.com/repos/groupbuddies/council/tags","blobs_url":"https://api.github.com/repos/groupbuddies/council/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groupbuddies/council/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groupbuddies/council/git/refs{/sha}","trees_url":"https://api.github.com/repos/groupbuddies/council/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groupbuddies/council/statuses/{sha}","languages_url":"https://api.github.com/repos/groupbuddies/council/languages","stargazers_url":"https://api.github.com/repos/groupbuddies/council/stargazers","contributors_url":"https://api.github.com/repos/groupbuddies/council/contributors","subscribers_url":"https://api.github.com/repos/groupbuddies/council/subscribers","subscription_url":"https://api.github.com/repos/groupbuddies/council/subscription","commits_url":"https://api.github.com/repos/groupbuddies/council/commits{/sha}","git_commits_url":"https://api.github.com/repos/groupbuddies/council/git/commits{/sha}","comments_url":"https://api.github.com/repos/groupbuddies/council/comments{/number}","issue_comment_url":"https://api.github.com/repos/groupbuddies/council/issues/comments/{number}","contents_url":"https://api.github.com/repos/groupbuddies/council/contents/{+path}","compare_url":"https://api.github.com/repos/groupbuddies/council/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groupbuddies/council/merges","archive_url":"https://api.github.com/repos/groupbuddies/council/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groupbuddies/council/downloads","issues_url":"https://api.github.com/repos/groupbuddies/council/issues{/number}","pulls_url":"https://api.github.com/repos/groupbuddies/council/pulls{/number}","milestones_url":"https://api.github.com/repos/groupbuddies/council/milestones{/number}","notifications_url":"https://api.github.com/repos/groupbuddies/council/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groupbuddies/council/labels{/name}","releases_url":"https://api.github.com/repos/groupbuddies/council/releases{/id}","created_at":"2014-12-07T19:28:26Z","updated_at":"2015-01-20T11:22:44Z","pushed_at":"2015-01-20T11:22:47Z","git_url":"git://github.com/groupbuddies/council.git","ssh_url":"git@github.com:groupbuddies/council.git","clone_url":"https://github.com/groupbuddies/council.git","svn_url":"https://github.com/groupbuddies/council","homepage":"http://council.groupbuddies.com","size":8783,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/groupbuddies/council/pulls/101"},"html":{"href":"https://github.com/groupbuddies/council/pull/101"},"issue":{"href":"https://api.github.com/repos/groupbuddies/council/issues/101"},"comments":{"href":"https://api.github.com/repos/groupbuddies/council/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/groupbuddies/council/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/groupbuddies/council/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/groupbuddies/council/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/groupbuddies/council/statuses/fb269034fb6929d02fb1454c6cbb7850cd383c0e"}}}}