{"action":"created","comment":{"url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/comments/64872176","id":64872176,"diff_hunk":"@@ -0,0 +1,127 @@\n+import fs from \"fs\";\n+import CameraShot from \"../objects/CameraShot\";\n+import CameraTimeline from \"../objects/CameraTimeline\";\n+import xml2js from \"xml2js\";\n+import CameraType from \"./CameraType\";\n+import Camera from \"./Camera\";\n+\n+const parser = new xml2js.Parser();\n+\n+/*\n+ * Class for storing a CameraTimeline\n+ */\n+class XMLHelper {\n+\n+    getCameraType(XMLObject) {","path":"objects/XMLHelper.js","position":15,"original_position":15,"commit_id":"efcd3b741c444b3eb3402e2cd71c5e05231880b1","original_commit_id":"efcd3b741c444b3eb3402e2cd71c5e05231880b1","user":{"login":"geenen124","id":2461715,"avatar_url":"https://avatars.githubusercontent.com/u/2461715?v=3","gravatar_id":"","url":"https://api.github.com/users/geenen124","html_url":"https://github.com/geenen124","followers_url":"https://api.github.com/users/geenen124/followers","following_url":"https://api.github.com/users/geenen124/following{/other_user}","gists_url":"https://api.github.com/users/geenen124/gists{/gist_id}","starred_url":"https://api.github.com/users/geenen124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geenen124/subscriptions","organizations_url":"https://api.github.com/users/geenen124/orgs","repos_url":"https://api.github.com/users/geenen124/repos","events_url":"https://api.github.com/users/geenen124/events{/privacy}","received_events_url":"https://api.github.com/users/geenen124/received_events","type":"User","site_admin":false},"body":"This is a duplicate of the `fromXML(XMLObject)` method in CameraType","created_at":"2016-05-27T08:23:21Z","updated_at":"2016-05-27T08:23:21Z","html_url":"https://github.com/bartdejonge1996/goto-fail-webserver/pull/6#discussion_r64872176","pull_request_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/comments/64872176"},"html":{"href":"https://github.com/bartdejonge1996/goto-fail-webserver/pull/6#discussion_r64872176"},"pull_request":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6","id":71675837,"html_url":"https://github.com/bartdejonge1996/goto-fail-webserver/pull/6","diff_url":"https://github.com/bartdejonge1996/goto-fail-webserver/pull/6.diff","patch_url":"https://github.com/bartdejonge1996/goto-fail-webserver/pull/6.patch","issue_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/6","number":6,"state":"open","locked":false,"title":"Selective timelines","user":{"login":"bartdejonge1996","id":9842130,"avatar_url":"https://avatars.githubusercontent.com/u/9842130?v=3","gravatar_id":"","url":"https://api.github.com/users/bartdejonge1996","html_url":"https://github.com/bartdejonge1996","followers_url":"https://api.github.com/users/bartdejonge1996/followers","following_url":"https://api.github.com/users/bartdejonge1996/following{/other_user}","gists_url":"https://api.github.com/users/bartdejonge1996/gists{/gist_id}","starred_url":"https://api.github.com/users/bartdejonge1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartdejonge1996/subscriptions","organizations_url":"https://api.github.com/users/bartdejonge1996/orgs","repos_url":"https://api.github.com/users/bartdejonge1996/repos","events_url":"https://api.github.com/users/bartdejonge1996/events{/privacy}","received_events_url":"https://api.github.com/users/bartdejonge1996/received_events","type":"User","site_admin":false},"body":"Added selective timelines","created_at":"2016-05-27T08:14:30Z","updated_at":"2016-05-27T08:23:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f34180b951a41048fc9af250aa7a4bc44750bd8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6/commits","review_comments_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6/comments","review_comment_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/6/comments","statuses_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/statuses/efcd3b741c444b3eb3402e2cd71c5e05231880b1","head":{"label":"bartdejonge1996:selective-timelines","ref":"selective-timelines","sha":"efcd3b741c444b3eb3402e2cd71c5e05231880b1","user":{"login":"bartdejonge1996","id":9842130,"avatar_url":"https://avatars.githubusercontent.com/u/9842130?v=3","gravatar_id":"","url":"https://api.github.com/users/bartdejonge1996","html_url":"https://github.com/bartdejonge1996","followers_url":"https://api.github.com/users/bartdejonge1996/followers","following_url":"https://api.github.com/users/bartdejonge1996/following{/other_user}","gists_url":"https://api.github.com/users/bartdejonge1996/gists{/gist_id}","starred_url":"https://api.github.com/users/bartdejonge1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartdejonge1996/subscriptions","organizations_url":"https://api.github.com/users/bartdejonge1996/orgs","repos_url":"https://api.github.com/users/bartdejonge1996/repos","events_url":"https://api.github.com/users/bartdejonge1996/events{/privacy}","received_events_url":"https://api.github.com/users/bartdejonge1996/received_events","type":"User","site_admin":false},"repo":{"id":59470936,"name":"goto-fail-webserver","full_name":"bartdejonge1996/goto-fail-webserver","owner":{"login":"bartdejonge1996","id":9842130,"avatar_url":"https://avatars.githubusercontent.com/u/9842130?v=3","gravatar_id":"","url":"https://api.github.com/users/bartdejonge1996","html_url":"https://github.com/bartdejonge1996","followers_url":"https://api.github.com/users/bartdejonge1996/followers","following_url":"https://api.github.com/users/bartdejonge1996/following{/other_user}","gists_url":"https://api.github.com/users/bartdejonge1996/gists{/gist_id}","starred_url":"https://api.github.com/users/bartdejonge1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartdejonge1996/subscriptions","organizations_url":"https://api.github.com/users/bartdejonge1996/orgs","repos_url":"https://api.github.com/users/bartdejonge1996/repos","events_url":"https://api.github.com/users/bartdejonge1996/events{/privacy}","received_events_url":"https://api.github.com/users/bartdejonge1996/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bartdejonge1996/goto-fail-webserver","description":"Webserver for the goto-fail proejct","fork":false,"url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver","forks_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/forks","keys_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/teams","hooks_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/hooks","issue_events_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/events{/number}","events_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/events","assignees_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/assignees{/user}","branches_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/branches{/branch}","tags_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/tags","blobs_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/statuses/{sha}","languages_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/languages","stargazers_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/stargazers","contributors_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/contributors","subscribers_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/subscribers","subscription_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/subscription","commits_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/contents/{+path}","compare_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/merges","archive_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/downloads","issues_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues{/number}","pulls_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls{/number}","milestones_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/milestones{/number}","notifications_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/labels{/name}","releases_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/releases{/id}","deployments_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/deployments","created_at":"2016-05-23T09:45:33Z","updated_at":"2016-05-23T10:04:05Z","pushed_at":"2016-05-27T08:14:30Z","git_url":"git://github.com/bartdejonge1996/goto-fail-webserver.git","ssh_url":"git@github.com:bartdejonge1996/goto-fail-webserver.git","clone_url":"https://github.com/bartdejonge1996/goto-fail-webserver.git","svn_url":"https://github.com/bartdejonge1996/goto-fail-webserver","homepage":null,"size":144,"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":"develop"}},"base":{"label":"bartdejonge1996:develop","ref":"develop","sha":"91f3348c54c144bdab3e8768b307ad8cc3123b83","user":{"login":"bartdejonge1996","id":9842130,"avatar_url":"https://avatars.githubusercontent.com/u/9842130?v=3","gravatar_id":"","url":"https://api.github.com/users/bartdejonge1996","html_url":"https://github.com/bartdejonge1996","followers_url":"https://api.github.com/users/bartdejonge1996/followers","following_url":"https://api.github.com/users/bartdejonge1996/following{/other_user}","gists_url":"https://api.github.com/users/bartdejonge1996/gists{/gist_id}","starred_url":"https://api.github.com/users/bartdejonge1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartdejonge1996/subscriptions","organizations_url":"https://api.github.com/users/bartdejonge1996/orgs","repos_url":"https://api.github.com/users/bartdejonge1996/repos","events_url":"https://api.github.com/users/bartdejonge1996/events{/privacy}","received_events_url":"https://api.github.com/users/bartdejonge1996/received_events","type":"User","site_admin":false},"repo":{"id":59470936,"name":"goto-fail-webserver","full_name":"bartdejonge1996/goto-fail-webserver","owner":{"login":"bartdejonge1996","id":9842130,"avatar_url":"https://avatars.githubusercontent.com/u/9842130?v=3","gravatar_id":"","url":"https://api.github.com/users/bartdejonge1996","html_url":"https://github.com/bartdejonge1996","followers_url":"https://api.github.com/users/bartdejonge1996/followers","following_url":"https://api.github.com/users/bartdejonge1996/following{/other_user}","gists_url":"https://api.github.com/users/bartdejonge1996/gists{/gist_id}","starred_url":"https://api.github.com/users/bartdejonge1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartdejonge1996/subscriptions","organizations_url":"https://api.github.com/users/bartdejonge1996/orgs","repos_url":"https://api.github.com/users/bartdejonge1996/repos","events_url":"https://api.github.com/users/bartdejonge1996/events{/privacy}","received_events_url":"https://api.github.com/users/bartdejonge1996/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bartdejonge1996/goto-fail-webserver","description":"Webserver for the goto-fail proejct","fork":false,"url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver","forks_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/forks","keys_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/teams","hooks_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/hooks","issue_events_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/events{/number}","events_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/events","assignees_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/assignees{/user}","branches_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/branches{/branch}","tags_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/tags","blobs_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/statuses/{sha}","languages_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/languages","stargazers_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/stargazers","contributors_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/contributors","subscribers_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/subscribers","subscription_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/subscription","commits_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/contents/{+path}","compare_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/merges","archive_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/downloads","issues_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues{/number}","pulls_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls{/number}","milestones_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/milestones{/number}","notifications_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/labels{/name}","releases_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/releases{/id}","deployments_url":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/deployments","created_at":"2016-05-23T09:45:33Z","updated_at":"2016-05-23T10:04:05Z","pushed_at":"2016-05-27T08:14:30Z","git_url":"git://github.com/bartdejonge1996/goto-fail-webserver.git","ssh_url":"git@github.com:bartdejonge1996/goto-fail-webserver.git","clone_url":"https://github.com/bartdejonge1996/goto-fail-webserver.git","svn_url":"https://github.com/bartdejonge1996/goto-fail-webserver","homepage":null,"size":144,"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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6"},"html":{"href":"https://github.com/bartdejonge1996/goto-fail-webserver/pull/6"},"issue":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/6"},"comments":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/bartdejonge1996/goto-fail-webserver/statuses/efcd3b741c444b3eb3402e2cd71c5e05231880b1"}}}}
{"actor":{"display_login":"geenen124"}}