{"action":"created","comment":{"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/comments/69937632","id":69937632,"diff_hunk":"@@ -92,33 +94,33 @@ angular.module('starter')\n                 return [\n                     {\n                         numericValue: 1,\n-                        displayDescription: 'Depressed',\n-                        lowerCaseTextDescription: 'depressed',\n-                        img: 'img/rating/ic_face_depressed.png'\n+                        displayDescription: config.appSettings.primaryOutcomeVariableRatingOptionLabels[0],\n+                        lowerCaseTextDescription: config.appSettings.primaryOutcomeVariableRatingOptionLowercaseLabels[0],\n+                        img: config.appSettings.positiveRatingImages[0]\n                     },\n                     {\n                         numericValue: 2,\n-                        displayDescription: 'Sad',\n-                        lowerCaseTextDescription: 'sad',\n-                        img: 'img/rating/ic_face_sad.png'\n+                        displayDescription: config.appSettings.primaryOutcomeVariableRatingOptionLabels[1],\n+                        lowerCaseTextDescription: config.appSettings.primaryOutcomeVariableRatingOptionLowercaseLabels[1],\n+                        img: config.appSettings.positiveRatingImages[1]\n                     },\n                     {\n                         numericValue: 3,\n-                        displayDescription: 'OK',\n-                        lowerCaseTextDescription: 'ok',\n-                        img: 'img/rating/ic_face_ok.png'\n+                        displayDescription: config.appSettings.primaryOutcomeVariableRatingOptionLabels[2],\n+                        lowerCaseTextDescription: config.appSettings.primaryOutcomeVariableRatingOptionLowercaseLabels[2],\n+                        img: config.appSettings.positiveRatingImages[2],\n                     },\n                     {\n                         numericValue: 4,\n-                        displayDescription: 'Happy',\n-                        lowerCaseTextDescription: 'happy',\n-                        img: 'img/rating/ic_face_happy.png'\n+                        displayDescription: config.appSettings.primaryOutcomeVariableRatingOptionLabels[3],\n+                        lowerCaseTextDescription: config.appSettings.primaryOutcomeVariableRatingOptionLowercaseLabels[3],","path":"www/js/services/ratingService.js","position":108,"original_position":108,"commit_id":"f3687a084e35c3f24c5b263d8729faeceb446fe4","original_commit_id":"f3687a084e35c3f24c5b263d8729faeceb446fe4","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: ['config' is not defined. (no-undef)](https://www.codacy.com/app/m_2/QuantiModo-Ionic-Template-App/file/2935323894/issues/source?bid=3248947&fileBranchId=3413252#l116)","created_at":"2016-07-07T16:16:32Z","updated_at":"2016-07-07T16:16:32Z","html_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App/pull/266#discussion_r69937632","pull_request_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266","_links":{"self":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/comments/69937632"},"html":{"href":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App/pull/266#discussion_r69937632"},"pull_request":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266","id":76623663,"html_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App/pull/266","diff_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App/pull/266.diff","patch_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App/pull/266.patch","issue_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/266","number":266,"state":"closed","locked":false,"title":"Remove hard-coded images, descriptions, labels, etc. from ratingServi…","user":{"login":"KellyStathis","id":17298577,"avatar_url":"https://avatars.githubusercontent.com/u/17298577?v=3","gravatar_id":"","url":"https://api.github.com/users/KellyStathis","html_url":"https://github.com/KellyStathis","followers_url":"https://api.github.com/users/KellyStathis/followers","following_url":"https://api.github.com/users/KellyStathis/following{/other_user}","gists_url":"https://api.github.com/users/KellyStathis/gists{/gist_id}","starred_url":"https://api.github.com/users/KellyStathis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KellyStathis/subscriptions","organizations_url":"https://api.github.com/users/KellyStathis/orgs","repos_url":"https://api.github.com/users/KellyStathis/repos","events_url":"https://api.github.com/users/KellyStathis/events{/privacy}","received_events_url":"https://api.github.com/users/KellyStathis/received_events","type":"User","site_admin":false},"body":"…ce; rely on config.appSettings","created_at":"2016-07-07T16:14:14Z","updated_at":"2016-07-07T16:16:32Z","closed_at":"2016-07-07T16:14:24Z","merged_at":"2016-07-07T16:14:24Z","merge_commit_sha":"3f2e95d46e5f46a6909b04c2388639eed83d7f1c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266/commits","review_comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266/comments","review_comment_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/266/comments","statuses_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/statuses/f3687a084e35c3f24c5b263d8729faeceb446fe4","head":{"label":"Abolitionist-Project:feature/rating-service-cleanup","ref":"feature/rating-service-cleanup","sha":"f3687a084e35c3f24c5b263d8729faeceb446fe4","user":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":41497171,"name":"QuantiModo-Ionic-Template-App","full_name":"Abolitionist-Project/QuantiModo-Ionic-Template-App","owner":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App","description":"A generic app that can be easily configured to help the user track and optimize any given outcome variable.","fork":false,"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App","forks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/forks","keys_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/teams","hooks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/hooks","issue_events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/events{/number}","events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/events","assignees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/assignees{/user}","branches_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/branches{/branch}","tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/tags","blobs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/statuses/{sha}","languages_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/languages","stargazers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/stargazers","contributors_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/contributors","subscribers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/subscribers","subscription_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/subscription","commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/contents/{+path}","compare_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/merges","archive_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/downloads","issues_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues{/number}","pulls_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls{/number}","milestones_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/milestones{/number}","notifications_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/labels{/name}","releases_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/releases{/id}","deployments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/deployments","created_at":"2015-08-27T16:07:22Z","updated_at":"2016-05-12T14:04:42Z","pushed_at":"2016-07-07T16:14:26Z","git_url":"git://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App.git","ssh_url":"git@github.com:Abolitionist-Project/QuantiModo-Ionic-Template-App.git","clone_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App.git","svn_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App","homepage":"https://quantimo.do","size":85753,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"develop"}},"base":{"label":"Abolitionist-Project:develop","ref":"develop","sha":"554cfde565c2bf67602cc2c964c199a1613d47f1","user":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":41497171,"name":"QuantiModo-Ionic-Template-App","full_name":"Abolitionist-Project/QuantiModo-Ionic-Template-App","owner":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App","description":"A generic app that can be easily configured to help the user track and optimize any given outcome variable.","fork":false,"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App","forks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/forks","keys_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/teams","hooks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/hooks","issue_events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/events{/number}","events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/events","assignees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/assignees{/user}","branches_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/branches{/branch}","tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/tags","blobs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/statuses/{sha}","languages_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/languages","stargazers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/stargazers","contributors_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/contributors","subscribers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/subscribers","subscription_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/subscription","commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/contents/{+path}","compare_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/merges","archive_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/downloads","issues_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues{/number}","pulls_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls{/number}","milestones_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/milestones{/number}","notifications_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/labels{/name}","releases_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/releases{/id}","deployments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/deployments","created_at":"2015-08-27T16:07:22Z","updated_at":"2016-05-12T14:04:42Z","pushed_at":"2016-07-07T16:14:26Z","git_url":"git://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App.git","ssh_url":"git@github.com:Abolitionist-Project/QuantiModo-Ionic-Template-App.git","clone_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App.git","svn_url":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App","homepage":"https://quantimo.do","size":85753,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266"},"html":{"href":"https://github.com/Abolitionist-Project/QuantiModo-Ionic-Template-App/pull/266"},"issue":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/266"},"comments":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-Ionic-Template-App/statuses/f3687a084e35c3f24c5b263d8729faeceb446fe4"}}}}
{"actor":{"display_login":"codacy-bot"}}