{"action":"created","comment":{"url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/comments/28733668","id":28733668,"diff_hunk":"@@ -2,5 +2,127 @@\n  * Created by Jenya on 18.04.15.\n  */\n \n+/// At first I'm creating general BeingClass. It will be the top of all being classes.\n+function BeingClass(clas) {\n+    this.clas = clas;\n+    this.movementType = move.run;\n+    this.legs = 0\n+}\n+\n+// Than I'm adding move function to all beings.\n+BeingClass.prototype.makeMove = function () {\n+    this.movementType.move(this.name);","path":"main.js","position":13,"original_position":13,"commit_id":"f73f99c0fe2182fedf25f3f2e30ef9c185a67ea7","original_commit_id":"f73f99c0fe2182fedf25f3f2e30ef9c185a67ea7","user":{"login":"sizov","id":1163272,"avatar_url":"https://avatars.githubusercontent.com/u/1163272?v=3","gravatar_id":"","url":"https://api.github.com/users/sizov","html_url":"https://github.com/sizov","followers_url":"https://api.github.com/users/sizov/followers","following_url":"https://api.github.com/users/sizov/following{/other_user}","gists_url":"https://api.github.com/users/sizov/gists{/gist_id}","starred_url":"https://api.github.com/users/sizov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sizov/subscriptions","organizations_url":"https://api.github.com/users/sizov/orgs","repos_url":"https://api.github.com/users/sizov/repos","events_url":"https://api.github.com/users/sizov/events{/privacy}","received_events_url":"https://api.github.com/users/sizov/received_events","type":"User","site_admin":false},"body":"this is what i'm saying - if `movementType` is function - it will be much more easier. In my example it is a function","created_at":"2015-04-20T21:57:18Z","updated_at":"2015-04-20T21:57:18Z","html_url":"https://github.com/evgenevolkov/OOP_inheritance_task/pull/7#discussion_r28733668","pull_request_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/comments/28733668"},"html":{"href":"https://github.com/evgenevolkov/OOP_inheritance_task/pull/7#discussion_r28733668"},"pull_request":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/7","id":33617893,"html_url":"https://github.com/evgenevolkov/OOP_inheritance_task/pull/7","diff_url":"https://github.com/evgenevolkov/OOP_inheritance_task/pull/7.diff","patch_url":"https://github.com/evgenevolkov/OOP_inheritance_task/pull/7.patch","issue_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/7","number":7,"state":"open","locked":false,"title":"Finished + minor updates","user":{"login":"evgenevolkov","id":10812241,"avatar_url":"https://avatars.githubusercontent.com/u/10812241?v=3","gravatar_id":"","url":"https://api.github.com/users/evgenevolkov","html_url":"https://github.com/evgenevolkov","followers_url":"https://api.github.com/users/evgenevolkov/followers","following_url":"https://api.github.com/users/evgenevolkov/following{/other_user}","gists_url":"https://api.github.com/users/evgenevolkov/gists{/gist_id}","starred_url":"https://api.github.com/users/evgenevolkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgenevolkov/subscriptions","organizations_url":"https://api.github.com/users/evgenevolkov/orgs","repos_url":"https://api.github.com/users/evgenevolkov/repos","events_url":"https://api.github.com/users/evgenevolkov/events{/privacy}","received_events_url":"https://api.github.com/users/evgenevolkov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-19T12:12:01Z","updated_at":"2015-04-20T21:57:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"256f2aaa03119aefb7a7afd4dd513a1c5a0b04ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/7/commits","review_comments_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/7/comments","review_comment_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/7/comments","statuses_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/statuses/f73f99c0fe2182fedf25f3f2e30ef9c185a67ea7","head":{"label":"evgenevolkov:Reduce_namespace","ref":"Reduce_namespace","sha":"f73f99c0fe2182fedf25f3f2e30ef9c185a67ea7","user":{"login":"evgenevolkov","id":10812241,"avatar_url":"https://avatars.githubusercontent.com/u/10812241?v=3","gravatar_id":"","url":"https://api.github.com/users/evgenevolkov","html_url":"https://github.com/evgenevolkov","followers_url":"https://api.github.com/users/evgenevolkov/followers","following_url":"https://api.github.com/users/evgenevolkov/following{/other_user}","gists_url":"https://api.github.com/users/evgenevolkov/gists{/gist_id}","starred_url":"https://api.github.com/users/evgenevolkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgenevolkov/subscriptions","organizations_url":"https://api.github.com/users/evgenevolkov/orgs","repos_url":"https://api.github.com/users/evgenevolkov/repos","events_url":"https://api.github.com/users/evgenevolkov/events{/privacy}","received_events_url":"https://api.github.com/users/evgenevolkov/received_events","type":"User","site_admin":false},"repo":{"id":33983530,"name":"OOP_inheritance_task","full_name":"evgenevolkov/OOP_inheritance_task","owner":{"login":"evgenevolkov","id":10812241,"avatar_url":"https://avatars.githubusercontent.com/u/10812241?v=3","gravatar_id":"","url":"https://api.github.com/users/evgenevolkov","html_url":"https://github.com/evgenevolkov","followers_url":"https://api.github.com/users/evgenevolkov/followers","following_url":"https://api.github.com/users/evgenevolkov/following{/other_user}","gists_url":"https://api.github.com/users/evgenevolkov/gists{/gist_id}","starred_url":"https://api.github.com/users/evgenevolkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgenevolkov/subscriptions","organizations_url":"https://api.github.com/users/evgenevolkov/orgs","repos_url":"https://api.github.com/users/evgenevolkov/repos","events_url":"https://api.github.com/users/evgenevolkov/events{/privacy}","received_events_url":"https://api.github.com/users/evgenevolkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evgenevolkov/OOP_inheritance_task","description":"OOP task to try JS inheritance creation and use","fork":false,"url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task","forks_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/forks","keys_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/teams","hooks_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/hooks","issue_events_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/events{/number}","events_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/events","assignees_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/assignees{/user}","branches_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/branches{/branch}","tags_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/tags","blobs_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/refs{/sha}","trees_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/statuses/{sha}","languages_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/languages","stargazers_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/stargazers","contributors_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/contributors","subscribers_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/subscribers","subscription_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/subscription","commits_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/commits{/sha}","git_commits_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/commits{/sha}","comments_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/comments{/number}","issue_comment_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/comments{/number}","contents_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/contents/{+path}","compare_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/merges","archive_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/downloads","issues_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues{/number}","pulls_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls{/number}","milestones_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/milestones{/number}","notifications_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/labels{/name}","releases_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/releases{/id}","created_at":"2015-04-15T08:54:30Z","updated_at":"2015-04-19T11:11:53Z","pushed_at":"2015-04-19T12:15:16Z","git_url":"git://github.com/evgenevolkov/OOP_inheritance_task.git","ssh_url":"git@github.com:evgenevolkov/OOP_inheritance_task.git","clone_url":"https://github.com/evgenevolkov/OOP_inheritance_task.git","svn_url":"https://github.com/evgenevolkov/OOP_inheritance_task","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"evgenevolkov:master","ref":"master","sha":"51a0f5a2cc41fb980d19c183f799035a30c39597","user":{"login":"evgenevolkov","id":10812241,"avatar_url":"https://avatars.githubusercontent.com/u/10812241?v=3","gravatar_id":"","url":"https://api.github.com/users/evgenevolkov","html_url":"https://github.com/evgenevolkov","followers_url":"https://api.github.com/users/evgenevolkov/followers","following_url":"https://api.github.com/users/evgenevolkov/following{/other_user}","gists_url":"https://api.github.com/users/evgenevolkov/gists{/gist_id}","starred_url":"https://api.github.com/users/evgenevolkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgenevolkov/subscriptions","organizations_url":"https://api.github.com/users/evgenevolkov/orgs","repos_url":"https://api.github.com/users/evgenevolkov/repos","events_url":"https://api.github.com/users/evgenevolkov/events{/privacy}","received_events_url":"https://api.github.com/users/evgenevolkov/received_events","type":"User","site_admin":false},"repo":{"id":33983530,"name":"OOP_inheritance_task","full_name":"evgenevolkov/OOP_inheritance_task","owner":{"login":"evgenevolkov","id":10812241,"avatar_url":"https://avatars.githubusercontent.com/u/10812241?v=3","gravatar_id":"","url":"https://api.github.com/users/evgenevolkov","html_url":"https://github.com/evgenevolkov","followers_url":"https://api.github.com/users/evgenevolkov/followers","following_url":"https://api.github.com/users/evgenevolkov/following{/other_user}","gists_url":"https://api.github.com/users/evgenevolkov/gists{/gist_id}","starred_url":"https://api.github.com/users/evgenevolkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgenevolkov/subscriptions","organizations_url":"https://api.github.com/users/evgenevolkov/orgs","repos_url":"https://api.github.com/users/evgenevolkov/repos","events_url":"https://api.github.com/users/evgenevolkov/events{/privacy}","received_events_url":"https://api.github.com/users/evgenevolkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evgenevolkov/OOP_inheritance_task","description":"OOP task to try JS inheritance creation and use","fork":false,"url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task","forks_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/forks","keys_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/teams","hooks_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/hooks","issue_events_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/events{/number}","events_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/events","assignees_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/assignees{/user}","branches_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/branches{/branch}","tags_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/tags","blobs_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/refs{/sha}","trees_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/statuses/{sha}","languages_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/languages","stargazers_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/stargazers","contributors_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/contributors","subscribers_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/subscribers","subscription_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/subscription","commits_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/commits{/sha}","git_commits_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/git/commits{/sha}","comments_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/comments{/number}","issue_comment_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/comments{/number}","contents_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/contents/{+path}","compare_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/merges","archive_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/downloads","issues_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues{/number}","pulls_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls{/number}","milestones_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/milestones{/number}","notifications_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/labels{/name}","releases_url":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/releases{/id}","created_at":"2015-04-15T08:54:30Z","updated_at":"2015-04-19T11:11:53Z","pushed_at":"2015-04-19T12:15:16Z","git_url":"git://github.com/evgenevolkov/OOP_inheritance_task.git","ssh_url":"git@github.com:evgenevolkov/OOP_inheritance_task.git","clone_url":"https://github.com/evgenevolkov/OOP_inheritance_task.git","svn_url":"https://github.com/evgenevolkov/OOP_inheritance_task","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"HTML","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/evgenevolkov/OOP_inheritance_task/pulls/7"},"html":{"href":"https://github.com/evgenevolkov/OOP_inheritance_task/pull/7"},"issue":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/7"},"comments":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/evgenevolkov/OOP_inheritance_task/statuses/f73f99c0fe2182fedf25f3f2e30ef9c185a67ea7"}}}}