{"action":"created","comment":{"url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/comments/59701120","id":59701120,"diff_hunk":"@@ -0,0 +1,16 @@\n+import * as xmlHttpRequest from './xmlhttprequest';\n+import * as fetch from './fetch';\n+\n+const interceptor = ({name, reference, fakeService}) => ({\n+  assign(routes) {","path":"src/interceptors/index.js","position":5,"original_position":5,"commit_id":"fc640106c84f387c4f88b613304662b2eff3fd12","original_commit_id":"fc640106c84f387c4f88b613304662b2eff3fd12","user":{"login":"oskarcieslik","id":7048281,"avatar_url":"https://avatars.githubusercontent.com/u/7048281?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarcieslik","html_url":"https://github.com/oskarcieslik","followers_url":"https://api.github.com/users/oskarcieslik/followers","following_url":"https://api.github.com/users/oskarcieslik/following{/other_user}","gists_url":"https://api.github.com/users/oskarcieslik/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarcieslik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarcieslik/subscriptions","organizations_url":"https://api.github.com/users/oskarcieslik/orgs","repos_url":"https://api.github.com/users/oskarcieslik/repos","events_url":"https://api.github.com/users/oskarcieslik/events{/privacy}","received_events_url":"https://api.github.com/users/oskarcieslik/received_events","type":"User","site_admin":false},"body":"Good point, since router assigns them, interceptors themselves are just being enabled and disabled. 👍 ","created_at":"2016-04-14T11:27:46Z","updated_at":"2016-04-14T11:27:46Z","html_url":"https://github.com/devlucky/Kakapo.js/pull/28#discussion_r59701120","pull_request_url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/comments/59701120"},"html":{"href":"https://github.com/devlucky/Kakapo.js/pull/28#discussion_r59701120"},"pull_request":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28","id":66353993,"html_url":"https://github.com/devlucky/Kakapo.js/pull/28","diff_url":"https://github.com/devlucky/Kakapo.js/pull/28.diff","patch_url":"https://github.com/devlucky/Kakapo.js/pull/28.patch","issue_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/28","number":28,"state":"open","locked":false,"title":"Abstract fakeXMLHttpRequest & fakeFetch functionality","user":{"login":"oskarcieslik","id":7048281,"avatar_url":"https://avatars.githubusercontent.com/u/7048281?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarcieslik","html_url":"https://github.com/oskarcieslik","followers_url":"https://api.github.com/users/oskarcieslik/followers","following_url":"https://api.github.com/users/oskarcieslik/following{/other_user}","gists_url":"https://api.github.com/users/oskarcieslik/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarcieslik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarcieslik/subscriptions","organizations_url":"https://api.github.com/users/oskarcieslik/orgs","repos_url":"https://api.github.com/users/oskarcieslik/repos","events_url":"https://api.github.com/users/oskarcieslik/events{/privacy}","received_events_url":"https://api.github.com/users/oskarcieslik/received_events","type":"User","site_admin":false},"body":"This implements #13 ","created_at":"2016-04-13T16:45:35Z","updated_at":"2016-04-14T11:27:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"009e63e2966381df4b5ca5f23b42dcde01f413f9","assignee":{"login":"oskarcieslik","id":7048281,"avatar_url":"https://avatars.githubusercontent.com/u/7048281?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarcieslik","html_url":"https://github.com/oskarcieslik","followers_url":"https://api.github.com/users/oskarcieslik/followers","following_url":"https://api.github.com/users/oskarcieslik/following{/other_user}","gists_url":"https://api.github.com/users/oskarcieslik/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarcieslik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarcieslik/subscriptions","organizations_url":"https://api.github.com/users/oskarcieslik/orgs","repos_url":"https://api.github.com/users/oskarcieslik/repos","events_url":"https://api.github.com/users/oskarcieslik/events{/privacy}","received_events_url":"https://api.github.com/users/oskarcieslik/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/devlucky/Kakapo.js/milestones/1","html_url":"https://github.com/devlucky/Kakapo.js/milestones/Alpha-1","labels_url":"https://api.github.com/repos/devlucky/Kakapo.js/milestones/1/labels","id":1695642,"number":1,"title":"Alpha-1","description":"","creator":{"login":"zzarcon","id":1194982,"avatar_url":"https://avatars.githubusercontent.com/u/1194982?v=3","gravatar_id":"","url":"https://api.github.com/users/zzarcon","html_url":"https://github.com/zzarcon","followers_url":"https://api.github.com/users/zzarcon/followers","following_url":"https://api.github.com/users/zzarcon/following{/other_user}","gists_url":"https://api.github.com/users/zzarcon/gists{/gist_id}","starred_url":"https://api.github.com/users/zzarcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzarcon/subscriptions","organizations_url":"https://api.github.com/users/zzarcon/orgs","repos_url":"https://api.github.com/users/zzarcon/repos","events_url":"https://api.github.com/users/zzarcon/events{/privacy}","received_events_url":"https://api.github.com/users/zzarcon/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":8,"state":"open","created_at":"2016-04-10T01:05:21Z","updated_at":"2016-04-13T17:02:39Z","due_on":"2016-04-16T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28/commits","review_comments_url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28/comments","review_comment_url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/28/comments","statuses_url":"https://api.github.com/repos/devlucky/Kakapo.js/statuses/fc640106c84f387c4f88b613304662b2eff3fd12","head":{"label":"devlucky:interceptor/abstract-interceptors","ref":"interceptor/abstract-interceptors","sha":"fc640106c84f387c4f88b613304662b2eff3fd12","user":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"repo":{"id":55244340,"name":"Kakapo.js","full_name":"devlucky/Kakapo.js","owner":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devlucky/Kakapo.js","description":"Next generation mocking library in Javascript","fork":false,"url":"https://api.github.com/repos/devlucky/Kakapo.js","forks_url":"https://api.github.com/repos/devlucky/Kakapo.js/forks","keys_url":"https://api.github.com/repos/devlucky/Kakapo.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devlucky/Kakapo.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devlucky/Kakapo.js/teams","hooks_url":"https://api.github.com/repos/devlucky/Kakapo.js/hooks","issue_events_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/events{/number}","events_url":"https://api.github.com/repos/devlucky/Kakapo.js/events","assignees_url":"https://api.github.com/repos/devlucky/Kakapo.js/assignees{/user}","branches_url":"https://api.github.com/repos/devlucky/Kakapo.js/branches{/branch}","tags_url":"https://api.github.com/repos/devlucky/Kakapo.js/tags","blobs_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devlucky/Kakapo.js/statuses/{sha}","languages_url":"https://api.github.com/repos/devlucky/Kakapo.js/languages","stargazers_url":"https://api.github.com/repos/devlucky/Kakapo.js/stargazers","contributors_url":"https://api.github.com/repos/devlucky/Kakapo.js/contributors","subscribers_url":"https://api.github.com/repos/devlucky/Kakapo.js/subscribers","subscription_url":"https://api.github.com/repos/devlucky/Kakapo.js/subscription","commits_url":"https://api.github.com/repos/devlucky/Kakapo.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/devlucky/Kakapo.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/devlucky/Kakapo.js/contents/{+path}","compare_url":"https://api.github.com/repos/devlucky/Kakapo.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devlucky/Kakapo.js/merges","archive_url":"https://api.github.com/repos/devlucky/Kakapo.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devlucky/Kakapo.js/downloads","issues_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues{/number}","pulls_url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls{/number}","milestones_url":"https://api.github.com/repos/devlucky/Kakapo.js/milestones{/number}","notifications_url":"https://api.github.com/repos/devlucky/Kakapo.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devlucky/Kakapo.js/labels{/name}","releases_url":"https://api.github.com/repos/devlucky/Kakapo.js/releases{/id}","deployments_url":"https://api.github.com/repos/devlucky/Kakapo.js/deployments","created_at":"2016-04-01T15:55:10Z","updated_at":"2016-04-13T14:36:51Z","pushed_at":"2016-04-13T22:13:32Z","git_url":"git://github.com/devlucky/Kakapo.js.git","ssh_url":"git@github.com:devlucky/Kakapo.js.git","clone_url":"https://github.com/devlucky/Kakapo.js.git","svn_url":"https://github.com/devlucky/Kakapo.js","homepage":null,"size":406,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":2,"default_branch":"master"}},"base":{"label":"devlucky:master","ref":"master","sha":"3b331e00e8505848a9dd50a049b3d4d5a1b42271","user":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"repo":{"id":55244340,"name":"Kakapo.js","full_name":"devlucky/Kakapo.js","owner":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devlucky/Kakapo.js","description":"Next generation mocking library in Javascript","fork":false,"url":"https://api.github.com/repos/devlucky/Kakapo.js","forks_url":"https://api.github.com/repos/devlucky/Kakapo.js/forks","keys_url":"https://api.github.com/repos/devlucky/Kakapo.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devlucky/Kakapo.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devlucky/Kakapo.js/teams","hooks_url":"https://api.github.com/repos/devlucky/Kakapo.js/hooks","issue_events_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/events{/number}","events_url":"https://api.github.com/repos/devlucky/Kakapo.js/events","assignees_url":"https://api.github.com/repos/devlucky/Kakapo.js/assignees{/user}","branches_url":"https://api.github.com/repos/devlucky/Kakapo.js/branches{/branch}","tags_url":"https://api.github.com/repos/devlucky/Kakapo.js/tags","blobs_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devlucky/Kakapo.js/statuses/{sha}","languages_url":"https://api.github.com/repos/devlucky/Kakapo.js/languages","stargazers_url":"https://api.github.com/repos/devlucky/Kakapo.js/stargazers","contributors_url":"https://api.github.com/repos/devlucky/Kakapo.js/contributors","subscribers_url":"https://api.github.com/repos/devlucky/Kakapo.js/subscribers","subscription_url":"https://api.github.com/repos/devlucky/Kakapo.js/subscription","commits_url":"https://api.github.com/repos/devlucky/Kakapo.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/devlucky/Kakapo.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/devlucky/Kakapo.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/devlucky/Kakapo.js/contents/{+path}","compare_url":"https://api.github.com/repos/devlucky/Kakapo.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devlucky/Kakapo.js/merges","archive_url":"https://api.github.com/repos/devlucky/Kakapo.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devlucky/Kakapo.js/downloads","issues_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues{/number}","pulls_url":"https://api.github.com/repos/devlucky/Kakapo.js/pulls{/number}","milestones_url":"https://api.github.com/repos/devlucky/Kakapo.js/milestones{/number}","notifications_url":"https://api.github.com/repos/devlucky/Kakapo.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devlucky/Kakapo.js/labels{/name}","releases_url":"https://api.github.com/repos/devlucky/Kakapo.js/releases{/id}","deployments_url":"https://api.github.com/repos/devlucky/Kakapo.js/deployments","created_at":"2016-04-01T15:55:10Z","updated_at":"2016-04-13T14:36:51Z","pushed_at":"2016-04-13T22:13:32Z","git_url":"git://github.com/devlucky/Kakapo.js.git","ssh_url":"git@github.com:devlucky/Kakapo.js.git","clone_url":"https://github.com/devlucky/Kakapo.js.git","svn_url":"https://github.com/devlucky/Kakapo.js","homepage":null,"size":406,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28"},"html":{"href":"https://github.com/devlucky/Kakapo.js/pull/28"},"issue":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/issues/28"},"comments":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/devlucky/Kakapo.js/statuses/fc640106c84f387c4f88b613304662b2eff3fd12"}}}}