{"action":"created","comment":{"url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/comments/101581646","pull_request_review_id":22315530,"id":101581646,"diff_hunk":"@@ -0,0 +1,21 @@\n+var InvertedIndex = {\n+\n+\tvalidateInput: function(book) {\n+\t\tif(Array.isArray(book) && book.length > 0 && typeof book[0] === 'object') {\n+\t\t\tif(book[0].hasOwnProperty('text') && book[0].hasOwnProperty('title')) {\n+\t\t\t\treturn 'Valid';\n+\t\t\t}\n+\t\t}\n+\t\treturn 'Invalid Input Type';","path":"src/inverted-index-app/InvertedIndex.js","position":9,"original_position":9,"commit_id":"f7ac5db8406f8052d6752cfa88d05f28033ffaa1","original_commit_id":"f7ac5db8406f8052d6752cfa88d05f28033ffaa1","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected tab character                                                   no-tabs<br>Expected indentation of 2 spaces but found 2 tabs                          indent","created_at":"2017-02-16T17:42:29Z","updated_at":"2017-02-16T17:42:31Z","html_url":"https://github.com/andela-rhenshaw/inverted-index/pull/5#discussion_r101581646","pull_request_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/comments/101581646"},"html":{"href":"https://github.com/andela-rhenshaw/inverted-index/pull/5#discussion_r101581646"},"pull_request":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5","id":106577701,"html_url":"https://github.com/andela-rhenshaw/inverted-index/pull/5","diff_url":"https://github.com/andela-rhenshaw/inverted-index/pull/5.diff","patch_url":"https://github.com/andela-rhenshaw/inverted-index/pull/5.patch","issue_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/5","number":5,"state":"open","locked":false,"title":"Chore/1 c/setup development environment","user":{"login":"andela-rhenshaw","id":25608386,"avatar_url":"https://avatars.githubusercontent.com/u/25608386?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-rhenshaw","html_url":"https://github.com/andela-rhenshaw","followers_url":"https://api.github.com/users/andela-rhenshaw/followers","following_url":"https://api.github.com/users/andela-rhenshaw/following{/other_user}","gists_url":"https://api.github.com/users/andela-rhenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-rhenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-rhenshaw/subscriptions","organizations_url":"https://api.github.com/users/andela-rhenshaw/orgs","repos_url":"https://api.github.com/users/andela-rhenshaw/repos","events_url":"https://api.github.com/users/andela-rhenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/andela-rhenshaw/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-16T17:42:15Z","updated_at":"2017-02-16T17:42:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e30570fb1445bb8565f0db0526044448e41105be","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5/commits","review_comments_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5/comments","review_comment_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/5/comments","statuses_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/statuses/f7ac5db8406f8052d6752cfa88d05f28033ffaa1","head":{"label":"andela-rhenshaw:chore/1-c/setup-development-environment","ref":"chore/1-c/setup-development-environment","sha":"f7ac5db8406f8052d6752cfa88d05f28033ffaa1","user":{"login":"andela-rhenshaw","id":25608386,"avatar_url":"https://avatars.githubusercontent.com/u/25608386?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-rhenshaw","html_url":"https://github.com/andela-rhenshaw","followers_url":"https://api.github.com/users/andela-rhenshaw/followers","following_url":"https://api.github.com/users/andela-rhenshaw/following{/other_user}","gists_url":"https://api.github.com/users/andela-rhenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-rhenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-rhenshaw/subscriptions","organizations_url":"https://api.github.com/users/andela-rhenshaw/orgs","repos_url":"https://api.github.com/users/andela-rhenshaw/repos","events_url":"https://api.github.com/users/andela-rhenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/andela-rhenshaw/received_events","type":"User","site_admin":false},"repo":{"id":81447969,"name":"inverted-index","full_name":"andela-rhenshaw/inverted-index","owner":{"login":"andela-rhenshaw","id":25608386,"avatar_url":"https://avatars.githubusercontent.com/u/25608386?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-rhenshaw","html_url":"https://github.com/andela-rhenshaw","followers_url":"https://api.github.com/users/andela-rhenshaw/followers","following_url":"https://api.github.com/users/andela-rhenshaw/following{/other_user}","gists_url":"https://api.github.com/users/andela-rhenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-rhenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-rhenshaw/subscriptions","organizations_url":"https://api.github.com/users/andela-rhenshaw/orgs","repos_url":"https://api.github.com/users/andela-rhenshaw/repos","events_url":"https://api.github.com/users/andela-rhenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/andela-rhenshaw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-rhenshaw/inverted-index","description":null,"fork":false,"url":"https://api.github.com/repos/andela-rhenshaw/inverted-index","forks_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/forks","keys_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/teams","hooks_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/hooks","issue_events_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/events{/number}","events_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/events","assignees_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/assignees{/user}","branches_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/branches{/branch}","tags_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/tags","blobs_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/languages","stargazers_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/stargazers","contributors_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/contributors","subscribers_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/subscribers","subscription_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/subscription","commits_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/contents/{+path}","compare_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/merges","archive_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/downloads","issues_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues{/number}","pulls_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/labels{/name}","releases_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/releases{/id}","deployments_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/deployments","created_at":"2017-02-09T12:27:58Z","updated_at":"2017-02-09T12:27:58Z","pushed_at":"2017-02-16T17:42:15Z","git_url":"git://github.com/andela-rhenshaw/inverted-index.git","ssh_url":"git@github.com:andela-rhenshaw/inverted-index.git","clone_url":"https://github.com/andela-rhenshaw/inverted-index.git","svn_url":"https://github.com/andela-rhenshaw/inverted-index","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"andela-rhenshaw:master","ref":"master","sha":"38edab867f6547790299d0b947e1a73c118ecf37","user":{"login":"andela-rhenshaw","id":25608386,"avatar_url":"https://avatars.githubusercontent.com/u/25608386?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-rhenshaw","html_url":"https://github.com/andela-rhenshaw","followers_url":"https://api.github.com/users/andela-rhenshaw/followers","following_url":"https://api.github.com/users/andela-rhenshaw/following{/other_user}","gists_url":"https://api.github.com/users/andela-rhenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-rhenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-rhenshaw/subscriptions","organizations_url":"https://api.github.com/users/andela-rhenshaw/orgs","repos_url":"https://api.github.com/users/andela-rhenshaw/repos","events_url":"https://api.github.com/users/andela-rhenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/andela-rhenshaw/received_events","type":"User","site_admin":false},"repo":{"id":81447969,"name":"inverted-index","full_name":"andela-rhenshaw/inverted-index","owner":{"login":"andela-rhenshaw","id":25608386,"avatar_url":"https://avatars.githubusercontent.com/u/25608386?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-rhenshaw","html_url":"https://github.com/andela-rhenshaw","followers_url":"https://api.github.com/users/andela-rhenshaw/followers","following_url":"https://api.github.com/users/andela-rhenshaw/following{/other_user}","gists_url":"https://api.github.com/users/andela-rhenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-rhenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-rhenshaw/subscriptions","organizations_url":"https://api.github.com/users/andela-rhenshaw/orgs","repos_url":"https://api.github.com/users/andela-rhenshaw/repos","events_url":"https://api.github.com/users/andela-rhenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/andela-rhenshaw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-rhenshaw/inverted-index","description":null,"fork":false,"url":"https://api.github.com/repos/andela-rhenshaw/inverted-index","forks_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/forks","keys_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/teams","hooks_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/hooks","issue_events_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/events{/number}","events_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/events","assignees_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/assignees{/user}","branches_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/branches{/branch}","tags_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/tags","blobs_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/languages","stargazers_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/stargazers","contributors_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/contributors","subscribers_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/subscribers","subscription_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/subscription","commits_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/contents/{+path}","compare_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/merges","archive_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/downloads","issues_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues{/number}","pulls_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/labels{/name}","releases_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/releases{/id}","deployments_url":"https://api.github.com/repos/andela-rhenshaw/inverted-index/deployments","created_at":"2017-02-09T12:27:58Z","updated_at":"2017-02-09T12:27:58Z","pushed_at":"2017-02-16T17:42:15Z","git_url":"git://github.com/andela-rhenshaw/inverted-index.git","ssh_url":"git@github.com:andela-rhenshaw/inverted-index.git","clone_url":"https://github.com/andela-rhenshaw/inverted-index.git","svn_url":"https://github.com/andela-rhenshaw/inverted-index","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5"},"html":{"href":"https://github.com/andela-rhenshaw/inverted-index/pull/5"},"issue":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/5"},"comments":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/andela-rhenshaw/inverted-index/statuses/f7ac5db8406f8052d6752cfa88d05f28033ffaa1"}}}}
{"actor":{"display_login":"houndci-bot"}}