{"action":"closed","number":647,"pull_request":{"url":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/647","id":27310766,"html_url":"https://github.com/cjohansen/Sinon.JS/pull/647","diff_url":"https://github.com/cjohansen/Sinon.JS/pull/647.diff","patch_url":"https://github.com/cjohansen/Sinon.JS/pull/647.patch","issue_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/647","number":647,"state":"closed","locked":false,"title":"Aligned sandbox.useFakeXMLHttpRequest API to documentation - resolves #393","user":{"login":"fearphage","id":23887,"avatar_url":"https://avatars.githubusercontent.com/u/23887?v=3","gravatar_id":"","url":"https://api.github.com/users/fearphage","html_url":"https://github.com/fearphage","followers_url":"https://api.github.com/users/fearphage/followers","following_url":"https://api.github.com/users/fearphage/following{/other_user}","gists_url":"https://api.github.com/users/fearphage/gists{/gist_id}","starred_url":"https://api.github.com/users/fearphage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fearphage/subscriptions","organizations_url":"https://api.github.com/users/fearphage/orgs","repos_url":"https://api.github.com/users/fearphage/repos","events_url":"https://api.github.com/users/fearphage/events{/privacy}","received_events_url":"https://api.github.com/users/fearphage/received_events","type":"User","site_admin":false},"body":"This makes the documentation correct and keeps the usage consistent with `useFakeServer` and `useFakeTimers`.","created_at":"2015-01-13T22:28:15Z","updated_at":"2015-01-15T19:50:11Z","closed_at":"2015-01-15T19:50:11Z","merged_at":"2015-01-15T19:50:11Z","merge_commit_sha":"358a5cf116c5e046c5b591f7857b727ccf0c5503","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/647/commits","review_comments_url":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/647/comments","review_comment_url":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/647/comments","statuses_url":"https://api.github.com/repos/cjohansen/Sinon.JS/statuses/dbf9d636be01685d15138d30fc5ad4e0132f063f","head":{"label":"fearphage:fix-sandbox-useFakeServer","ref":"fix-sandbox-useFakeServer","sha":"dbf9d636be01685d15138d30fc5ad4e0132f063f","user":{"login":"fearphage","id":23887,"avatar_url":"https://avatars.githubusercontent.com/u/23887?v=3","gravatar_id":"","url":"https://api.github.com/users/fearphage","html_url":"https://github.com/fearphage","followers_url":"https://api.github.com/users/fearphage/followers","following_url":"https://api.github.com/users/fearphage/following{/other_user}","gists_url":"https://api.github.com/users/fearphage/gists{/gist_id}","starred_url":"https://api.github.com/users/fearphage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fearphage/subscriptions","organizations_url":"https://api.github.com/users/fearphage/orgs","repos_url":"https://api.github.com/users/fearphage/repos","events_url":"https://api.github.com/users/fearphage/events{/privacy}","received_events_url":"https://api.github.com/users/fearphage/received_events","type":"User","site_admin":false},"repo":{"id":16568072,"name":"Sinon.JS","full_name":"fearphage/Sinon.JS","owner":{"login":"fearphage","id":23887,"avatar_url":"https://avatars.githubusercontent.com/u/23887?v=3","gravatar_id":"","url":"https://api.github.com/users/fearphage","html_url":"https://github.com/fearphage","followers_url":"https://api.github.com/users/fearphage/followers","following_url":"https://api.github.com/users/fearphage/following{/other_user}","gists_url":"https://api.github.com/users/fearphage/gists{/gist_id}","starred_url":"https://api.github.com/users/fearphage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fearphage/subscriptions","organizations_url":"https://api.github.com/users/fearphage/orgs","repos_url":"https://api.github.com/users/fearphage/repos","events_url":"https://api.github.com/users/fearphage/events{/privacy}","received_events_url":"https://api.github.com/users/fearphage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fearphage/Sinon.JS","description":"Test spies, stubs and mocks for JavaScript.","fork":true,"url":"https://api.github.com/repos/fearphage/Sinon.JS","forks_url":"https://api.github.com/repos/fearphage/Sinon.JS/forks","keys_url":"https://api.github.com/repos/fearphage/Sinon.JS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fearphage/Sinon.JS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fearphage/Sinon.JS/teams","hooks_url":"https://api.github.com/repos/fearphage/Sinon.JS/hooks","issue_events_url":"https://api.github.com/repos/fearphage/Sinon.JS/issues/events{/number}","events_url":"https://api.github.com/repos/fearphage/Sinon.JS/events","assignees_url":"https://api.github.com/repos/fearphage/Sinon.JS/assignees{/user}","branches_url":"https://api.github.com/repos/fearphage/Sinon.JS/branches{/branch}","tags_url":"https://api.github.com/repos/fearphage/Sinon.JS/tags","blobs_url":"https://api.github.com/repos/fearphage/Sinon.JS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fearphage/Sinon.JS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fearphage/Sinon.JS/git/refs{/sha}","trees_url":"https://api.github.com/repos/fearphage/Sinon.JS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fearphage/Sinon.JS/statuses/{sha}","languages_url":"https://api.github.com/repos/fearphage/Sinon.JS/languages","stargazers_url":"https://api.github.com/repos/fearphage/Sinon.JS/stargazers","contributors_url":"https://api.github.com/repos/fearphage/Sinon.JS/contributors","subscribers_url":"https://api.github.com/repos/fearphage/Sinon.JS/subscribers","subscription_url":"https://api.github.com/repos/fearphage/Sinon.JS/subscription","commits_url":"https://api.github.com/repos/fearphage/Sinon.JS/commits{/sha}","git_commits_url":"https://api.github.com/repos/fearphage/Sinon.JS/git/commits{/sha}","comments_url":"https://api.github.com/repos/fearphage/Sinon.JS/comments{/number}","issue_comment_url":"https://api.github.com/repos/fearphage/Sinon.JS/issues/comments/{number}","contents_url":"https://api.github.com/repos/fearphage/Sinon.JS/contents/{+path}","compare_url":"https://api.github.com/repos/fearphage/Sinon.JS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fearphage/Sinon.JS/merges","archive_url":"https://api.github.com/repos/fearphage/Sinon.JS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fearphage/Sinon.JS/downloads","issues_url":"https://api.github.com/repos/fearphage/Sinon.JS/issues{/number}","pulls_url":"https://api.github.com/repos/fearphage/Sinon.JS/pulls{/number}","milestones_url":"https://api.github.com/repos/fearphage/Sinon.JS/milestones{/number}","notifications_url":"https://api.github.com/repos/fearphage/Sinon.JS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fearphage/Sinon.JS/labels{/name}","releases_url":"https://api.github.com/repos/fearphage/Sinon.JS/releases{/id}","created_at":"2014-02-06T04:12:15Z","updated_at":"2015-01-13T20:25:59Z","pushed_at":"2015-01-13T22:32:05Z","git_url":"git://github.com/fearphage/Sinon.JS.git","ssh_url":"git@github.com:fearphage/Sinon.JS.git","clone_url":"https://github.com/fearphage/Sinon.JS.git","svn_url":"https://github.com/fearphage/Sinon.JS","homepage":"http://cjohansen.no/sinon/","size":1749,"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":"cjohansen:master","ref":"master","sha":"05ceffb3d811e28f81d6b62c2b803de742bd7230","user":{"login":"cjohansen","id":32871,"avatar_url":"https://avatars.githubusercontent.com/u/32871?v=3","gravatar_id":"","url":"https://api.github.com/users/cjohansen","html_url":"https://github.com/cjohansen","followers_url":"https://api.github.com/users/cjohansen/followers","following_url":"https://api.github.com/users/cjohansen/following{/other_user}","gists_url":"https://api.github.com/users/cjohansen/gists{/gist_id}","starred_url":"https://api.github.com/users/cjohansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjohansen/subscriptions","organizations_url":"https://api.github.com/users/cjohansen/orgs","repos_url":"https://api.github.com/users/cjohansen/repos","events_url":"https://api.github.com/users/cjohansen/events{/privacy}","received_events_url":"https://api.github.com/users/cjohansen/received_events","type":"User","site_admin":false},"repo":{"id":747698,"name":"Sinon.JS","full_name":"cjohansen/Sinon.JS","owner":{"login":"cjohansen","id":32871,"avatar_url":"https://avatars.githubusercontent.com/u/32871?v=3","gravatar_id":"","url":"https://api.github.com/users/cjohansen","html_url":"https://github.com/cjohansen","followers_url":"https://api.github.com/users/cjohansen/followers","following_url":"https://api.github.com/users/cjohansen/following{/other_user}","gists_url":"https://api.github.com/users/cjohansen/gists{/gist_id}","starred_url":"https://api.github.com/users/cjohansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjohansen/subscriptions","organizations_url":"https://api.github.com/users/cjohansen/orgs","repos_url":"https://api.github.com/users/cjohansen/repos","events_url":"https://api.github.com/users/cjohansen/events{/privacy}","received_events_url":"https://api.github.com/users/cjohansen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjohansen/Sinon.JS","description":"Test spies, stubs and mocks for JavaScript.","fork":false,"url":"https://api.github.com/repos/cjohansen/Sinon.JS","forks_url":"https://api.github.com/repos/cjohansen/Sinon.JS/forks","keys_url":"https://api.github.com/repos/cjohansen/Sinon.JS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjohansen/Sinon.JS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjohansen/Sinon.JS/teams","hooks_url":"https://api.github.com/repos/cjohansen/Sinon.JS/hooks","issue_events_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/events{/number}","events_url":"https://api.github.com/repos/cjohansen/Sinon.JS/events","assignees_url":"https://api.github.com/repos/cjohansen/Sinon.JS/assignees{/user}","branches_url":"https://api.github.com/repos/cjohansen/Sinon.JS/branches{/branch}","tags_url":"https://api.github.com/repos/cjohansen/Sinon.JS/tags","blobs_url":"https://api.github.com/repos/cjohansen/Sinon.JS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjohansen/Sinon.JS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjohansen/Sinon.JS/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjohansen/Sinon.JS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjohansen/Sinon.JS/statuses/{sha}","languages_url":"https://api.github.com/repos/cjohansen/Sinon.JS/languages","stargazers_url":"https://api.github.com/repos/cjohansen/Sinon.JS/stargazers","contributors_url":"https://api.github.com/repos/cjohansen/Sinon.JS/contributors","subscribers_url":"https://api.github.com/repos/cjohansen/Sinon.JS/subscribers","subscription_url":"https://api.github.com/repos/cjohansen/Sinon.JS/subscription","commits_url":"https://api.github.com/repos/cjohansen/Sinon.JS/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjohansen/Sinon.JS/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjohansen/Sinon.JS/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/comments/{number}","contents_url":"https://api.github.com/repos/cjohansen/Sinon.JS/contents/{+path}","compare_url":"https://api.github.com/repos/cjohansen/Sinon.JS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjohansen/Sinon.JS/merges","archive_url":"https://api.github.com/repos/cjohansen/Sinon.JS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjohansen/Sinon.JS/downloads","issues_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues{/number}","pulls_url":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls{/number}","milestones_url":"https://api.github.com/repos/cjohansen/Sinon.JS/milestones{/number}","notifications_url":"https://api.github.com/repos/cjohansen/Sinon.JS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjohansen/Sinon.JS/labels{/name}","releases_url":"https://api.github.com/repos/cjohansen/Sinon.JS/releases{/id}","created_at":"2010-06-29T21:15:32Z","updated_at":"2015-01-15T19:49:17Z","pushed_at":"2015-01-15T19:50:11Z","git_url":"git://github.com/cjohansen/Sinon.JS.git","ssh_url":"git@github.com:cjohansen/Sinon.JS.git","clone_url":"https://github.com/cjohansen/Sinon.JS.git","svn_url":"https://github.com/cjohansen/Sinon.JS","homepage":"http://sinonjs.org/","size":3511,"stargazers_count":1804,"watchers_count":1804,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":296,"mirror_url":null,"open_issues_count":84,"forks":296,"open_issues":84,"watchers":1804,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/647"},"html":{"href":"https://github.com/cjohansen/Sinon.JS/pull/647"},"issue":{"href":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/647"},"comments":{"href":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/647/comments"},"review_comments":{"href":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/647/comments"},"review_comment":{"href":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/647/commits"},"statuses":{"href":"https://api.github.com/repos/cjohansen/Sinon.JS/statuses/dbf9d636be01685d15138d30fc5ad4e0132f063f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cjohansen","id":32871,"avatar_url":"https://avatars.githubusercontent.com/u/32871?v=3","gravatar_id":"","url":"https://api.github.com/users/cjohansen","html_url":"https://github.com/cjohansen","followers_url":"https://api.github.com/users/cjohansen/followers","following_url":"https://api.github.com/users/cjohansen/following{/other_user}","gists_url":"https://api.github.com/users/cjohansen/gists{/gist_id}","starred_url":"https://api.github.com/users/cjohansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjohansen/subscriptions","organizations_url":"https://api.github.com/users/cjohansen/orgs","repos_url":"https://api.github.com/users/cjohansen/repos","events_url":"https://api.github.com/users/cjohansen/events{/privacy}","received_events_url":"https://api.github.com/users/cjohansen/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":17,"deletions":2,"changed_files":2}}