{"action":"created","comment":{"url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/comments/48138082","id":48138082,"diff_hunk":"@@ -0,0 +1,41 @@\n+/** @module analyses/countImages */","path":"js/analyses/countImages.js","position":1,"original_position":1,"commit_id":"609be9d57d27efbeced1204364188c96afb5caca","original_commit_id":"609be9d57d27efbeced1204364188c96afb5caca","user":{"login":"atimmer","id":584693,"avatar_url":"https://avatars.githubusercontent.com/u/584693?v=3","gravatar_id":"","url":"https://api.github.com/users/atimmer","html_url":"https://github.com/atimmer","followers_url":"https://api.github.com/users/atimmer/followers","following_url":"https://api.github.com/users/atimmer/following{/other_user}","gists_url":"https://api.github.com/users/atimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/atimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atimmer/subscriptions","organizations_url":"https://api.github.com/users/atimmer/orgs","repos_url":"https://api.github.com/users/atimmer/repos","events_url":"https://api.github.com/users/atimmer/events{/privacy}","received_events_url":"https://api.github.com/users/atimmer/received_events","type":"User","site_admin":false},"body":"`countImages` is a very ambiguous name, from the name I expect to get the amount of image tags in the text. Which is clearly not the case. `getImageStatistics` or `matchKeywordInAltTags` might be better.","created_at":"2015-12-21T11:38:02Z","updated_at":"2015-12-21T11:38:02Z","html_url":"https://github.com/Yoast/YoastSEO.js/pull/202#discussion_r48138082","pull_request_url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202","_links":{"self":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/comments/48138082"},"html":{"href":"https://github.com/Yoast/YoastSEO.js/pull/202#discussion_r48138082"},"pull_request":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202"}}},"pull_request":{"url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202","id":53704825,"html_url":"https://github.com/Yoast/YoastSEO.js/pull/202","diff_url":"https://github.com/Yoast/YoastSEO.js/pull/202.diff","patch_url":"https://github.com/Yoast/YoastSEO.js/pull/202.patch","issue_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/202","number":202,"state":"open","locked":false,"title":"Introduce modules to YoastSEO.js","user":{"login":"terw-dan","id":11272096,"avatar_url":"https://avatars.githubusercontent.com/u/11272096?v=3","gravatar_id":"","url":"https://api.github.com/users/terw-dan","html_url":"https://github.com/terw-dan","followers_url":"https://api.github.com/users/terw-dan/followers","following_url":"https://api.github.com/users/terw-dan/following{/other_user}","gists_url":"https://api.github.com/users/terw-dan/gists{/gist_id}","starred_url":"https://api.github.com/users/terw-dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terw-dan/subscriptions","organizations_url":"https://api.github.com/users/terw-dan/orgs","repos_url":"https://api.github.com/users/terw-dan/repos","events_url":"https://api.github.com/users/terw-dan/events{/privacy}","received_events_url":"https://api.github.com/users/terw-dan/received_events","type":"User","site_admin":false},"body":"Introduces modules to YoastSEO.js\r\n\r\n- replaces the analyses in analyzer.js with modules in the js/analyses directory. Each analysis from the analyzer has a module in the js/analyses directory. \r\n\r\n- changed all function calls in the analyzer.js to call the modules\r\n\r\n- All functions from the stringHelper and the preProcessor are move to the js/stringProcessing directory as modules. \r\n\r\n- The configfiles are split in modules, that can be found in the js/config directory\r\n\r\n- All modules have seperate specs in the spec/stringProcessing and spec/analyses directory to test individual modules. The existing spec files run the analyzer. ","created_at":"2015-12-15T13:48:12Z","updated_at":"2015-12-21T11:38:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202/commits","review_comments_url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202/comments","review_comment_url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/202/comments","statuses_url":"https://api.github.com/repos/Yoast/YoastSEO.js/statuses/609be9d57d27efbeced1204364188c96afb5caca","head":{"label":"Yoast:stories/DT/modules","ref":"stories/DT/modules","sha":"609be9d57d27efbeced1204364188c96afb5caca","user":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"repo":{"id":32734884,"name":"YoastSEO.js","full_name":"Yoast/YoastSEO.js","owner":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoast/YoastSEO.js","description":"Analyze content on a page and give SEO feedback as well as render a snippet preview.","fork":false,"url":"https://api.github.com/repos/Yoast/YoastSEO.js","forks_url":"https://api.github.com/repos/Yoast/YoastSEO.js/forks","keys_url":"https://api.github.com/repos/Yoast/YoastSEO.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoast/YoastSEO.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoast/YoastSEO.js/teams","hooks_url":"https://api.github.com/repos/Yoast/YoastSEO.js/hooks","issue_events_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/events{/number}","events_url":"https://api.github.com/repos/Yoast/YoastSEO.js/events","assignees_url":"https://api.github.com/repos/Yoast/YoastSEO.js/assignees{/user}","branches_url":"https://api.github.com/repos/Yoast/YoastSEO.js/branches{/branch}","tags_url":"https://api.github.com/repos/Yoast/YoastSEO.js/tags","blobs_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoast/YoastSEO.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoast/YoastSEO.js/languages","stargazers_url":"https://api.github.com/repos/Yoast/YoastSEO.js/stargazers","contributors_url":"https://api.github.com/repos/Yoast/YoastSEO.js/contributors","subscribers_url":"https://api.github.com/repos/Yoast/YoastSEO.js/subscribers","subscription_url":"https://api.github.com/repos/Yoast/YoastSEO.js/subscription","commits_url":"https://api.github.com/repos/Yoast/YoastSEO.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoast/YoastSEO.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoast/YoastSEO.js/contents/{+path}","compare_url":"https://api.github.com/repos/Yoast/YoastSEO.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoast/YoastSEO.js/merges","archive_url":"https://api.github.com/repos/Yoast/YoastSEO.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoast/YoastSEO.js/downloads","issues_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues{/number}","pulls_url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoast/YoastSEO.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoast/YoastSEO.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoast/YoastSEO.js/labels{/name}","releases_url":"https://api.github.com/repos/Yoast/YoastSEO.js/releases{/id}","created_at":"2015-03-23T13:50:16Z","updated_at":"2015-12-04T21:56:52Z","pushed_at":"2015-12-18T08:09:32Z","git_url":"git://github.com/Yoast/YoastSEO.js.git","ssh_url":"git@github.com:Yoast/YoastSEO.js.git","clone_url":"https://github.com/Yoast/YoastSEO.js.git","svn_url":"https://github.com/Yoast/YoastSEO.js","homepage":"","size":1652,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":42,"forks":6,"open_issues":42,"watchers":20,"default_branch":"master"}},"base":{"label":"Yoast:master","ref":"master","sha":"c4e665ffae1ec3e5466f1363b930c1cb0571d350","user":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"repo":{"id":32734884,"name":"YoastSEO.js","full_name":"Yoast/YoastSEO.js","owner":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoast/YoastSEO.js","description":"Analyze content on a page and give SEO feedback as well as render a snippet preview.","fork":false,"url":"https://api.github.com/repos/Yoast/YoastSEO.js","forks_url":"https://api.github.com/repos/Yoast/YoastSEO.js/forks","keys_url":"https://api.github.com/repos/Yoast/YoastSEO.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoast/YoastSEO.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoast/YoastSEO.js/teams","hooks_url":"https://api.github.com/repos/Yoast/YoastSEO.js/hooks","issue_events_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/events{/number}","events_url":"https://api.github.com/repos/Yoast/YoastSEO.js/events","assignees_url":"https://api.github.com/repos/Yoast/YoastSEO.js/assignees{/user}","branches_url":"https://api.github.com/repos/Yoast/YoastSEO.js/branches{/branch}","tags_url":"https://api.github.com/repos/Yoast/YoastSEO.js/tags","blobs_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoast/YoastSEO.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoast/YoastSEO.js/languages","stargazers_url":"https://api.github.com/repos/Yoast/YoastSEO.js/stargazers","contributors_url":"https://api.github.com/repos/Yoast/YoastSEO.js/contributors","subscribers_url":"https://api.github.com/repos/Yoast/YoastSEO.js/subscribers","subscription_url":"https://api.github.com/repos/Yoast/YoastSEO.js/subscription","commits_url":"https://api.github.com/repos/Yoast/YoastSEO.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoast/YoastSEO.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoast/YoastSEO.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoast/YoastSEO.js/contents/{+path}","compare_url":"https://api.github.com/repos/Yoast/YoastSEO.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoast/YoastSEO.js/merges","archive_url":"https://api.github.com/repos/Yoast/YoastSEO.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoast/YoastSEO.js/downloads","issues_url":"https://api.github.com/repos/Yoast/YoastSEO.js/issues{/number}","pulls_url":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoast/YoastSEO.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoast/YoastSEO.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoast/YoastSEO.js/labels{/name}","releases_url":"https://api.github.com/repos/Yoast/YoastSEO.js/releases{/id}","created_at":"2015-03-23T13:50:16Z","updated_at":"2015-12-04T21:56:52Z","pushed_at":"2015-12-18T08:09:32Z","git_url":"git://github.com/Yoast/YoastSEO.js.git","ssh_url":"git@github.com:Yoast/YoastSEO.js.git","clone_url":"https://github.com/Yoast/YoastSEO.js.git","svn_url":"https://github.com/Yoast/YoastSEO.js","homepage":"","size":1652,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":42,"forks":6,"open_issues":42,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202"},"html":{"href":"https://github.com/Yoast/YoastSEO.js/pull/202"},"issue":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/202"},"comments":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/issues/202/comments"},"review_comments":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202/comments"},"review_comment":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/pulls/202/commits"},"statuses":{"href":"https://api.github.com/repos/Yoast/YoastSEO.js/statuses/609be9d57d27efbeced1204364188c96afb5caca"}}}}