{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/dotcypress/micro-route/pulls/1","id":106741902,"html_url":"https://github.com/dotcypress/micro-route/pull/1","diff_url":"https://github.com/dotcypress/micro-route/pull/1.diff","patch_url":"https://github.com/dotcypress/micro-route/pull/1.patch","issue_url":"https://api.github.com/repos/dotcypress/micro-route/issues/1","number":1,"state":"open","locked":false,"title":"Assign dispatch fn to a named constant","user":{"login":"samtgarson","id":6242344,"avatar_url":"https://avatars.githubusercontent.com/u/6242344?v=3","gravatar_id":"","url":"https://api.github.com/users/samtgarson","html_url":"https://github.com/samtgarson","followers_url":"https://api.github.com/users/samtgarson/followers","following_url":"https://api.github.com/users/samtgarson/following{/other_user}","gists_url":"https://api.github.com/users/samtgarson/gists{/gist_id}","starred_url":"https://api.github.com/users/samtgarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samtgarson/subscriptions","organizations_url":"https://api.github.com/users/samtgarson/orgs","repos_url":"https://api.github.com/users/samtgarson/repos","events_url":"https://api.github.com/users/samtgarson/events{/privacy}","received_events_url":"https://api.github.com/users/samtgarson/received_events","type":"User","site_admin":false},"body":"When using this library with a tool like Webpack which mutates the names of functions, this library throws an error: \r\n```\r\nReferenceError: dispatch is not defined\r\n```\r\n\r\nThis fixes that (if there's a better way to fix this, please let me know!)","created_at":"2017-02-17T14:23:02Z","updated_at":"2017-02-17T14:23:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotcypress/micro-route/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dotcypress/micro-route/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dotcypress/micro-route/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotcypress/micro-route/issues/1/comments","statuses_url":"https://api.github.com/repos/dotcypress/micro-route/statuses/53d90dd600b12d4bbe68f523e5c3c58bb96c0865","head":{"label":"samtgarson:master","ref":"master","sha":"53d90dd600b12d4bbe68f523e5c3c58bb96c0865","user":{"login":"samtgarson","id":6242344,"avatar_url":"https://avatars.githubusercontent.com/u/6242344?v=3","gravatar_id":"","url":"https://api.github.com/users/samtgarson","html_url":"https://github.com/samtgarson","followers_url":"https://api.github.com/users/samtgarson/followers","following_url":"https://api.github.com/users/samtgarson/following{/other_user}","gists_url":"https://api.github.com/users/samtgarson/gists{/gist_id}","starred_url":"https://api.github.com/users/samtgarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samtgarson/subscriptions","organizations_url":"https://api.github.com/users/samtgarson/orgs","repos_url":"https://api.github.com/users/samtgarson/repos","events_url":"https://api.github.com/users/samtgarson/events{/privacy}","received_events_url":"https://api.github.com/users/samtgarson/received_events","type":"User","site_admin":false},"repo":{"id":82304161,"name":"micro-route","full_name":"samtgarson/micro-route","owner":{"login":"samtgarson","id":6242344,"avatar_url":"https://avatars.githubusercontent.com/u/6242344?v=3","gravatar_id":"","url":"https://api.github.com/users/samtgarson","html_url":"https://github.com/samtgarson","followers_url":"https://api.github.com/users/samtgarson/followers","following_url":"https://api.github.com/users/samtgarson/following{/other_user}","gists_url":"https://api.github.com/users/samtgarson/gists{/gist_id}","starred_url":"https://api.github.com/users/samtgarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samtgarson/subscriptions","organizations_url":"https://api.github.com/users/samtgarson/orgs","repos_url":"https://api.github.com/users/samtgarson/repos","events_url":"https://api.github.com/users/samtgarson/events{/privacy}","received_events_url":"https://api.github.com/users/samtgarson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samtgarson/micro-route","description":"🎛 Tiny http routing helper","fork":true,"url":"https://api.github.com/repos/samtgarson/micro-route","forks_url":"https://api.github.com/repos/samtgarson/micro-route/forks","keys_url":"https://api.github.com/repos/samtgarson/micro-route/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samtgarson/micro-route/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samtgarson/micro-route/teams","hooks_url":"https://api.github.com/repos/samtgarson/micro-route/hooks","issue_events_url":"https://api.github.com/repos/samtgarson/micro-route/issues/events{/number}","events_url":"https://api.github.com/repos/samtgarson/micro-route/events","assignees_url":"https://api.github.com/repos/samtgarson/micro-route/assignees{/user}","branches_url":"https://api.github.com/repos/samtgarson/micro-route/branches{/branch}","tags_url":"https://api.github.com/repos/samtgarson/micro-route/tags","blobs_url":"https://api.github.com/repos/samtgarson/micro-route/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samtgarson/micro-route/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samtgarson/micro-route/git/refs{/sha}","trees_url":"https://api.github.com/repos/samtgarson/micro-route/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samtgarson/micro-route/statuses/{sha}","languages_url":"https://api.github.com/repos/samtgarson/micro-route/languages","stargazers_url":"https://api.github.com/repos/samtgarson/micro-route/stargazers","contributors_url":"https://api.github.com/repos/samtgarson/micro-route/contributors","subscribers_url":"https://api.github.com/repos/samtgarson/micro-route/subscribers","subscription_url":"https://api.github.com/repos/samtgarson/micro-route/subscription","commits_url":"https://api.github.com/repos/samtgarson/micro-route/commits{/sha}","git_commits_url":"https://api.github.com/repos/samtgarson/micro-route/git/commits{/sha}","comments_url":"https://api.github.com/repos/samtgarson/micro-route/comments{/number}","issue_comment_url":"https://api.github.com/repos/samtgarson/micro-route/issues/comments{/number}","contents_url":"https://api.github.com/repos/samtgarson/micro-route/contents/{+path}","compare_url":"https://api.github.com/repos/samtgarson/micro-route/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samtgarson/micro-route/merges","archive_url":"https://api.github.com/repos/samtgarson/micro-route/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samtgarson/micro-route/downloads","issues_url":"https://api.github.com/repos/samtgarson/micro-route/issues{/number}","pulls_url":"https://api.github.com/repos/samtgarson/micro-route/pulls{/number}","milestones_url":"https://api.github.com/repos/samtgarson/micro-route/milestones{/number}","notifications_url":"https://api.github.com/repos/samtgarson/micro-route/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samtgarson/micro-route/labels{/name}","releases_url":"https://api.github.com/repos/samtgarson/micro-route/releases{/id}","deployments_url":"https://api.github.com/repos/samtgarson/micro-route/deployments","created_at":"2017-02-17T14:19:46Z","updated_at":"2017-02-17T14:19:48Z","pushed_at":"2017-02-17T14:21:40Z","git_url":"git://github.com/samtgarson/micro-route.git","ssh_url":"git@github.com:samtgarson/micro-route.git","clone_url":"https://github.com/samtgarson/micro-route.git","svn_url":"https://github.com/samtgarson/micro-route","homepage":null,"size":10,"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":"dotcypress:master","ref":"master","sha":"8455fa2fca36daac8bade0a3439aaea9b97ca52b","user":{"login":"dotcypress","id":1333916,"avatar_url":"https://avatars.githubusercontent.com/u/1333916?v=3","gravatar_id":"","url":"https://api.github.com/users/dotcypress","html_url":"https://github.com/dotcypress","followers_url":"https://api.github.com/users/dotcypress/followers","following_url":"https://api.github.com/users/dotcypress/following{/other_user}","gists_url":"https://api.github.com/users/dotcypress/gists{/gist_id}","starred_url":"https://api.github.com/users/dotcypress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotcypress/subscriptions","organizations_url":"https://api.github.com/users/dotcypress/orgs","repos_url":"https://api.github.com/users/dotcypress/repos","events_url":"https://api.github.com/users/dotcypress/events{/privacy}","received_events_url":"https://api.github.com/users/dotcypress/received_events","type":"User","site_admin":false},"repo":{"id":75455437,"name":"micro-route","full_name":"dotcypress/micro-route","owner":{"login":"dotcypress","id":1333916,"avatar_url":"https://avatars.githubusercontent.com/u/1333916?v=3","gravatar_id":"","url":"https://api.github.com/users/dotcypress","html_url":"https://github.com/dotcypress","followers_url":"https://api.github.com/users/dotcypress/followers","following_url":"https://api.github.com/users/dotcypress/following{/other_user}","gists_url":"https://api.github.com/users/dotcypress/gists{/gist_id}","starred_url":"https://api.github.com/users/dotcypress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotcypress/subscriptions","organizations_url":"https://api.github.com/users/dotcypress/orgs","repos_url":"https://api.github.com/users/dotcypress/repos","events_url":"https://api.github.com/users/dotcypress/events{/privacy}","received_events_url":"https://api.github.com/users/dotcypress/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dotcypress/micro-route","description":"🎛 Tiny http routing helper","fork":false,"url":"https://api.github.com/repos/dotcypress/micro-route","forks_url":"https://api.github.com/repos/dotcypress/micro-route/forks","keys_url":"https://api.github.com/repos/dotcypress/micro-route/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotcypress/micro-route/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotcypress/micro-route/teams","hooks_url":"https://api.github.com/repos/dotcypress/micro-route/hooks","issue_events_url":"https://api.github.com/repos/dotcypress/micro-route/issues/events{/number}","events_url":"https://api.github.com/repos/dotcypress/micro-route/events","assignees_url":"https://api.github.com/repos/dotcypress/micro-route/assignees{/user}","branches_url":"https://api.github.com/repos/dotcypress/micro-route/branches{/branch}","tags_url":"https://api.github.com/repos/dotcypress/micro-route/tags","blobs_url":"https://api.github.com/repos/dotcypress/micro-route/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotcypress/micro-route/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotcypress/micro-route/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotcypress/micro-route/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotcypress/micro-route/statuses/{sha}","languages_url":"https://api.github.com/repos/dotcypress/micro-route/languages","stargazers_url":"https://api.github.com/repos/dotcypress/micro-route/stargazers","contributors_url":"https://api.github.com/repos/dotcypress/micro-route/contributors","subscribers_url":"https://api.github.com/repos/dotcypress/micro-route/subscribers","subscription_url":"https://api.github.com/repos/dotcypress/micro-route/subscription","commits_url":"https://api.github.com/repos/dotcypress/micro-route/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotcypress/micro-route/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotcypress/micro-route/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotcypress/micro-route/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotcypress/micro-route/contents/{+path}","compare_url":"https://api.github.com/repos/dotcypress/micro-route/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotcypress/micro-route/merges","archive_url":"https://api.github.com/repos/dotcypress/micro-route/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotcypress/micro-route/downloads","issues_url":"https://api.github.com/repos/dotcypress/micro-route/issues{/number}","pulls_url":"https://api.github.com/repos/dotcypress/micro-route/pulls{/number}","milestones_url":"https://api.github.com/repos/dotcypress/micro-route/milestones{/number}","notifications_url":"https://api.github.com/repos/dotcypress/micro-route/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotcypress/micro-route/labels{/name}","releases_url":"https://api.github.com/repos/dotcypress/micro-route/releases{/id}","deployments_url":"https://api.github.com/repos/dotcypress/micro-route/deployments","created_at":"2016-12-03T06:06:51Z","updated_at":"2017-02-08T23:15:54Z","pushed_at":"2017-01-06T04:41:23Z","git_url":"git://github.com/dotcypress/micro-route.git","ssh_url":"git@github.com:dotcypress/micro-route.git","clone_url":"https://github.com/dotcypress/micro-route.git","svn_url":"https://github.com/dotcypress/micro-route","homepage":null,"size":10,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotcypress/micro-route/pulls/1"},"html":{"href":"https://github.com/dotcypress/micro-route/pull/1"},"issue":{"href":"https://api.github.com/repos/dotcypress/micro-route/issues/1"},"comments":{"href":"https://api.github.com/repos/dotcypress/micro-route/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dotcypress/micro-route/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dotcypress/micro-route/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotcypress/micro-route/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dotcypress/micro-route/statuses/53d90dd600b12d4bbe68f523e5c3c58bb96c0865"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"samtgarson"}}