{"action":"created","comment":{"url":"https://api.github.com/repos/bzdeck/bzdeck/pulls/comments/28327459","id":28327459,"diff_hunk":"@@ -0,0 +1,18 @@\n+<?php\n+// This file is used for testing BzDeck with PHP's built-in web server.\n+// Usage: \n+// 1. php -S localhost:8000 dev-router.php\n+// 2. Visit http://localhost:8000\n+\n+if (file_exists(__DIR__ . '/webroot' . $_SERVER['REQUEST_URI'])) {\n+  // Serve the requested resource as-is.\n+  return false;\n+}\n+\n+if ($_SERVER['REQUEST_URI'] === '/static/scripts/combined.js') {\n+  // Map combined.js to PHP\n+  include('components/combine-scripts.php');","path":"dev-router.php","position":14,"original_position":14,"commit_id":"88e7eb2fb8d612ecaeb661d60bbf990823618d5c","original_commit_id":"88e7eb2fb8d612ecaeb661d60bbf990823618d5c","user":{"login":"shinglyu","id":3250983,"avatar_url":"https://avatars.githubusercontent.com/u/3250983?v=3","gravatar_id":"","url":"https://api.github.com/users/shinglyu","html_url":"https://github.com/shinglyu","followers_url":"https://api.github.com/users/shinglyu/followers","following_url":"https://api.github.com/users/shinglyu/following{/other_user}","gists_url":"https://api.github.com/users/shinglyu/gists{/gist_id}","starred_url":"https://api.github.com/users/shinglyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinglyu/subscriptions","organizations_url":"https://api.github.com/users/shinglyu/orgs","repos_url":"https://api.github.com/users/shinglyu/repos","events_url":"https://api.github.com/users/shinglyu/events{/privacy}","received_events_url":"https://api.github.com/users/shinglyu/received_events","type":"User","site_admin":false},"body":"It worked for me this morning, I guess the difference is the `-t webroot` parameter I used in `run_dev_server.sh`. I'll double check when I get to office tomorrow.","created_at":"2015-04-14T13:48:07Z","updated_at":"2015-04-14T13:48:07Z","html_url":"https://github.com/bzdeck/bzdeck/pull/265#discussion_r28327459","pull_request_url":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265","_links":{"self":{"href":"https://api.github.com/repos/bzdeck/bzdeck/pulls/comments/28327459"},"html":{"href":"https://github.com/bzdeck/bzdeck/pull/265#discussion_r28327459"},"pull_request":{"href":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265"}}},"pull_request":{"url":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265","id":33240592,"html_url":"https://github.com/bzdeck/bzdeck/pull/265","diff_url":"https://github.com/bzdeck/bzdeck/pull/265.diff","patch_url":"https://github.com/bzdeck/bzdeck/pull/265.patch","issue_url":"https://api.github.com/repos/bzdeck/bzdeck/issues/265","number":265,"state":"open","locked":false,"title":"Added local dev server instructions and scritps","user":{"login":"shinglyu","id":3250983,"avatar_url":"https://avatars.githubusercontent.com/u/3250983?v=3","gravatar_id":"","url":"https://api.github.com/users/shinglyu","html_url":"https://github.com/shinglyu","followers_url":"https://api.github.com/users/shinglyu/followers","following_url":"https://api.github.com/users/shinglyu/following{/other_user}","gists_url":"https://api.github.com/users/shinglyu/gists{/gist_id}","starred_url":"https://api.github.com/users/shinglyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinglyu/subscriptions","organizations_url":"https://api.github.com/users/shinglyu/orgs","repos_url":"https://api.github.com/users/shinglyu/repos","events_url":"https://api.github.com/users/shinglyu/events{/privacy}","received_events_url":"https://api.github.com/users/shinglyu/received_events","type":"User","site_admin":false},"body":"I moved the scripts to the root level to avoid publishing them to the public accidentally. ","created_at":"2015-04-14T09:34:49Z","updated_at":"2015-04-14T13:48:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"502ea05f42dc2eac7ba46c30648114dad189ce5e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265/commits","review_comments_url":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265/comments","review_comment_url":"https://api.github.com/repos/bzdeck/bzdeck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bzdeck/bzdeck/issues/265/comments","statuses_url":"https://api.github.com/repos/bzdeck/bzdeck/statuses/88e7eb2fb8d612ecaeb661d60bbf990823618d5c","head":{"label":"shinglyu:devserver","ref":"devserver","sha":"88e7eb2fb8d612ecaeb661d60bbf990823618d5c","user":{"login":"shinglyu","id":3250983,"avatar_url":"https://avatars.githubusercontent.com/u/3250983?v=3","gravatar_id":"","url":"https://api.github.com/users/shinglyu","html_url":"https://github.com/shinglyu","followers_url":"https://api.github.com/users/shinglyu/followers","following_url":"https://api.github.com/users/shinglyu/following{/other_user}","gists_url":"https://api.github.com/users/shinglyu/gists{/gist_id}","starred_url":"https://api.github.com/users/shinglyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinglyu/subscriptions","organizations_url":"https://api.github.com/users/shinglyu/orgs","repos_url":"https://api.github.com/users/shinglyu/repos","events_url":"https://api.github.com/users/shinglyu/events{/privacy}","received_events_url":"https://api.github.com/users/shinglyu/received_events","type":"User","site_admin":false},"repo":{"id":33843399,"name":"bzdeck","full_name":"shinglyu/bzdeck","owner":{"login":"shinglyu","id":3250983,"avatar_url":"https://avatars.githubusercontent.com/u/3250983?v=3","gravatar_id":"","url":"https://api.github.com/users/shinglyu","html_url":"https://github.com/shinglyu","followers_url":"https://api.github.com/users/shinglyu/followers","following_url":"https://api.github.com/users/shinglyu/following{/other_user}","gists_url":"https://api.github.com/users/shinglyu/gists{/gist_id}","starred_url":"https://api.github.com/users/shinglyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinglyu/subscriptions","organizations_url":"https://api.github.com/users/shinglyu/orgs","repos_url":"https://api.github.com/users/shinglyu/repos","events_url":"https://api.github.com/users/shinglyu/events{/privacy}","received_events_url":"https://api.github.com/users/shinglyu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shinglyu/bzdeck","description":"A useful experimental Bugzilla client demonstrating modern Web application technologies such as CSS3, DOM4, HTML5, ECMAScript 6 and WAI-ARIA.","fork":true,"url":"https://api.github.com/repos/shinglyu/bzdeck","forks_url":"https://api.github.com/repos/shinglyu/bzdeck/forks","keys_url":"https://api.github.com/repos/shinglyu/bzdeck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shinglyu/bzdeck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shinglyu/bzdeck/teams","hooks_url":"https://api.github.com/repos/shinglyu/bzdeck/hooks","issue_events_url":"https://api.github.com/repos/shinglyu/bzdeck/issues/events{/number}","events_url":"https://api.github.com/repos/shinglyu/bzdeck/events","assignees_url":"https://api.github.com/repos/shinglyu/bzdeck/assignees{/user}","branches_url":"https://api.github.com/repos/shinglyu/bzdeck/branches{/branch}","tags_url":"https://api.github.com/repos/shinglyu/bzdeck/tags","blobs_url":"https://api.github.com/repos/shinglyu/bzdeck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shinglyu/bzdeck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shinglyu/bzdeck/git/refs{/sha}","trees_url":"https://api.github.com/repos/shinglyu/bzdeck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shinglyu/bzdeck/statuses/{sha}","languages_url":"https://api.github.com/repos/shinglyu/bzdeck/languages","stargazers_url":"https://api.github.com/repos/shinglyu/bzdeck/stargazers","contributors_url":"https://api.github.com/repos/shinglyu/bzdeck/contributors","subscribers_url":"https://api.github.com/repos/shinglyu/bzdeck/subscribers","subscription_url":"https://api.github.com/repos/shinglyu/bzdeck/subscription","commits_url":"https://api.github.com/repos/shinglyu/bzdeck/commits{/sha}","git_commits_url":"https://api.github.com/repos/shinglyu/bzdeck/git/commits{/sha}","comments_url":"https://api.github.com/repos/shinglyu/bzdeck/comments{/number}","issue_comment_url":"https://api.github.com/repos/shinglyu/bzdeck/issues/comments{/number}","contents_url":"https://api.github.com/repos/shinglyu/bzdeck/contents/{+path}","compare_url":"https://api.github.com/repos/shinglyu/bzdeck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shinglyu/bzdeck/merges","archive_url":"https://api.github.com/repos/shinglyu/bzdeck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shinglyu/bzdeck/downloads","issues_url":"https://api.github.com/repos/shinglyu/bzdeck/issues{/number}","pulls_url":"https://api.github.com/repos/shinglyu/bzdeck/pulls{/number}","milestones_url":"https://api.github.com/repos/shinglyu/bzdeck/milestones{/number}","notifications_url":"https://api.github.com/repos/shinglyu/bzdeck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shinglyu/bzdeck/labels{/name}","releases_url":"https://api.github.com/repos/shinglyu/bzdeck/releases{/id}","created_at":"2015-04-13T02:23:21Z","updated_at":"2015-04-13T02:23:21Z","pushed_at":"2015-04-14T09:33:26Z","git_url":"git://github.com/shinglyu/bzdeck.git","ssh_url":"git@github.com:shinglyu/bzdeck.git","clone_url":"https://github.com/shinglyu/bzdeck.git","svn_url":"https://github.com/shinglyu/bzdeck","homepage":null,"size":5830,"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":"bzdeck:master","ref":"master","sha":"3f5275e5c5321d7b5e1712374c3a47be4e211750","user":{"login":"bzdeck","id":11873387,"avatar_url":"https://avatars.githubusercontent.com/u/11873387?v=3","gravatar_id":"","url":"https://api.github.com/users/bzdeck","html_url":"https://github.com/bzdeck","followers_url":"https://api.github.com/users/bzdeck/followers","following_url":"https://api.github.com/users/bzdeck/following{/other_user}","gists_url":"https://api.github.com/users/bzdeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bzdeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzdeck/subscriptions","organizations_url":"https://api.github.com/users/bzdeck/orgs","repos_url":"https://api.github.com/users/bzdeck/repos","events_url":"https://api.github.com/users/bzdeck/events{/privacy}","received_events_url":"https://api.github.com/users/bzdeck/received_events","type":"Organization","site_admin":false},"repo":{"id":15595723,"name":"bzdeck","full_name":"bzdeck/bzdeck","owner":{"login":"bzdeck","id":11873387,"avatar_url":"https://avatars.githubusercontent.com/u/11873387?v=3","gravatar_id":"","url":"https://api.github.com/users/bzdeck","html_url":"https://github.com/bzdeck","followers_url":"https://api.github.com/users/bzdeck/followers","following_url":"https://api.github.com/users/bzdeck/following{/other_user}","gists_url":"https://api.github.com/users/bzdeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bzdeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzdeck/subscriptions","organizations_url":"https://api.github.com/users/bzdeck/orgs","repos_url":"https://api.github.com/users/bzdeck/repos","events_url":"https://api.github.com/users/bzdeck/events{/privacy}","received_events_url":"https://api.github.com/users/bzdeck/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bzdeck/bzdeck","description":"A useful experimental Bugzilla client demonstrating modern Web application technologies such as CSS3, DOM4, HTML5, ECMAScript 6 and WAI-ARIA.","fork":false,"url":"https://api.github.com/repos/bzdeck/bzdeck","forks_url":"https://api.github.com/repos/bzdeck/bzdeck/forks","keys_url":"https://api.github.com/repos/bzdeck/bzdeck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bzdeck/bzdeck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bzdeck/bzdeck/teams","hooks_url":"https://api.github.com/repos/bzdeck/bzdeck/hooks","issue_events_url":"https://api.github.com/repos/bzdeck/bzdeck/issues/events{/number}","events_url":"https://api.github.com/repos/bzdeck/bzdeck/events","assignees_url":"https://api.github.com/repos/bzdeck/bzdeck/assignees{/user}","branches_url":"https://api.github.com/repos/bzdeck/bzdeck/branches{/branch}","tags_url":"https://api.github.com/repos/bzdeck/bzdeck/tags","blobs_url":"https://api.github.com/repos/bzdeck/bzdeck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bzdeck/bzdeck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bzdeck/bzdeck/git/refs{/sha}","trees_url":"https://api.github.com/repos/bzdeck/bzdeck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bzdeck/bzdeck/statuses/{sha}","languages_url":"https://api.github.com/repos/bzdeck/bzdeck/languages","stargazers_url":"https://api.github.com/repos/bzdeck/bzdeck/stargazers","contributors_url":"https://api.github.com/repos/bzdeck/bzdeck/contributors","subscribers_url":"https://api.github.com/repos/bzdeck/bzdeck/subscribers","subscription_url":"https://api.github.com/repos/bzdeck/bzdeck/subscription","commits_url":"https://api.github.com/repos/bzdeck/bzdeck/commits{/sha}","git_commits_url":"https://api.github.com/repos/bzdeck/bzdeck/git/commits{/sha}","comments_url":"https://api.github.com/repos/bzdeck/bzdeck/comments{/number}","issue_comment_url":"https://api.github.com/repos/bzdeck/bzdeck/issues/comments{/number}","contents_url":"https://api.github.com/repos/bzdeck/bzdeck/contents/{+path}","compare_url":"https://api.github.com/repos/bzdeck/bzdeck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bzdeck/bzdeck/merges","archive_url":"https://api.github.com/repos/bzdeck/bzdeck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bzdeck/bzdeck/downloads","issues_url":"https://api.github.com/repos/bzdeck/bzdeck/issues{/number}","pulls_url":"https://api.github.com/repos/bzdeck/bzdeck/pulls{/number}","milestones_url":"https://api.github.com/repos/bzdeck/bzdeck/milestones{/number}","notifications_url":"https://api.github.com/repos/bzdeck/bzdeck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bzdeck/bzdeck/labels{/name}","releases_url":"https://api.github.com/repos/bzdeck/bzdeck/releases{/id}","created_at":"2014-01-02T22:46:43Z","updated_at":"2015-04-14T12:49:17Z","pushed_at":"2015-04-14T11:56:49Z","git_url":"git://github.com/bzdeck/bzdeck.git","ssh_url":"git@github.com:bzdeck/bzdeck.git","clone_url":"https://github.com/bzdeck/bzdeck.git","svn_url":"https://github.com/bzdeck/bzdeck","homepage":"https://www.bzdeck.com/","size":5830,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":99,"forks":3,"open_issues":99,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265"},"html":{"href":"https://github.com/bzdeck/bzdeck/pull/265"},"issue":{"href":"https://api.github.com/repos/bzdeck/bzdeck/issues/265"},"comments":{"href":"https://api.github.com/repos/bzdeck/bzdeck/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/bzdeck/bzdeck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bzdeck/bzdeck/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/bzdeck/bzdeck/statuses/88e7eb2fb8d612ecaeb661d60bbf990823618d5c"}}}}