{"action":"opened","number":690,"pull_request":{"url":"https://api.github.com/repos/kriskowal/q/pulls/690","id":35071950,"html_url":"https://github.com/kriskowal/q/pull/690","diff_url":"https://github.com/kriskowal/q/pull/690.diff","patch_url":"https://github.com/kriskowal/q/pull/690.patch","issue_url":"https://api.github.com/repos/kriskowal/q/issues/690","number":690,"state":"open","locked":false,"title":"Favor window global over self global","user":{"login":"kriskowal","id":60294,"avatar_url":"https://avatars.githubusercontent.com/u/60294?v=3","gravatar_id":"","url":"https://api.github.com/users/kriskowal","html_url":"https://github.com/kriskowal","followers_url":"https://api.github.com/users/kriskowal/followers","following_url":"https://api.github.com/users/kriskowal/following{/other_user}","gists_url":"https://api.github.com/users/kriskowal/gists{/gist_id}","starred_url":"https://api.github.com/users/kriskowal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriskowal/subscriptions","organizations_url":"https://api.github.com/users/kriskowal/orgs","repos_url":"https://api.github.com/users/kriskowal/repos","events_url":"https://api.github.com/users/kriskowal/events{/privacy}","received_events_url":"https://api.github.com/users/kriskowal/received_events","type":"User","site_admin":false},"body":"So that Q can be used as a <script> in Firefox add-ons.\r\nThe self object does not refer to window and is immutable.\r\n\r\nFixes #631","created_at":"2015-05-09T19:48:22Z","updated_at":"2015-05-09T19:48:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kriskowal/q/pulls/690/commits","review_comments_url":"https://api.github.com/repos/kriskowal/q/pulls/690/comments","review_comment_url":"https://api.github.com/repos/kriskowal/q/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kriskowal/q/issues/690/comments","statuses_url":"https://api.github.com/repos/kriskowal/q/statuses/a7042ce54ab0b828051162b012c642c76f2c4639","head":{"label":"kriskowal:firefox-add-on-script","ref":"firefox-add-on-script","sha":"a7042ce54ab0b828051162b012c642c76f2c4639","user":{"login":"kriskowal","id":60294,"avatar_url":"https://avatars.githubusercontent.com/u/60294?v=3","gravatar_id":"","url":"https://api.github.com/users/kriskowal","html_url":"https://github.com/kriskowal","followers_url":"https://api.github.com/users/kriskowal/followers","following_url":"https://api.github.com/users/kriskowal/following{/other_user}","gists_url":"https://api.github.com/users/kriskowal/gists{/gist_id}","starred_url":"https://api.github.com/users/kriskowal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriskowal/subscriptions","organizations_url":"https://api.github.com/users/kriskowal/orgs","repos_url":"https://api.github.com/users/kriskowal/repos","events_url":"https://api.github.com/users/kriskowal/events{/privacy}","received_events_url":"https://api.github.com/users/kriskowal/received_events","type":"User","site_admin":false},"repo":{"id":887025,"name":"q","full_name":"kriskowal/q","owner":{"login":"kriskowal","id":60294,"avatar_url":"https://avatars.githubusercontent.com/u/60294?v=3","gravatar_id":"","url":"https://api.github.com/users/kriskowal","html_url":"https://github.com/kriskowal","followers_url":"https://api.github.com/users/kriskowal/followers","following_url":"https://api.github.com/users/kriskowal/following{/other_user}","gists_url":"https://api.github.com/users/kriskowal/gists{/gist_id}","starred_url":"https://api.github.com/users/kriskowal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriskowal/subscriptions","organizations_url":"https://api.github.com/users/kriskowal/orgs","repos_url":"https://api.github.com/users/kriskowal/repos","events_url":"https://api.github.com/users/kriskowal/events{/privacy}","received_events_url":"https://api.github.com/users/kriskowal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kriskowal/q","description":"A tool for creating and composing asynchronous promises in JavaScript","fork":false,"url":"https://api.github.com/repos/kriskowal/q","forks_url":"https://api.github.com/repos/kriskowal/q/forks","keys_url":"https://api.github.com/repos/kriskowal/q/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kriskowal/q/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kriskowal/q/teams","hooks_url":"https://api.github.com/repos/kriskowal/q/hooks","issue_events_url":"https://api.github.com/repos/kriskowal/q/issues/events{/number}","events_url":"https://api.github.com/repos/kriskowal/q/events","assignees_url":"https://api.github.com/repos/kriskowal/q/assignees{/user}","branches_url":"https://api.github.com/repos/kriskowal/q/branches{/branch}","tags_url":"https://api.github.com/repos/kriskowal/q/tags","blobs_url":"https://api.github.com/repos/kriskowal/q/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kriskowal/q/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kriskowal/q/git/refs{/sha}","trees_url":"https://api.github.com/repos/kriskowal/q/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kriskowal/q/statuses/{sha}","languages_url":"https://api.github.com/repos/kriskowal/q/languages","stargazers_url":"https://api.github.com/repos/kriskowal/q/stargazers","contributors_url":"https://api.github.com/repos/kriskowal/q/contributors","subscribers_url":"https://api.github.com/repos/kriskowal/q/subscribers","subscription_url":"https://api.github.com/repos/kriskowal/q/subscription","commits_url":"https://api.github.com/repos/kriskowal/q/commits{/sha}","git_commits_url":"https://api.github.com/repos/kriskowal/q/git/commits{/sha}","comments_url":"https://api.github.com/repos/kriskowal/q/comments{/number}","issue_comment_url":"https://api.github.com/repos/kriskowal/q/issues/comments{/number}","contents_url":"https://api.github.com/repos/kriskowal/q/contents/{+path}","compare_url":"https://api.github.com/repos/kriskowal/q/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kriskowal/q/merges","archive_url":"https://api.github.com/repos/kriskowal/q/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kriskowal/q/downloads","issues_url":"https://api.github.com/repos/kriskowal/q/issues{/number}","pulls_url":"https://api.github.com/repos/kriskowal/q/pulls{/number}","milestones_url":"https://api.github.com/repos/kriskowal/q/milestones{/number}","notifications_url":"https://api.github.com/repos/kriskowal/q/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kriskowal/q/labels{/name}","releases_url":"https://api.github.com/repos/kriskowal/q/releases{/id}","created_at":"2010-09-04T01:21:12Z","updated_at":"2015-05-09T13:24:47Z","pushed_at":"2015-05-09T19:48:09Z","git_url":"git://github.com/kriskowal/q.git","ssh_url":"git@github.com:kriskowal/q.git","clone_url":"https://github.com/kriskowal/q.git","svn_url":"https://github.com/kriskowal/q","homepage":"http://documentup.com/kriskowal/q/","size":4977,"stargazers_count":8519,"watchers_count":8519,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":691,"mirror_url":null,"open_issues_count":70,"forks":691,"open_issues":70,"watchers":8519,"default_branch":"v1"}},"base":{"label":"kriskowal:v1","ref":"v1","sha":"05e20dc704421ca820553721c7178168a8461506","user":{"login":"kriskowal","id":60294,"avatar_url":"https://avatars.githubusercontent.com/u/60294?v=3","gravatar_id":"","url":"https://api.github.com/users/kriskowal","html_url":"https://github.com/kriskowal","followers_url":"https://api.github.com/users/kriskowal/followers","following_url":"https://api.github.com/users/kriskowal/following{/other_user}","gists_url":"https://api.github.com/users/kriskowal/gists{/gist_id}","starred_url":"https://api.github.com/users/kriskowal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriskowal/subscriptions","organizations_url":"https://api.github.com/users/kriskowal/orgs","repos_url":"https://api.github.com/users/kriskowal/repos","events_url":"https://api.github.com/users/kriskowal/events{/privacy}","received_events_url":"https://api.github.com/users/kriskowal/received_events","type":"User","site_admin":false},"repo":{"id":887025,"name":"q","full_name":"kriskowal/q","owner":{"login":"kriskowal","id":60294,"avatar_url":"https://avatars.githubusercontent.com/u/60294?v=3","gravatar_id":"","url":"https://api.github.com/users/kriskowal","html_url":"https://github.com/kriskowal","followers_url":"https://api.github.com/users/kriskowal/followers","following_url":"https://api.github.com/users/kriskowal/following{/other_user}","gists_url":"https://api.github.com/users/kriskowal/gists{/gist_id}","starred_url":"https://api.github.com/users/kriskowal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriskowal/subscriptions","organizations_url":"https://api.github.com/users/kriskowal/orgs","repos_url":"https://api.github.com/users/kriskowal/repos","events_url":"https://api.github.com/users/kriskowal/events{/privacy}","received_events_url":"https://api.github.com/users/kriskowal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kriskowal/q","description":"A tool for creating and composing asynchronous promises in JavaScript","fork":false,"url":"https://api.github.com/repos/kriskowal/q","forks_url":"https://api.github.com/repos/kriskowal/q/forks","keys_url":"https://api.github.com/repos/kriskowal/q/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kriskowal/q/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kriskowal/q/teams","hooks_url":"https://api.github.com/repos/kriskowal/q/hooks","issue_events_url":"https://api.github.com/repos/kriskowal/q/issues/events{/number}","events_url":"https://api.github.com/repos/kriskowal/q/events","assignees_url":"https://api.github.com/repos/kriskowal/q/assignees{/user}","branches_url":"https://api.github.com/repos/kriskowal/q/branches{/branch}","tags_url":"https://api.github.com/repos/kriskowal/q/tags","blobs_url":"https://api.github.com/repos/kriskowal/q/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kriskowal/q/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kriskowal/q/git/refs{/sha}","trees_url":"https://api.github.com/repos/kriskowal/q/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kriskowal/q/statuses/{sha}","languages_url":"https://api.github.com/repos/kriskowal/q/languages","stargazers_url":"https://api.github.com/repos/kriskowal/q/stargazers","contributors_url":"https://api.github.com/repos/kriskowal/q/contributors","subscribers_url":"https://api.github.com/repos/kriskowal/q/subscribers","subscription_url":"https://api.github.com/repos/kriskowal/q/subscription","commits_url":"https://api.github.com/repos/kriskowal/q/commits{/sha}","git_commits_url":"https://api.github.com/repos/kriskowal/q/git/commits{/sha}","comments_url":"https://api.github.com/repos/kriskowal/q/comments{/number}","issue_comment_url":"https://api.github.com/repos/kriskowal/q/issues/comments{/number}","contents_url":"https://api.github.com/repos/kriskowal/q/contents/{+path}","compare_url":"https://api.github.com/repos/kriskowal/q/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kriskowal/q/merges","archive_url":"https://api.github.com/repos/kriskowal/q/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kriskowal/q/downloads","issues_url":"https://api.github.com/repos/kriskowal/q/issues{/number}","pulls_url":"https://api.github.com/repos/kriskowal/q/pulls{/number}","milestones_url":"https://api.github.com/repos/kriskowal/q/milestones{/number}","notifications_url":"https://api.github.com/repos/kriskowal/q/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kriskowal/q/labels{/name}","releases_url":"https://api.github.com/repos/kriskowal/q/releases{/id}","created_at":"2010-09-04T01:21:12Z","updated_at":"2015-05-09T13:24:47Z","pushed_at":"2015-05-09T19:48:09Z","git_url":"git://github.com/kriskowal/q.git","ssh_url":"git@github.com:kriskowal/q.git","clone_url":"https://github.com/kriskowal/q.git","svn_url":"https://github.com/kriskowal/q","homepage":"http://documentup.com/kriskowal/q/","size":4977,"stargazers_count":8519,"watchers_count":8519,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":691,"mirror_url":null,"open_issues_count":70,"forks":691,"open_issues":70,"watchers":8519,"default_branch":"v1"}},"_links":{"self":{"href":"https://api.github.com/repos/kriskowal/q/pulls/690"},"html":{"href":"https://github.com/kriskowal/q/pull/690"},"issue":{"href":"https://api.github.com/repos/kriskowal/q/issues/690"},"comments":{"href":"https://api.github.com/repos/kriskowal/q/issues/690/comments"},"review_comments":{"href":"https://api.github.com/repos/kriskowal/q/pulls/690/comments"},"review_comment":{"href":"https://api.github.com/repos/kriskowal/q/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kriskowal/q/pulls/690/commits"},"statuses":{"href":"https://api.github.com/repos/kriskowal/q/statuses/a7042ce54ab0b828051162b012c642c76f2c4639"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":6,"changed_files":1}}