{"action":"created","comment":{"url":"https://api.github.com/repos/advanced-js/oop/pulls/comments/30112516","id":30112516,"diff_hunk":"@@ -1 +1,55 @@\n // var SuperHero = ...\n+\n+var Superhero = function( name, strength, loveInterest, isLoveRequited, catchphrase) {\n+  this.name = name;\n+  this.strength = strength;\n+  this.loveInterest = loveInterest;\n+  this.isLoveRequited = isLoveRequited;\n+  this.catchphrase = catchphrase;\n+\n+  this.fightSceneAgainst = function(fightAgainst) {\n+    var winFightStr = this.name + \" punches \" + fightAgainst + \" and shouts, \\\"\" + this.catchphrase + \"\\\"\";\n+    var loseFightStr = \"Oh no, \" + this.name + \"\\'s strength is too low. \" + fightAgainst + \" punches them and runs off with \" + this.loveInterest + \".\";\n+    if (this.strength > fightAgainst.strength) {\n+      fightAgainst.strength--;\n+      return winFightStr;\n+    } else {\n+      this.strength--;\n+      return loseFightStr;\n+    }\n+  };\n+\n+  this.LoveScene = function() {","path":"js/super_hero.js","position":22,"original_position":22,"commit_id":"71c464c913f7f3ccdcc3862e6bc9e4033db4333a","original_commit_id":"71c464c913f7f3ccdcc3862e6bc9e4033db4333a","user":{"login":"afeld","id":86842,"avatar_url":"https://avatars.githubusercontent.com/u/86842?v=3","gravatar_id":"","url":"https://api.github.com/users/afeld","html_url":"https://github.com/afeld","followers_url":"https://api.github.com/users/afeld/followers","following_url":"https://api.github.com/users/afeld/following{/other_user}","gists_url":"https://api.github.com/users/afeld/gists{/gist_id}","starred_url":"https://api.github.com/users/afeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afeld/subscriptions","organizations_url":"https://api.github.com/users/afeld/orgs","repos_url":"https://api.github.com/users/afeld/repos","events_url":"https://api.github.com/users/afeld/events{/privacy}","received_events_url":"https://api.github.com/users/afeld/received_events","type":"User","site_admin":false},"body":"Typically class names will be TitleCase, but method names will be camelCase.","created_at":"2015-05-12T08:10:26Z","updated_at":"2015-05-12T08:10:26Z","html_url":"https://github.com/advanced-js/oop/pull/35#discussion_r30112516","pull_request_url":"https://api.github.com/repos/advanced-js/oop/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/advanced-js/oop/pulls/comments/30112516"},"html":{"href":"https://github.com/advanced-js/oop/pull/35#discussion_r30112516"},"pull_request":{"href":"https://api.github.com/repos/advanced-js/oop/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/advanced-js/oop/pulls/35","id":34421606,"html_url":"https://github.com/advanced-js/oop/pull/35","diff_url":"https://github.com/advanced-js/oop/pull/35.diff","patch_url":"https://github.com/advanced-js/oop/pull/35.patch","issue_url":"https://api.github.com/repos/advanced-js/oop/issues/35","number":35,"state":"open","locked":false,"title":"Superhero OOP excercise + tests","user":{"login":"Hindividual","id":3757991,"avatar_url":"https://avatars.githubusercontent.com/u/3757991?v=3","gravatar_id":"","url":"https://api.github.com/users/Hindividual","html_url":"https://github.com/Hindividual","followers_url":"https://api.github.com/users/Hindividual/followers","following_url":"https://api.github.com/users/Hindividual/following{/other_user}","gists_url":"https://api.github.com/users/Hindividual/gists{/gist_id}","starred_url":"https://api.github.com/users/Hindividual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hindividual/subscriptions","organizations_url":"https://api.github.com/users/Hindividual/orgs","repos_url":"https://api.github.com/users/Hindividual/repos","events_url":"https://api.github.com/users/Hindividual/events{/privacy}","received_events_url":"https://api.github.com/users/Hindividual/received_events","type":"User","site_admin":false},"body":"(Please excuse/ignore the terrible jokes involved. I think I'm funny and I'm pretty sure that's all that matters.)","created_at":"2015-04-30T01:29:15Z","updated_at":"2015-05-12T08:10:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f68394d86306e9d7d97b63bbf00be0607ac7c160","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/advanced-js/oop/pulls/35/commits","review_comments_url":"https://api.github.com/repos/advanced-js/oop/pulls/35/comments","review_comment_url":"https://api.github.com/repos/advanced-js/oop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advanced-js/oop/issues/35/comments","statuses_url":"https://api.github.com/repos/advanced-js/oop/statuses/71c464c913f7f3ccdcc3862e6bc9e4033db4333a","head":{"label":"Hindividual:gh-pages","ref":"gh-pages","sha":"71c464c913f7f3ccdcc3862e6bc9e4033db4333a","user":{"login":"Hindividual","id":3757991,"avatar_url":"https://avatars.githubusercontent.com/u/3757991?v=3","gravatar_id":"","url":"https://api.github.com/users/Hindividual","html_url":"https://github.com/Hindividual","followers_url":"https://api.github.com/users/Hindividual/followers","following_url":"https://api.github.com/users/Hindividual/following{/other_user}","gists_url":"https://api.github.com/users/Hindividual/gists{/gist_id}","starred_url":"https://api.github.com/users/Hindividual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hindividual/subscriptions","organizations_url":"https://api.github.com/users/Hindividual/orgs","repos_url":"https://api.github.com/users/Hindividual/repos","events_url":"https://api.github.com/users/Hindividual/events{/privacy}","received_events_url":"https://api.github.com/users/Hindividual/received_events","type":"User","site_admin":false},"repo":{"id":34491084,"name":"oop","full_name":"Hindividual/oop","owner":{"login":"Hindividual","id":3757991,"avatar_url":"https://avatars.githubusercontent.com/u/3757991?v=3","gravatar_id":"","url":"https://api.github.com/users/Hindividual","html_url":"https://github.com/Hindividual","followers_url":"https://api.github.com/users/Hindividual/followers","following_url":"https://api.github.com/users/Hindividual/following{/other_user}","gists_url":"https://api.github.com/users/Hindividual/gists{/gist_id}","starred_url":"https://api.github.com/users/Hindividual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hindividual/subscriptions","organizations_url":"https://api.github.com/users/Hindividual/orgs","repos_url":"https://api.github.com/users/Hindividual/repos","events_url":"https://api.github.com/users/Hindividual/events{/privacy}","received_events_url":"https://api.github.com/users/Hindividual/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hindividual/oop","description":"Object Oriented Programming exercise","fork":true,"url":"https://api.github.com/repos/Hindividual/oop","forks_url":"https://api.github.com/repos/Hindividual/oop/forks","keys_url":"https://api.github.com/repos/Hindividual/oop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hindividual/oop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hindividual/oop/teams","hooks_url":"https://api.github.com/repos/Hindividual/oop/hooks","issue_events_url":"https://api.github.com/repos/Hindividual/oop/issues/events{/number}","events_url":"https://api.github.com/repos/Hindividual/oop/events","assignees_url":"https://api.github.com/repos/Hindividual/oop/assignees{/user}","branches_url":"https://api.github.com/repos/Hindividual/oop/branches{/branch}","tags_url":"https://api.github.com/repos/Hindividual/oop/tags","blobs_url":"https://api.github.com/repos/Hindividual/oop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hindividual/oop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hindividual/oop/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hindividual/oop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hindividual/oop/statuses/{sha}","languages_url":"https://api.github.com/repos/Hindividual/oop/languages","stargazers_url":"https://api.github.com/repos/Hindividual/oop/stargazers","contributors_url":"https://api.github.com/repos/Hindividual/oop/contributors","subscribers_url":"https://api.github.com/repos/Hindividual/oop/subscribers","subscription_url":"https://api.github.com/repos/Hindividual/oop/subscription","commits_url":"https://api.github.com/repos/Hindividual/oop/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hindividual/oop/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hindividual/oop/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hindividual/oop/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hindividual/oop/contents/{+path}","compare_url":"https://api.github.com/repos/Hindividual/oop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hindividual/oop/merges","archive_url":"https://api.github.com/repos/Hindividual/oop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hindividual/oop/downloads","issues_url":"https://api.github.com/repos/Hindividual/oop/issues{/number}","pulls_url":"https://api.github.com/repos/Hindividual/oop/pulls{/number}","milestones_url":"https://api.github.com/repos/Hindividual/oop/milestones{/number}","notifications_url":"https://api.github.com/repos/Hindividual/oop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hindividual/oop/labels{/name}","releases_url":"https://api.github.com/repos/Hindividual/oop/releases{/id}","created_at":"2015-04-24T01:27:25Z","updated_at":"2015-05-06T16:42:10Z","pushed_at":"2015-05-06T16:42:10Z","git_url":"git://github.com/Hindividual/oop.git","ssh_url":"git@github.com:Hindividual/oop.git","clone_url":"https://github.com/Hindividual/oop.git","svn_url":"https://github.com/Hindividual/oop","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"advanced-js:gh-pages","ref":"gh-pages","sha":"ef26512ec718f18fbccaea38939b1a314192ef91","user":{"login":"advanced-js","id":7143770,"avatar_url":"https://avatars.githubusercontent.com/u/7143770?v=3","gravatar_id":"","url":"https://api.github.com/users/advanced-js","html_url":"https://github.com/advanced-js","followers_url":"https://api.github.com/users/advanced-js/followers","following_url":"https://api.github.com/users/advanced-js/following{/other_user}","gists_url":"https://api.github.com/users/advanced-js/gists{/gist_id}","starred_url":"https://api.github.com/users/advanced-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advanced-js/subscriptions","organizations_url":"https://api.github.com/users/advanced-js/orgs","repos_url":"https://api.github.com/users/advanced-js/repos","events_url":"https://api.github.com/users/advanced-js/events{/privacy}","received_events_url":"https://api.github.com/users/advanced-js/received_events","type":"Organization","site_admin":false},"repo":{"id":18705385,"name":"oop","full_name":"advanced-js/oop","owner":{"login":"advanced-js","id":7143770,"avatar_url":"https://avatars.githubusercontent.com/u/7143770?v=3","gravatar_id":"","url":"https://api.github.com/users/advanced-js","html_url":"https://github.com/advanced-js","followers_url":"https://api.github.com/users/advanced-js/followers","following_url":"https://api.github.com/users/advanced-js/following{/other_user}","gists_url":"https://api.github.com/users/advanced-js/gists{/gist_id}","starred_url":"https://api.github.com/users/advanced-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advanced-js/subscriptions","organizations_url":"https://api.github.com/users/advanced-js/orgs","repos_url":"https://api.github.com/users/advanced-js/repos","events_url":"https://api.github.com/users/advanced-js/events{/privacy}","received_events_url":"https://api.github.com/users/advanced-js/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advanced-js/oop","description":"Object Oriented Programming exercise","fork":false,"url":"https://api.github.com/repos/advanced-js/oop","forks_url":"https://api.github.com/repos/advanced-js/oop/forks","keys_url":"https://api.github.com/repos/advanced-js/oop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advanced-js/oop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advanced-js/oop/teams","hooks_url":"https://api.github.com/repos/advanced-js/oop/hooks","issue_events_url":"https://api.github.com/repos/advanced-js/oop/issues/events{/number}","events_url":"https://api.github.com/repos/advanced-js/oop/events","assignees_url":"https://api.github.com/repos/advanced-js/oop/assignees{/user}","branches_url":"https://api.github.com/repos/advanced-js/oop/branches{/branch}","tags_url":"https://api.github.com/repos/advanced-js/oop/tags","blobs_url":"https://api.github.com/repos/advanced-js/oop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advanced-js/oop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advanced-js/oop/git/refs{/sha}","trees_url":"https://api.github.com/repos/advanced-js/oop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advanced-js/oop/statuses/{sha}","languages_url":"https://api.github.com/repos/advanced-js/oop/languages","stargazers_url":"https://api.github.com/repos/advanced-js/oop/stargazers","contributors_url":"https://api.github.com/repos/advanced-js/oop/contributors","subscribers_url":"https://api.github.com/repos/advanced-js/oop/subscribers","subscription_url":"https://api.github.com/repos/advanced-js/oop/subscription","commits_url":"https://api.github.com/repos/advanced-js/oop/commits{/sha}","git_commits_url":"https://api.github.com/repos/advanced-js/oop/git/commits{/sha}","comments_url":"https://api.github.com/repos/advanced-js/oop/comments{/number}","issue_comment_url":"https://api.github.com/repos/advanced-js/oop/issues/comments{/number}","contents_url":"https://api.github.com/repos/advanced-js/oop/contents/{+path}","compare_url":"https://api.github.com/repos/advanced-js/oop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advanced-js/oop/merges","archive_url":"https://api.github.com/repos/advanced-js/oop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advanced-js/oop/downloads","issues_url":"https://api.github.com/repos/advanced-js/oop/issues{/number}","pulls_url":"https://api.github.com/repos/advanced-js/oop/pulls{/number}","milestones_url":"https://api.github.com/repos/advanced-js/oop/milestones{/number}","notifications_url":"https://api.github.com/repos/advanced-js/oop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advanced-js/oop/labels{/name}","releases_url":"https://api.github.com/repos/advanced-js/oop/releases{/id}","created_at":"2014-04-12T14:03:50Z","updated_at":"2014-12-27T04:02:53Z","pushed_at":"2015-05-07T22:30:15Z","git_url":"git://github.com/advanced-js/oop.git","ssh_url":"git@github.com:advanced-js/oop.git","clone_url":"https://github.com/advanced-js/oop.git","svn_url":"https://github.com/advanced-js/oop","homepage":null,"size":484,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":40,"mirror_url":null,"open_issues_count":4,"forks":40,"open_issues":4,"watchers":2,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/advanced-js/oop/pulls/35"},"html":{"href":"https://github.com/advanced-js/oop/pull/35"},"issue":{"href":"https://api.github.com/repos/advanced-js/oop/issues/35"},"comments":{"href":"https://api.github.com/repos/advanced-js/oop/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/advanced-js/oop/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/advanced-js/oop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advanced-js/oop/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/advanced-js/oop/statuses/71c464c913f7f3ccdcc3862e6bc9e4033db4333a"}}}}