{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/respec/pulls/comments/31365945","id":31365945,"diff_hunk":"@@ -0,0 +1,40 @@\n+// Helpers for the GitHub API.\n+\n+define(\n+    [],\n+    function () {\n+        function findNext(header) {\n+            var m = (header||\"\").match(/<([^>]+)>\\s*;\\s*rel=\"next\"/);\n+            return (m && m[1]) || null;\n+        }\n+        \n+        function fetch(url) {\n+            return $.ajax(url);","path":"js/github.js","position":12,"original_position":12,"commit_id":"20e5d2f56ddb856ddb44753f6748c042361385f7","original_commit_id":"20e5d2f56ddb856ddb44753f6748c042361385f7","user":{"login":"marcoscaceres","id":870154,"avatar_url":"https://avatars.githubusercontent.com/u/870154?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoscaceres","html_url":"https://github.com/marcoscaceres","followers_url":"https://api.github.com/users/marcoscaceres/followers","following_url":"https://api.github.com/users/marcoscaceres/following{/other_user}","gists_url":"https://api.github.com/users/marcoscaceres/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoscaceres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoscaceres/subscriptions","organizations_url":"https://api.github.com/users/marcoscaceres/orgs","repos_url":"https://api.github.com/users/marcoscaceres/repos","events_url":"https://api.github.com/users/marcoscaceres/events{/privacy}","received_events_url":"https://api.github.com/users/marcoscaceres/received_events","type":"User","site_admin":false},"body":" why not feature test here for fetch API? :) Could be neat, as it's basically the same API as jQuery. ","created_at":"2015-05-29T21:21:13Z","updated_at":"2015-05-29T21:21:13Z","html_url":"https://github.com/w3c/respec/pull/443#discussion_r31365945","pull_request_url":"https://api.github.com/repos/w3c/respec/pulls/443","_links":{"self":{"href":"https://api.github.com/repos/w3c/respec/pulls/comments/31365945"},"html":{"href":"https://github.com/w3c/respec/pull/443#discussion_r31365945"},"pull_request":{"href":"https://api.github.com/repos/w3c/respec/pulls/443"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/respec/pulls/443","id":36544965,"html_url":"https://github.com/w3c/respec/pull/443","diff_url":"https://github.com/w3c/respec/pull/443.diff","patch_url":"https://github.com/w3c/respec/pull/443.patch","issue_url":"https://api.github.com/repos/w3c/respec/issues/443","number":443,"state":"open","locked":false,"title":"Including body and title of GitHub issues.","user":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"body":"Adresses some but not all of the issues brought up in #241.\r\n\r\nNeeds tests, but those will need to rely on a mock server for requests.\r\n\r\nAlso needs doc.\r\n\r\nHelp welcomed. :)","created_at":"2015-05-29T21:05:32Z","updated_at":"2015-05-29T21:21:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7f8ea59d9447169bca4b24074bae8cccc526cef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/w3c/respec/pulls/443/commits","review_comments_url":"https://api.github.com/repos/w3c/respec/pulls/443/comments","review_comment_url":"https://api.github.com/repos/w3c/respec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/respec/issues/443/comments","statuses_url":"https://api.github.com/repos/w3c/respec/statuses/20e5d2f56ddb856ddb44753f6748c042361385f7","head":{"label":"tobie:gh-issues","ref":"gh-issues","sha":"20e5d2f56ddb856ddb44753f6748c042361385f7","user":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"repo":{"id":4660898,"name":"respec","full_name":"tobie/respec","owner":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tobie/respec","description":"Specification Edition Support Tool","fork":true,"url":"https://api.github.com/repos/tobie/respec","forks_url":"https://api.github.com/repos/tobie/respec/forks","keys_url":"https://api.github.com/repos/tobie/respec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tobie/respec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tobie/respec/teams","hooks_url":"https://api.github.com/repos/tobie/respec/hooks","issue_events_url":"https://api.github.com/repos/tobie/respec/issues/events{/number}","events_url":"https://api.github.com/repos/tobie/respec/events","assignees_url":"https://api.github.com/repos/tobie/respec/assignees{/user}","branches_url":"https://api.github.com/repos/tobie/respec/branches{/branch}","tags_url":"https://api.github.com/repos/tobie/respec/tags","blobs_url":"https://api.github.com/repos/tobie/respec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tobie/respec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tobie/respec/git/refs{/sha}","trees_url":"https://api.github.com/repos/tobie/respec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tobie/respec/statuses/{sha}","languages_url":"https://api.github.com/repos/tobie/respec/languages","stargazers_url":"https://api.github.com/repos/tobie/respec/stargazers","contributors_url":"https://api.github.com/repos/tobie/respec/contributors","subscribers_url":"https://api.github.com/repos/tobie/respec/subscribers","subscription_url":"https://api.github.com/repos/tobie/respec/subscription","commits_url":"https://api.github.com/repos/tobie/respec/commits{/sha}","git_commits_url":"https://api.github.com/repos/tobie/respec/git/commits{/sha}","comments_url":"https://api.github.com/repos/tobie/respec/comments{/number}","issue_comment_url":"https://api.github.com/repos/tobie/respec/issues/comments{/number}","contents_url":"https://api.github.com/repos/tobie/respec/contents/{+path}","compare_url":"https://api.github.com/repos/tobie/respec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tobie/respec/merges","archive_url":"https://api.github.com/repos/tobie/respec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tobie/respec/downloads","issues_url":"https://api.github.com/repos/tobie/respec/issues{/number}","pulls_url":"https://api.github.com/repos/tobie/respec/pulls{/number}","milestones_url":"https://api.github.com/repos/tobie/respec/milestones{/number}","notifications_url":"https://api.github.com/repos/tobie/respec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tobie/respec/labels{/name}","releases_url":"https://api.github.com/repos/tobie/respec/releases{/id}","created_at":"2012-06-14T08:17:38Z","updated_at":"2014-09-18T13:42:42Z","pushed_at":"2015-05-29T21:01:54Z","git_url":"git://github.com/tobie/respec.git","ssh_url":"git@github.com:tobie/respec.git","clone_url":"https://github.com/tobie/respec.git","svn_url":"https://github.com/tobie/respec","homepage":null,"size":4777,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"gh-pages"}},"base":{"label":"w3c:develop","ref":"develop","sha":"364a3df82621c71ca24537acd67d0b453d2733e3","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":4287066,"name":"respec","full_name":"w3c/respec","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/respec","description":"Specification Edition Support Tool","fork":false,"url":"https://api.github.com/repos/w3c/respec","forks_url":"https://api.github.com/repos/w3c/respec/forks","keys_url":"https://api.github.com/repos/w3c/respec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/respec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/respec/teams","hooks_url":"https://api.github.com/repos/w3c/respec/hooks","issue_events_url":"https://api.github.com/repos/w3c/respec/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/respec/events","assignees_url":"https://api.github.com/repos/w3c/respec/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/respec/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/respec/tags","blobs_url":"https://api.github.com/repos/w3c/respec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/respec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/respec/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/respec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/respec/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/respec/languages","stargazers_url":"https://api.github.com/repos/w3c/respec/stargazers","contributors_url":"https://api.github.com/repos/w3c/respec/contributors","subscribers_url":"https://api.github.com/repos/w3c/respec/subscribers","subscription_url":"https://api.github.com/repos/w3c/respec/subscription","commits_url":"https://api.github.com/repos/w3c/respec/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/respec/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/respec/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/respec/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/respec/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/respec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/respec/merges","archive_url":"https://api.github.com/repos/w3c/respec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/respec/downloads","issues_url":"https://api.github.com/repos/w3c/respec/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/respec/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/respec/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/respec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/respec/labels{/name}","releases_url":"https://api.github.com/repos/w3c/respec/releases{/id}","created_at":"2012-05-10T16:39:37Z","updated_at":"2015-05-27T06:56:39Z","pushed_at":"2015-05-29T21:05:32Z","git_url":"git://github.com/w3c/respec.git","ssh_url":"git@github.com:w3c/respec.git","clone_url":"https://github.com/w3c/respec.git","svn_url":"https://github.com/w3c/respec","homepage":null,"size":8594,"stargazers_count":88,"watchers_count":88,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":79,"mirror_url":null,"open_issues_count":57,"forks":79,"open_issues":57,"watchers":88,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/respec/pulls/443"},"html":{"href":"https://github.com/w3c/respec/pull/443"},"issue":{"href":"https://api.github.com/repos/w3c/respec/issues/443"},"comments":{"href":"https://api.github.com/repos/w3c/respec/issues/443/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/respec/pulls/443/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/respec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/respec/pulls/443/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/respec/statuses/20e5d2f56ddb856ddb44753f6748c042361385f7"}}}}