{"action":"created","comment":{"url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/comments/40498851","id":40498851,"diff_hunk":"@@ -213,6 +216,7 @@ function DeckbuilderController(CardshifterServerAPI, $scope, $rootScope, $locati\n \n             $location.path(\"/game_board\");\n         } else {\n+            ErrorCreator(\"Not enough cards\");","path":"src/deck_builder/controller.js","position":73,"original_position":73,"commit_id":"3a529084666c10afce7f293739f520074f62e181","original_commit_id":"3a529084666c10afce7f293739f520074f62e181","user":{"login":"jacwah","id":3816754,"avatar_url":"https://avatars.githubusercontent.com/u/3816754?v=3","gravatar_id":"","url":"https://api.github.com/users/jacwah","html_url":"https://github.com/jacwah","followers_url":"https://api.github.com/users/jacwah/followers","following_url":"https://api.github.com/users/jacwah/following{/other_user}","gists_url":"https://api.github.com/users/jacwah/gists{/gist_id}","starred_url":"https://api.github.com/users/jacwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacwah/subscriptions","organizations_url":"https://api.github.com/users/jacwah/orgs","repos_url":"https://api.github.com/users/jacwah/repos","events_url":"https://api.github.com/users/jacwah/events{/privacy}","received_events_url":"https://api.github.com/users/jacwah/received_events","type":"User","site_admin":false},"body":"Shouldn't this be ` ErrorCreator.create(\"Not enough cards\")`?","created_at":"2015-09-26T21:59:05Z","updated_at":"2015-09-26T21:59:05Z","html_url":"https://github.com/Cardshifter/HTML-Client/pull/110#discussion_r40498851","pull_request_url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/comments/40498851"},"html":{"href":"https://github.com/Cardshifter/HTML-Client/pull/110#discussion_r40498851"},"pull_request":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110","id":46067031,"html_url":"https://github.com/Cardshifter/HTML-Client/pull/110","diff_url":"https://github.com/Cardshifter/HTML-Client/pull/110.diff","patch_url":"https://github.com/Cardshifter/HTML-Client/pull/110.patch","issue_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/110","number":110,"state":"open","locked":false,"title":"Errors and new API","user":{"login":"SirPython","id":8549957,"avatar_url":"https://avatars.githubusercontent.com/u/8549957?v=3","gravatar_id":"","url":"https://api.github.com/users/SirPython","html_url":"https://github.com/SirPython","followers_url":"https://api.github.com/users/SirPython/followers","following_url":"https://api.github.com/users/SirPython/following{/other_user}","gists_url":"https://api.github.com/users/SirPython/gists{/gist_id}","starred_url":"https://api.github.com/users/SirPython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirPython/subscriptions","organizations_url":"https://api.github.com/users/SirPython/orgs","repos_url":"https://api.github.com/users/SirPython/repos","events_url":"https://api.github.com/users/SirPython/events{/privacy}","received_events_url":"https://api.github.com/users/SirPython/received_events","type":"User","site_admin":false},"body":"Created a system for displaying errors in a popup/modal.\r\n\r\nUpdated the API's `setMessageListener`","created_at":"2015-09-25T23:04:58Z","updated_at":"2015-09-26T21:59:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110/commits","review_comments_url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110/comments","review_comment_url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/110/comments","statuses_url":"https://api.github.com/repos/Cardshifter/HTML-Client/statuses/3a529084666c10afce7f293739f520074f62e181","head":{"label":"Cardshifter:errors","ref":"errors","sha":"3a529084666c10afce7f293739f520074f62e181","user":{"login":"Cardshifter","id":8478053,"avatar_url":"https://avatars.githubusercontent.com/u/8478053?v=3","gravatar_id":"","url":"https://api.github.com/users/Cardshifter","html_url":"https://github.com/Cardshifter","followers_url":"https://api.github.com/users/Cardshifter/followers","following_url":"https://api.github.com/users/Cardshifter/following{/other_user}","gists_url":"https://api.github.com/users/Cardshifter/gists{/gist_id}","starred_url":"https://api.github.com/users/Cardshifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cardshifter/subscriptions","organizations_url":"https://api.github.com/users/Cardshifter/orgs","repos_url":"https://api.github.com/users/Cardshifter/repos","events_url":"https://api.github.com/users/Cardshifter/events{/privacy}","received_events_url":"https://api.github.com/users/Cardshifter/received_events","type":"Organization","site_admin":false},"repo":{"id":39746630,"name":"HTML-Client","full_name":"Cardshifter/HTML-Client","owner":{"login":"Cardshifter","id":8478053,"avatar_url":"https://avatars.githubusercontent.com/u/8478053?v=3","gravatar_id":"","url":"https://api.github.com/users/Cardshifter","html_url":"https://github.com/Cardshifter","followers_url":"https://api.github.com/users/Cardshifter/followers","following_url":"https://api.github.com/users/Cardshifter/following{/other_user}","gists_url":"https://api.github.com/users/Cardshifter/gists{/gist_id}","starred_url":"https://api.github.com/users/Cardshifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cardshifter/subscriptions","organizations_url":"https://api.github.com/users/Cardshifter/orgs","repos_url":"https://api.github.com/users/Cardshifter/repos","events_url":"https://api.github.com/users/Cardshifter/events{/privacy}","received_events_url":"https://api.github.com/users/Cardshifter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cardshifter/HTML-Client","description":"HTML/CSS/JS-based client for Cardshifter","fork":false,"url":"https://api.github.com/repos/Cardshifter/HTML-Client","forks_url":"https://api.github.com/repos/Cardshifter/HTML-Client/forks","keys_url":"https://api.github.com/repos/Cardshifter/HTML-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cardshifter/HTML-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cardshifter/HTML-Client/teams","hooks_url":"https://api.github.com/repos/Cardshifter/HTML-Client/hooks","issue_events_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/events{/number}","events_url":"https://api.github.com/repos/Cardshifter/HTML-Client/events","assignees_url":"https://api.github.com/repos/Cardshifter/HTML-Client/assignees{/user}","branches_url":"https://api.github.com/repos/Cardshifter/HTML-Client/branches{/branch}","tags_url":"https://api.github.com/repos/Cardshifter/HTML-Client/tags","blobs_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cardshifter/HTML-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/Cardshifter/HTML-Client/languages","stargazers_url":"https://api.github.com/repos/Cardshifter/HTML-Client/stargazers","contributors_url":"https://api.github.com/repos/Cardshifter/HTML-Client/contributors","subscribers_url":"https://api.github.com/repos/Cardshifter/HTML-Client/subscribers","subscription_url":"https://api.github.com/repos/Cardshifter/HTML-Client/subscription","commits_url":"https://api.github.com/repos/Cardshifter/HTML-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cardshifter/HTML-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cardshifter/HTML-Client/contents/{+path}","compare_url":"https://api.github.com/repos/Cardshifter/HTML-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cardshifter/HTML-Client/merges","archive_url":"https://api.github.com/repos/Cardshifter/HTML-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cardshifter/HTML-Client/downloads","issues_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues{/number}","pulls_url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/Cardshifter/HTML-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/Cardshifter/HTML-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cardshifter/HTML-Client/labels{/name}","releases_url":"https://api.github.com/repos/Cardshifter/HTML-Client/releases{/id}","created_at":"2015-07-26T23:54:19Z","updated_at":"2015-08-26T11:26:18Z","pushed_at":"2015-09-26T21:52:32Z","git_url":"git://github.com/Cardshifter/HTML-Client.git","ssh_url":"git@github.com:Cardshifter/HTML-Client.git","clone_url":"https://github.com/Cardshifter/HTML-Client.git","svn_url":"https://github.com/Cardshifter/HTML-Client","homepage":null,"size":9505,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":38,"forks":3,"open_issues":38,"watchers":6,"default_branch":"master"}},"base":{"label":"Cardshifter:develop","ref":"develop","sha":"53a133803bb756a3bb762f9ba174a3bef85efc81","user":{"login":"Cardshifter","id":8478053,"avatar_url":"https://avatars.githubusercontent.com/u/8478053?v=3","gravatar_id":"","url":"https://api.github.com/users/Cardshifter","html_url":"https://github.com/Cardshifter","followers_url":"https://api.github.com/users/Cardshifter/followers","following_url":"https://api.github.com/users/Cardshifter/following{/other_user}","gists_url":"https://api.github.com/users/Cardshifter/gists{/gist_id}","starred_url":"https://api.github.com/users/Cardshifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cardshifter/subscriptions","organizations_url":"https://api.github.com/users/Cardshifter/orgs","repos_url":"https://api.github.com/users/Cardshifter/repos","events_url":"https://api.github.com/users/Cardshifter/events{/privacy}","received_events_url":"https://api.github.com/users/Cardshifter/received_events","type":"Organization","site_admin":false},"repo":{"id":39746630,"name":"HTML-Client","full_name":"Cardshifter/HTML-Client","owner":{"login":"Cardshifter","id":8478053,"avatar_url":"https://avatars.githubusercontent.com/u/8478053?v=3","gravatar_id":"","url":"https://api.github.com/users/Cardshifter","html_url":"https://github.com/Cardshifter","followers_url":"https://api.github.com/users/Cardshifter/followers","following_url":"https://api.github.com/users/Cardshifter/following{/other_user}","gists_url":"https://api.github.com/users/Cardshifter/gists{/gist_id}","starred_url":"https://api.github.com/users/Cardshifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cardshifter/subscriptions","organizations_url":"https://api.github.com/users/Cardshifter/orgs","repos_url":"https://api.github.com/users/Cardshifter/repos","events_url":"https://api.github.com/users/Cardshifter/events{/privacy}","received_events_url":"https://api.github.com/users/Cardshifter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cardshifter/HTML-Client","description":"HTML/CSS/JS-based client for Cardshifter","fork":false,"url":"https://api.github.com/repos/Cardshifter/HTML-Client","forks_url":"https://api.github.com/repos/Cardshifter/HTML-Client/forks","keys_url":"https://api.github.com/repos/Cardshifter/HTML-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cardshifter/HTML-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cardshifter/HTML-Client/teams","hooks_url":"https://api.github.com/repos/Cardshifter/HTML-Client/hooks","issue_events_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/events{/number}","events_url":"https://api.github.com/repos/Cardshifter/HTML-Client/events","assignees_url":"https://api.github.com/repos/Cardshifter/HTML-Client/assignees{/user}","branches_url":"https://api.github.com/repos/Cardshifter/HTML-Client/branches{/branch}","tags_url":"https://api.github.com/repos/Cardshifter/HTML-Client/tags","blobs_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cardshifter/HTML-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/Cardshifter/HTML-Client/languages","stargazers_url":"https://api.github.com/repos/Cardshifter/HTML-Client/stargazers","contributors_url":"https://api.github.com/repos/Cardshifter/HTML-Client/contributors","subscribers_url":"https://api.github.com/repos/Cardshifter/HTML-Client/subscribers","subscription_url":"https://api.github.com/repos/Cardshifter/HTML-Client/subscription","commits_url":"https://api.github.com/repos/Cardshifter/HTML-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cardshifter/HTML-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cardshifter/HTML-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cardshifter/HTML-Client/contents/{+path}","compare_url":"https://api.github.com/repos/Cardshifter/HTML-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cardshifter/HTML-Client/merges","archive_url":"https://api.github.com/repos/Cardshifter/HTML-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cardshifter/HTML-Client/downloads","issues_url":"https://api.github.com/repos/Cardshifter/HTML-Client/issues{/number}","pulls_url":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/Cardshifter/HTML-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/Cardshifter/HTML-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cardshifter/HTML-Client/labels{/name}","releases_url":"https://api.github.com/repos/Cardshifter/HTML-Client/releases{/id}","created_at":"2015-07-26T23:54:19Z","updated_at":"2015-08-26T11:26:18Z","pushed_at":"2015-09-26T21:52:32Z","git_url":"git://github.com/Cardshifter/HTML-Client.git","ssh_url":"git@github.com:Cardshifter/HTML-Client.git","clone_url":"https://github.com/Cardshifter/HTML-Client.git","svn_url":"https://github.com/Cardshifter/HTML-Client","homepage":null,"size":9505,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":38,"forks":3,"open_issues":38,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110"},"html":{"href":"https://github.com/Cardshifter/HTML-Client/pull/110"},"issue":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/110"},"comments":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/Cardshifter/HTML-Client/statuses/3a529084666c10afce7f293739f520074f62e181"}}}}