{"action":"created","comment":{"url":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/comments/48161057","id":48161057,"diff_hunk":"@@ -12,71 +17,77 @@ class View\n   #XXX: Tidy and optimise","path":"modules/view/main/index.coffee","position":15,"original_position":15,"commit_id":"f4fe6e4d337fdbc7f443e1cd9a9da2fe105b152e","original_commit_id":"f4fe6e4d337fdbc7f443e1cd9a9da2fe105b152e","user":{"login":"georgesimms","id":7927477,"avatar_url":"https://avatars.githubusercontent.com/u/7927477?v=3","gravatar_id":"","url":"https://api.github.com/users/georgesimms","html_url":"https://github.com/georgesimms","followers_url":"https://api.github.com/users/georgesimms/followers","following_url":"https://api.github.com/users/georgesimms/following{/other_user}","gists_url":"https://api.github.com/users/georgesimms/gists{/gist_id}","starred_url":"https://api.github.com/users/georgesimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgesimms/subscriptions","organizations_url":"https://api.github.com/users/georgesimms/orgs","repos_url":"https://api.github.com/users/georgesimms/repos","events_url":"https://api.github.com/users/georgesimms/events{/privacy}","received_events_url":"https://api.github.com/users/georgesimms/received_events","type":"User","site_admin":false},"body":"idk, I'm not sure I particularly like the \"Let's start with an empty array and push stuff into it\" but I didn't want to modify too much without adding more tests","created_at":"2015-12-21T16:17:18Z","updated_at":"2015-12-21T16:17:18Z","html_url":"https://github.com/ocadotechnology/hexagonjs/pull/57#discussion_r48161057","pull_request_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/comments/48161057"},"html":{"href":"https://github.com/ocadotechnology/hexagonjs/pull/57#discussion_r48161057"},"pull_request":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57","id":54195974,"html_url":"https://github.com/ocadotechnology/hexagonjs/pull/57","diff_url":"https://github.com/ocadotechnology/hexagonjs/pull/57.diff","patch_url":"https://github.com/ocadotechnology/hexagonjs/pull/57.patch","issue_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/issues/57","number":57,"state":"closed","locked":false,"title":"View enhancements","user":{"login":"georgesimms","id":7927477,"avatar_url":"https://avatars.githubusercontent.com/u/7927477?v=3","gravatar_id":"","url":"https://api.github.com/users/georgesimms","html_url":"https://github.com/georgesimms","followers_url":"https://api.github.com/users/georgesimms/followers","following_url":"https://api.github.com/users/georgesimms/following{/other_user}","gists_url":"https://api.github.com/users/georgesimms/gists{/gist_id}","starred_url":"https://api.github.com/users/georgesimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgesimms/subscriptions","organizations_url":"https://api.github.com/users/georgesimms/orgs","repos_url":"https://api.github.com/users/georgesimms/repos","events_url":"https://api.github.com/users/georgesimms/events{/privacy}","received_events_url":"https://api.github.com/users/georgesimms/received_events","type":"User","site_admin":false},"body":"Various improvements to the view module\r\n\r\n* The default view enter function is slightly cleverer - it can handle multiple classes, for instance\r\n* You get a warning if you try to return an element that doesn't match the view selector\r\n* Tests were added","created_at":"2015-12-20T09:29:48Z","updated_at":"2015-12-21T16:17:18Z","closed_at":"2015-12-21T16:14:27Z","merged_at":"2015-12-21T16:14:27Z","merge_commit_sha":"b5cc96668f97ba59360f19f285c982f3670a9eb3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57/commits","review_comments_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57/comments","review_comment_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/issues/57/comments","statuses_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/statuses/f4fe6e4d337fdbc7f443e1cd9a9da2fe105b152e","head":{"label":"georgesimms:view-enhancements","ref":"view-enhancements","sha":"f4fe6e4d337fdbc7f443e1cd9a9da2fe105b152e","user":{"login":"georgesimms","id":7927477,"avatar_url":"https://avatars.githubusercontent.com/u/7927477?v=3","gravatar_id":"","url":"https://api.github.com/users/georgesimms","html_url":"https://github.com/georgesimms","followers_url":"https://api.github.com/users/georgesimms/followers","following_url":"https://api.github.com/users/georgesimms/following{/other_user}","gists_url":"https://api.github.com/users/georgesimms/gists{/gist_id}","starred_url":"https://api.github.com/users/georgesimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgesimms/subscriptions","organizations_url":"https://api.github.com/users/georgesimms/orgs","repos_url":"https://api.github.com/users/georgesimms/repos","events_url":"https://api.github.com/users/georgesimms/events{/privacy}","received_events_url":"https://api.github.com/users/georgesimms/received_events","type":"User","site_admin":false},"repo":{"id":47501220,"name":"hexagonjs","full_name":"georgesimms/hexagonjs","owner":{"login":"georgesimms","id":7927477,"avatar_url":"https://avatars.githubusercontent.com/u/7927477?v=3","gravatar_id":"","url":"https://api.github.com/users/georgesimms","html_url":"https://github.com/georgesimms","followers_url":"https://api.github.com/users/georgesimms/followers","following_url":"https://api.github.com/users/georgesimms/following{/other_user}","gists_url":"https://api.github.com/users/georgesimms/gists{/gist_id}","starred_url":"https://api.github.com/users/georgesimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgesimms/subscriptions","organizations_url":"https://api.github.com/users/georgesimms/orgs","repos_url":"https://api.github.com/users/georgesimms/repos","events_url":"https://api.github.com/users/georgesimms/events{/privacy}","received_events_url":"https://api.github.com/users/georgesimms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/georgesimms/hexagonjs","description":"A modular, themable collection of components for modern browsers","fork":true,"url":"https://api.github.com/repos/georgesimms/hexagonjs","forks_url":"https://api.github.com/repos/georgesimms/hexagonjs/forks","keys_url":"https://api.github.com/repos/georgesimms/hexagonjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georgesimms/hexagonjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georgesimms/hexagonjs/teams","hooks_url":"https://api.github.com/repos/georgesimms/hexagonjs/hooks","issue_events_url":"https://api.github.com/repos/georgesimms/hexagonjs/issues/events{/number}","events_url":"https://api.github.com/repos/georgesimms/hexagonjs/events","assignees_url":"https://api.github.com/repos/georgesimms/hexagonjs/assignees{/user}","branches_url":"https://api.github.com/repos/georgesimms/hexagonjs/branches{/branch}","tags_url":"https://api.github.com/repos/georgesimms/hexagonjs/tags","blobs_url":"https://api.github.com/repos/georgesimms/hexagonjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georgesimms/hexagonjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georgesimms/hexagonjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/georgesimms/hexagonjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georgesimms/hexagonjs/statuses/{sha}","languages_url":"https://api.github.com/repos/georgesimms/hexagonjs/languages","stargazers_url":"https://api.github.com/repos/georgesimms/hexagonjs/stargazers","contributors_url":"https://api.github.com/repos/georgesimms/hexagonjs/contributors","subscribers_url":"https://api.github.com/repos/georgesimms/hexagonjs/subscribers","subscription_url":"https://api.github.com/repos/georgesimms/hexagonjs/subscription","commits_url":"https://api.github.com/repos/georgesimms/hexagonjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/georgesimms/hexagonjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/georgesimms/hexagonjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/georgesimms/hexagonjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/georgesimms/hexagonjs/contents/{+path}","compare_url":"https://api.github.com/repos/georgesimms/hexagonjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georgesimms/hexagonjs/merges","archive_url":"https://api.github.com/repos/georgesimms/hexagonjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georgesimms/hexagonjs/downloads","issues_url":"https://api.github.com/repos/georgesimms/hexagonjs/issues{/number}","pulls_url":"https://api.github.com/repos/georgesimms/hexagonjs/pulls{/number}","milestones_url":"https://api.github.com/repos/georgesimms/hexagonjs/milestones{/number}","notifications_url":"https://api.github.com/repos/georgesimms/hexagonjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georgesimms/hexagonjs/labels{/name}","releases_url":"https://api.github.com/repos/georgesimms/hexagonjs/releases{/id}","created_at":"2015-12-06T15:02:27Z","updated_at":"2015-12-06T15:02:28Z","pushed_at":"2015-12-20T09:24:40Z","git_url":"git://github.com/georgesimms/hexagonjs.git","ssh_url":"git@github.com:georgesimms/hexagonjs.git","clone_url":"https://github.com/georgesimms/hexagonjs.git","svn_url":"https://github.com/georgesimms/hexagonjs","homepage":"https://www.hexagonjs.io","size":704,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ocadotechnology:master","ref":"master","sha":"9c21e912914a8c4489586992820d28c84007a63b","user":{"login":"ocadotechnology","id":2088731,"avatar_url":"https://avatars.githubusercontent.com/u/2088731?v=3","gravatar_id":"","url":"https://api.github.com/users/ocadotechnology","html_url":"https://github.com/ocadotechnology","followers_url":"https://api.github.com/users/ocadotechnology/followers","following_url":"https://api.github.com/users/ocadotechnology/following{/other_user}","gists_url":"https://api.github.com/users/ocadotechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/ocadotechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocadotechnology/subscriptions","organizations_url":"https://api.github.com/users/ocadotechnology/orgs","repos_url":"https://api.github.com/users/ocadotechnology/repos","events_url":"https://api.github.com/users/ocadotechnology/events{/privacy}","received_events_url":"https://api.github.com/users/ocadotechnology/received_events","type":"Organization","site_admin":false},"repo":{"id":47334865,"name":"hexagonjs","full_name":"ocadotechnology/hexagonjs","owner":{"login":"ocadotechnology","id":2088731,"avatar_url":"https://avatars.githubusercontent.com/u/2088731?v=3","gravatar_id":"","url":"https://api.github.com/users/ocadotechnology","html_url":"https://github.com/ocadotechnology","followers_url":"https://api.github.com/users/ocadotechnology/followers","following_url":"https://api.github.com/users/ocadotechnology/following{/other_user}","gists_url":"https://api.github.com/users/ocadotechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/ocadotechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocadotechnology/subscriptions","organizations_url":"https://api.github.com/users/ocadotechnology/orgs","repos_url":"https://api.github.com/users/ocadotechnology/repos","events_url":"https://api.github.com/users/ocadotechnology/events{/privacy}","received_events_url":"https://api.github.com/users/ocadotechnology/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocadotechnology/hexagonjs","description":"A modular, themable collection of components for modern browsers","fork":false,"url":"https://api.github.com/repos/ocadotechnology/hexagonjs","forks_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/forks","keys_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/teams","hooks_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/hooks","issue_events_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/issues/events{/number}","events_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/events","assignees_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/assignees{/user}","branches_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/branches{/branch}","tags_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/tags","blobs_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/statuses/{sha}","languages_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/languages","stargazers_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/stargazers","contributors_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/contributors","subscribers_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/subscribers","subscription_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/subscription","commits_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/contents/{+path}","compare_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/merges","archive_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/downloads","issues_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/issues{/number}","pulls_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls{/number}","milestones_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/milestones{/number}","notifications_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/labels{/name}","releases_url":"https://api.github.com/repos/ocadotechnology/hexagonjs/releases{/id}","created_at":"2015-12-03T13:49:12Z","updated_at":"2015-12-15T17:43:50Z","pushed_at":"2015-12-21T16:14:28Z","git_url":"git://github.com/ocadotechnology/hexagonjs.git","ssh_url":"git@github.com:ocadotechnology/hexagonjs.git","clone_url":"https://github.com/ocadotechnology/hexagonjs.git","svn_url":"https://github.com/ocadotechnology/hexagonjs","homepage":"https://www.hexagonjs.io","size":721,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":34,"forks":5,"open_issues":34,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57"},"html":{"href":"https://github.com/ocadotechnology/hexagonjs/pull/57"},"issue":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/issues/57"},"comments":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/ocadotechnology/hexagonjs/statuses/f4fe6e4d337fdbc7f443e1cd9a9da2fe105b152e"}}}}