{"action":"created","comment":{"url":"https://api.github.com/repos/lucasmazza/page.js/pulls/comments/70021128","id":70021128,"diff_hunk":"@@ -61,13 +61,14 @@ export class Page {\n   // Returns nothing.\n   dispatch(data = {}) {\n     const raw = this.recognize();\n+    if (raw === void(0) || raw === null) {\n+      throw new Error('<body> does not have a [data-page] attribute');","path":"src/page.js","position":5,"original_position":5,"commit_id":"33910492ea067f8a22b37855ef71bb5481d602e1","original_commit_id":"33910492ea067f8a22b37855ef71bb5481d602e1","user":{"login":"lucasmazza","id":80978,"avatar_url":"https://avatars.githubusercontent.com/u/80978?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmazza","html_url":"https://github.com/lucasmazza","followers_url":"https://api.github.com/users/lucasmazza/followers","following_url":"https://api.github.com/users/lucasmazza/following{/other_user}","gists_url":"https://api.github.com/users/lucasmazza/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmazza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmazza/subscriptions","organizations_url":"https://api.github.com/users/lucasmazza/orgs","repos_url":"https://api.github.com/users/lucasmazza/repos","events_url":"https://api.github.com/users/lucasmazza/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmazza/received_events","type":"User","site_admin":false},"body":"Master should be green by now - I pushed some fixes earlier. You can rebase your branch and everything should be fine. ","created_at":"2016-07-08T03:22:29Z","updated_at":"2016-07-08T03:22:29Z","html_url":"https://github.com/lucasmazza/page.js/pull/12#discussion_r70021128","pull_request_url":"https://api.github.com/repos/lucasmazza/page.js/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/lucasmazza/page.js/pulls/comments/70021128"},"html":{"href":"https://github.com/lucasmazza/page.js/pull/12#discussion_r70021128"},"pull_request":{"href":"https://api.github.com/repos/lucasmazza/page.js/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/lucasmazza/page.js/pulls/12","id":76652408,"html_url":"https://github.com/lucasmazza/page.js/pull/12","diff_url":"https://github.com/lucasmazza/page.js/pull/12.diff","patch_url":"https://github.com/lucasmazza/page.js/pull/12.patch","issue_url":"https://api.github.com/repos/lucasmazza/page.js/issues/12","number":12,"state":"open","locked":false,"title":"Show better errors when [data-page] does not exist","user":{"login":"westoque","id":99235,"avatar_url":"https://avatars.githubusercontent.com/u/99235?v=3","gravatar_id":"","url":"https://api.github.com/users/westoque","html_url":"https://github.com/westoque","followers_url":"https://api.github.com/users/westoque/followers","following_url":"https://api.github.com/users/westoque/following{/other_user}","gists_url":"https://api.github.com/users/westoque/gists{/gist_id}","starred_url":"https://api.github.com/users/westoque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westoque/subscriptions","organizations_url":"https://api.github.com/users/westoque/orgs","repos_url":"https://api.github.com/users/westoque/repos","events_url":"https://api.github.com/users/westoque/events{/privacy}","received_events_url":"https://api.github.com/users/westoque/received_events","type":"User","site_admin":false},"body":"Closes #11 ","created_at":"2016-07-07T19:34:39Z","updated_at":"2016-07-08T03:22:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"473551f6362453db567b0f9a3165a457a8a4350c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lucasmazza/page.js/pulls/12/commits","review_comments_url":"https://api.github.com/repos/lucasmazza/page.js/pulls/12/comments","review_comment_url":"https://api.github.com/repos/lucasmazza/page.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucasmazza/page.js/issues/12/comments","statuses_url":"https://api.github.com/repos/lucasmazza/page.js/statuses/33910492ea067f8a22b37855ef71bb5481d602e1","head":{"label":"westoque:show-better-errors-on-dispatch","ref":"show-better-errors-on-dispatch","sha":"33910492ea067f8a22b37855ef71bb5481d602e1","user":{"login":"westoque","id":99235,"avatar_url":"https://avatars.githubusercontent.com/u/99235?v=3","gravatar_id":"","url":"https://api.github.com/users/westoque","html_url":"https://github.com/westoque","followers_url":"https://api.github.com/users/westoque/followers","following_url":"https://api.github.com/users/westoque/following{/other_user}","gists_url":"https://api.github.com/users/westoque/gists{/gist_id}","starred_url":"https://api.github.com/users/westoque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westoque/subscriptions","organizations_url":"https://api.github.com/users/westoque/orgs","repos_url":"https://api.github.com/users/westoque/repos","events_url":"https://api.github.com/users/westoque/events{/privacy}","received_events_url":"https://api.github.com/users/westoque/received_events","type":"User","site_admin":false},"repo":{"id":62833189,"name":"page.js","full_name":"westoque/page.js","owner":{"login":"westoque","id":99235,"avatar_url":"https://avatars.githubusercontent.com/u/99235?v=3","gravatar_id":"","url":"https://api.github.com/users/westoque","html_url":"https://github.com/westoque","followers_url":"https://api.github.com/users/westoque/followers","following_url":"https://api.github.com/users/westoque/following{/other_user}","gists_url":"https://api.github.com/users/westoque/gists{/gist_id}","starred_url":"https://api.github.com/users/westoque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westoque/subscriptions","organizations_url":"https://api.github.com/users/westoque/orgs","repos_url":"https://api.github.com/users/westoque/repos","events_url":"https://api.github.com/users/westoque/events{/privacy}","received_events_url":"https://api.github.com/users/westoque/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/westoque/page.js","description":"Running your javascript code, one page at a time.","fork":true,"url":"https://api.github.com/repos/westoque/page.js","forks_url":"https://api.github.com/repos/westoque/page.js/forks","keys_url":"https://api.github.com/repos/westoque/page.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/westoque/page.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/westoque/page.js/teams","hooks_url":"https://api.github.com/repos/westoque/page.js/hooks","issue_events_url":"https://api.github.com/repos/westoque/page.js/issues/events{/number}","events_url":"https://api.github.com/repos/westoque/page.js/events","assignees_url":"https://api.github.com/repos/westoque/page.js/assignees{/user}","branches_url":"https://api.github.com/repos/westoque/page.js/branches{/branch}","tags_url":"https://api.github.com/repos/westoque/page.js/tags","blobs_url":"https://api.github.com/repos/westoque/page.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/westoque/page.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/westoque/page.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/westoque/page.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/westoque/page.js/statuses/{sha}","languages_url":"https://api.github.com/repos/westoque/page.js/languages","stargazers_url":"https://api.github.com/repos/westoque/page.js/stargazers","contributors_url":"https://api.github.com/repos/westoque/page.js/contributors","subscribers_url":"https://api.github.com/repos/westoque/page.js/subscribers","subscription_url":"https://api.github.com/repos/westoque/page.js/subscription","commits_url":"https://api.github.com/repos/westoque/page.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/westoque/page.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/westoque/page.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/westoque/page.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/westoque/page.js/contents/{+path}","compare_url":"https://api.github.com/repos/westoque/page.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/westoque/page.js/merges","archive_url":"https://api.github.com/repos/westoque/page.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/westoque/page.js/downloads","issues_url":"https://api.github.com/repos/westoque/page.js/issues{/number}","pulls_url":"https://api.github.com/repos/westoque/page.js/pulls{/number}","milestones_url":"https://api.github.com/repos/westoque/page.js/milestones{/number}","notifications_url":"https://api.github.com/repos/westoque/page.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/westoque/page.js/labels{/name}","releases_url":"https://api.github.com/repos/westoque/page.js/releases{/id}","deployments_url":"https://api.github.com/repos/westoque/page.js/deployments","created_at":"2016-07-07T19:32:16Z","updated_at":"2016-07-07T19:32:16Z","pushed_at":"2016-07-07T19:33:51Z","git_url":"git://github.com/westoque/page.js.git","ssh_url":"git@github.com:westoque/page.js.git","clone_url":"https://github.com/westoque/page.js.git","svn_url":"https://github.com/westoque/page.js","homepage":"http://github.com/lucasmazza/page.js","size":70,"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":"lucasmazza:master","ref":"master","sha":"23e4e42e5bf525be5d4fae01d6f6d1b6eec85417","user":{"login":"lucasmazza","id":80978,"avatar_url":"https://avatars.githubusercontent.com/u/80978?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmazza","html_url":"https://github.com/lucasmazza","followers_url":"https://api.github.com/users/lucasmazza/followers","following_url":"https://api.github.com/users/lucasmazza/following{/other_user}","gists_url":"https://api.github.com/users/lucasmazza/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmazza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmazza/subscriptions","organizations_url":"https://api.github.com/users/lucasmazza/orgs","repos_url":"https://api.github.com/users/lucasmazza/repos","events_url":"https://api.github.com/users/lucasmazza/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmazza/received_events","type":"User","site_admin":false},"repo":{"id":2721651,"name":"page.js","full_name":"lucasmazza/page.js","owner":{"login":"lucasmazza","id":80978,"avatar_url":"https://avatars.githubusercontent.com/u/80978?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmazza","html_url":"https://github.com/lucasmazza","followers_url":"https://api.github.com/users/lucasmazza/followers","following_url":"https://api.github.com/users/lucasmazza/following{/other_user}","gists_url":"https://api.github.com/users/lucasmazza/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmazza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmazza/subscriptions","organizations_url":"https://api.github.com/users/lucasmazza/orgs","repos_url":"https://api.github.com/users/lucasmazza/repos","events_url":"https://api.github.com/users/lucasmazza/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmazza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucasmazza/page.js","description":"Running your javascript code, one page at a time.","fork":false,"url":"https://api.github.com/repos/lucasmazza/page.js","forks_url":"https://api.github.com/repos/lucasmazza/page.js/forks","keys_url":"https://api.github.com/repos/lucasmazza/page.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucasmazza/page.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucasmazza/page.js/teams","hooks_url":"https://api.github.com/repos/lucasmazza/page.js/hooks","issue_events_url":"https://api.github.com/repos/lucasmazza/page.js/issues/events{/number}","events_url":"https://api.github.com/repos/lucasmazza/page.js/events","assignees_url":"https://api.github.com/repos/lucasmazza/page.js/assignees{/user}","branches_url":"https://api.github.com/repos/lucasmazza/page.js/branches{/branch}","tags_url":"https://api.github.com/repos/lucasmazza/page.js/tags","blobs_url":"https://api.github.com/repos/lucasmazza/page.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucasmazza/page.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucasmazza/page.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucasmazza/page.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucasmazza/page.js/statuses/{sha}","languages_url":"https://api.github.com/repos/lucasmazza/page.js/languages","stargazers_url":"https://api.github.com/repos/lucasmazza/page.js/stargazers","contributors_url":"https://api.github.com/repos/lucasmazza/page.js/contributors","subscribers_url":"https://api.github.com/repos/lucasmazza/page.js/subscribers","subscription_url":"https://api.github.com/repos/lucasmazza/page.js/subscription","commits_url":"https://api.github.com/repos/lucasmazza/page.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucasmazza/page.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucasmazza/page.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucasmazza/page.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucasmazza/page.js/contents/{+path}","compare_url":"https://api.github.com/repos/lucasmazza/page.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucasmazza/page.js/merges","archive_url":"https://api.github.com/repos/lucasmazza/page.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucasmazza/page.js/downloads","issues_url":"https://api.github.com/repos/lucasmazza/page.js/issues{/number}","pulls_url":"https://api.github.com/repos/lucasmazza/page.js/pulls{/number}","milestones_url":"https://api.github.com/repos/lucasmazza/page.js/milestones{/number}","notifications_url":"https://api.github.com/repos/lucasmazza/page.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucasmazza/page.js/labels{/name}","releases_url":"https://api.github.com/repos/lucasmazza/page.js/releases{/id}","deployments_url":"https://api.github.com/repos/lucasmazza/page.js/deployments","created_at":"2011-11-06T18:54:59Z","updated_at":"2016-07-07T19:35:55Z","pushed_at":"2016-07-07T22:12:11Z","git_url":"git://github.com/lucasmazza/page.js.git","ssh_url":"git@github.com:lucasmazza/page.js.git","clone_url":"https://github.com/lucasmazza/page.js.git","svn_url":"https://github.com/lucasmazza/page.js","homepage":"http://github.com/lucasmazza/page.js","size":77,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucasmazza/page.js/pulls/12"},"html":{"href":"https://github.com/lucasmazza/page.js/pull/12"},"issue":{"href":"https://api.github.com/repos/lucasmazza/page.js/issues/12"},"comments":{"href":"https://api.github.com/repos/lucasmazza/page.js/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/lucasmazza/page.js/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/lucasmazza/page.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucasmazza/page.js/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/lucasmazza/page.js/statuses/33910492ea067f8a22b37855ef71bb5481d602e1"}}}}
{"actor":{"display_login":"lucasmazza"}}