{"action":"created","comment":{"url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/comments/94399090","pull_request_review_id":14924963,"id":94399090,"diff_hunk":"@@ -0,0 +1,45 @@\n+(function() {\n+  var app = angular.module('StringExtension', []);\n+  app.controller('MainController', function() {\n+    this.stringMethods = Object.keys(STRING_EXTENSION);\n+    this.response = '';\n+    this.evaluate = function(inputString) {\n+      var stringMethod = document.getElementById('stringMethod').value;\n+      var display = document.getElementById('display');\n+\n+      if (!inputString) {\n+        this.response = 'Please insert a string to evaluate.';\n+        display.innerHTML = ``;\n+      } else {\n+\n+        display.innerHTML = `'${inputString}'.${stringMethod}( )`;\n+\n+        switch(stringMethod) {\n+          case 'hasVowels':       this.response = inputString.hasVowels(); break;\n+          case 'toUpper':         this.response = inputString.toUpper(); break;\n+          case 'toLower':         this.response = inputString.toLower(); break;\n+          case 'ucFirst':         this.response = inputString.ucFirst(); break;\n+          case 'isQuestion':      this.response = inputString.isQuestion(); break;\n+          case 'words':           this.response = inputString.words().join(' ');break;\n+          case 'wordCount':       this.response = inputString.wordCount(); break;\n+          case 'toCurrency':      this.response = this.doToCurrency(inputString); break;\n+          case 'fromCurrency':    this.response = this.doFromCurrency(inputString); break;\n+          case 'inverseCase':     this.response = inputString.inverseCase(); break;\n+          case 'alternatingCase': this.response = inputString.alternatingCase(); break;\n+          case 'getMiddle':       this.response = inputString.getMiddle(); break;\n+          case 'numberWords':     this.response = inputString.numberWords(); break;\n+          case 'isDigit':         this.response = inputString.isDigit(); break;\n+          case 'doubleCheck':     this.response = inputString.doubleCheck(); break;\n+          case 'reverse':         this.response = inputString.reverse(); break;","path":"src/js/app.js","position":33,"original_position":33,"commit_id":"68132af2049fb16bf37e621aa06dfacaf0104cc2","original_commit_id":"68132af2049fb16bf37e621aa06dfacaf0104cc2","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":"Multiple spaces found before 'this'                                    no-multi-spaces","created_at":"2017-01-03T12:44:45Z","updated_at":"2017-01-03T12:44:45Z","html_url":"https://github.com/andela-fabolaji/string-class/pull/6#discussion_r94399090","pull_request_url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/comments/94399090"},"html":{"href":"https://github.com/andela-fabolaji/string-class/pull/6#discussion_r94399090"},"pull_request":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6","id":99949235,"html_url":"https://github.com/andela-fabolaji/string-class/pull/6","diff_url":"https://github.com/andela-fabolaji/string-class/pull/6.diff","patch_url":"https://github.com/andela-fabolaji/string-class/pull/6.patch","issue_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues/6","number":6,"state":"open","locked":false,"title":"Merge pull request #2 from andela-fabolaji/development","user":{"login":"andela-fabolaji","id":23451281,"avatar_url":"https://avatars.githubusercontent.com/u/23451281?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-fabolaji","html_url":"https://github.com/andela-fabolaji","followers_url":"https://api.github.com/users/andela-fabolaji/followers","following_url":"https://api.github.com/users/andela-fabolaji/following{/other_user}","gists_url":"https://api.github.com/users/andela-fabolaji/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-fabolaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-fabolaji/subscriptions","organizations_url":"https://api.github.com/users/andela-fabolaji/orgs","repos_url":"https://api.github.com/users/andela-fabolaji/repos","events_url":"https://api.github.com/users/andela-fabolaji/events{/privacy}","received_events_url":"https://api.github.com/users/andela-fabolaji/received_events","type":"User","site_admin":false},"body":"StringExtension: add readme.md","created_at":"2017-01-03T12:44:32Z","updated_at":"2017-01-03T12:44:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2fff47879aedb933997f4b6dafe3eae1ce1af9c5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6/commits","review_comments_url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6/comments","review_comment_url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues/6/comments","statuses_url":"https://api.github.com/repos/andela-fabolaji/string-class/statuses/68132af2049fb16bf37e621aa06dfacaf0104cc2","head":{"label":"andela-fabolaji:front-end","ref":"front-end","sha":"68132af2049fb16bf37e621aa06dfacaf0104cc2","user":{"login":"andela-fabolaji","id":23451281,"avatar_url":"https://avatars.githubusercontent.com/u/23451281?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-fabolaji","html_url":"https://github.com/andela-fabolaji","followers_url":"https://api.github.com/users/andela-fabolaji/followers","following_url":"https://api.github.com/users/andela-fabolaji/following{/other_user}","gists_url":"https://api.github.com/users/andela-fabolaji/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-fabolaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-fabolaji/subscriptions","organizations_url":"https://api.github.com/users/andela-fabolaji/orgs","repos_url":"https://api.github.com/users/andela-fabolaji/repos","events_url":"https://api.github.com/users/andela-fabolaji/events{/privacy}","received_events_url":"https://api.github.com/users/andela-fabolaji/received_events","type":"User","site_admin":false},"repo":{"id":76653425,"name":"string-class","full_name":"andela-fabolaji/string-class","owner":{"login":"andela-fabolaji","id":23451281,"avatar_url":"https://avatars.githubusercontent.com/u/23451281?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-fabolaji","html_url":"https://github.com/andela-fabolaji","followers_url":"https://api.github.com/users/andela-fabolaji/followers","following_url":"https://api.github.com/users/andela-fabolaji/following{/other_user}","gists_url":"https://api.github.com/users/andela-fabolaji/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-fabolaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-fabolaji/subscriptions","organizations_url":"https://api.github.com/users/andela-fabolaji/orgs","repos_url":"https://api.github.com/users/andela-fabolaji/repos","events_url":"https://api.github.com/users/andela-fabolaji/events{/privacy}","received_events_url":"https://api.github.com/users/andela-fabolaji/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-fabolaji/string-class","description":null,"fork":false,"url":"https://api.github.com/repos/andela-fabolaji/string-class","forks_url":"https://api.github.com/repos/andela-fabolaji/string-class/forks","keys_url":"https://api.github.com/repos/andela-fabolaji/string-class/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-fabolaji/string-class/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-fabolaji/string-class/teams","hooks_url":"https://api.github.com/repos/andela-fabolaji/string-class/hooks","issue_events_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues/events{/number}","events_url":"https://api.github.com/repos/andela-fabolaji/string-class/events","assignees_url":"https://api.github.com/repos/andela-fabolaji/string-class/assignees{/user}","branches_url":"https://api.github.com/repos/andela-fabolaji/string-class/branches{/branch}","tags_url":"https://api.github.com/repos/andela-fabolaji/string-class/tags","blobs_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-fabolaji/string-class/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-fabolaji/string-class/languages","stargazers_url":"https://api.github.com/repos/andela-fabolaji/string-class/stargazers","contributors_url":"https://api.github.com/repos/andela-fabolaji/string-class/contributors","subscribers_url":"https://api.github.com/repos/andela-fabolaji/string-class/subscribers","subscription_url":"https://api.github.com/repos/andela-fabolaji/string-class/subscription","commits_url":"https://api.github.com/repos/andela-fabolaji/string-class/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-fabolaji/string-class/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-fabolaji/string-class/contents/{+path}","compare_url":"https://api.github.com/repos/andela-fabolaji/string-class/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-fabolaji/string-class/merges","archive_url":"https://api.github.com/repos/andela-fabolaji/string-class/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-fabolaji/string-class/downloads","issues_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues{/number}","pulls_url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-fabolaji/string-class/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-fabolaji/string-class/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-fabolaji/string-class/labels{/name}","releases_url":"https://api.github.com/repos/andela-fabolaji/string-class/releases{/id}","deployments_url":"https://api.github.com/repos/andela-fabolaji/string-class/deployments","created_at":"2016-12-16T12:49:42Z","updated_at":"2016-12-17T12:02:28Z","pushed_at":"2017-01-03T12:44:32Z","git_url":"git://github.com/andela-fabolaji/string-class.git","ssh_url":"git@github.com:andela-fabolaji/string-class.git","clone_url":"https://github.com/andela-fabolaji/string-class.git","svn_url":"https://github.com/andela-fabolaji/string-class","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"andela-fabolaji:master","ref":"master","sha":"5d6dacf2f820f3532079e25c3879cfc9cc03f5f9","user":{"login":"andela-fabolaji","id":23451281,"avatar_url":"https://avatars.githubusercontent.com/u/23451281?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-fabolaji","html_url":"https://github.com/andela-fabolaji","followers_url":"https://api.github.com/users/andela-fabolaji/followers","following_url":"https://api.github.com/users/andela-fabolaji/following{/other_user}","gists_url":"https://api.github.com/users/andela-fabolaji/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-fabolaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-fabolaji/subscriptions","organizations_url":"https://api.github.com/users/andela-fabolaji/orgs","repos_url":"https://api.github.com/users/andela-fabolaji/repos","events_url":"https://api.github.com/users/andela-fabolaji/events{/privacy}","received_events_url":"https://api.github.com/users/andela-fabolaji/received_events","type":"User","site_admin":false},"repo":{"id":76653425,"name":"string-class","full_name":"andela-fabolaji/string-class","owner":{"login":"andela-fabolaji","id":23451281,"avatar_url":"https://avatars.githubusercontent.com/u/23451281?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-fabolaji","html_url":"https://github.com/andela-fabolaji","followers_url":"https://api.github.com/users/andela-fabolaji/followers","following_url":"https://api.github.com/users/andela-fabolaji/following{/other_user}","gists_url":"https://api.github.com/users/andela-fabolaji/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-fabolaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-fabolaji/subscriptions","organizations_url":"https://api.github.com/users/andela-fabolaji/orgs","repos_url":"https://api.github.com/users/andela-fabolaji/repos","events_url":"https://api.github.com/users/andela-fabolaji/events{/privacy}","received_events_url":"https://api.github.com/users/andela-fabolaji/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-fabolaji/string-class","description":null,"fork":false,"url":"https://api.github.com/repos/andela-fabolaji/string-class","forks_url":"https://api.github.com/repos/andela-fabolaji/string-class/forks","keys_url":"https://api.github.com/repos/andela-fabolaji/string-class/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-fabolaji/string-class/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-fabolaji/string-class/teams","hooks_url":"https://api.github.com/repos/andela-fabolaji/string-class/hooks","issue_events_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues/events{/number}","events_url":"https://api.github.com/repos/andela-fabolaji/string-class/events","assignees_url":"https://api.github.com/repos/andela-fabolaji/string-class/assignees{/user}","branches_url":"https://api.github.com/repos/andela-fabolaji/string-class/branches{/branch}","tags_url":"https://api.github.com/repos/andela-fabolaji/string-class/tags","blobs_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-fabolaji/string-class/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-fabolaji/string-class/languages","stargazers_url":"https://api.github.com/repos/andela-fabolaji/string-class/stargazers","contributors_url":"https://api.github.com/repos/andela-fabolaji/string-class/contributors","subscribers_url":"https://api.github.com/repos/andela-fabolaji/string-class/subscribers","subscription_url":"https://api.github.com/repos/andela-fabolaji/string-class/subscription","commits_url":"https://api.github.com/repos/andela-fabolaji/string-class/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-fabolaji/string-class/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-fabolaji/string-class/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-fabolaji/string-class/contents/{+path}","compare_url":"https://api.github.com/repos/andela-fabolaji/string-class/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-fabolaji/string-class/merges","archive_url":"https://api.github.com/repos/andela-fabolaji/string-class/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-fabolaji/string-class/downloads","issues_url":"https://api.github.com/repos/andela-fabolaji/string-class/issues{/number}","pulls_url":"https://api.github.com/repos/andela-fabolaji/string-class/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-fabolaji/string-class/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-fabolaji/string-class/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-fabolaji/string-class/labels{/name}","releases_url":"https://api.github.com/repos/andela-fabolaji/string-class/releases{/id}","deployments_url":"https://api.github.com/repos/andela-fabolaji/string-class/deployments","created_at":"2016-12-16T12:49:42Z","updated_at":"2016-12-17T12:02:28Z","pushed_at":"2017-01-03T12:44:32Z","git_url":"git://github.com/andela-fabolaji/string-class.git","ssh_url":"git@github.com:andela-fabolaji/string-class.git","clone_url":"https://github.com/andela-fabolaji/string-class.git","svn_url":"https://github.com/andela-fabolaji/string-class","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6"},"html":{"href":"https://github.com/andela-fabolaji/string-class/pull/6"},"issue":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/issues/6"},"comments":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/andela-fabolaji/string-class/statuses/68132af2049fb16bf37e621aa06dfacaf0104cc2"}}}}
{"actor":{"display_login":"houndci-bot"}}