{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/whitelizard/archmage-client/pulls/2","id":94646176,"html_url":"https://github.com/whitelizard/archmage-client/pull/2","diff_url":"https://github.com/whitelizard/archmage-client/pull/2.diff","patch_url":"https://github.com/whitelizard/archmage-client/pull/2.patch","issue_url":"https://api.github.com/repos/whitelizard/archmage-client/issues/2","number":2,"state":"open","locked":false,"title":"Check if window variable is undefined","user":{"login":"nattelog","id":4600068,"avatar_url":"https://avatars.githubusercontent.com/u/4600068?v=3","gravatar_id":"","url":"https://api.github.com/users/nattelog","html_url":"https://github.com/nattelog","followers_url":"https://api.github.com/users/nattelog/followers","following_url":"https://api.github.com/users/nattelog/following{/other_user}","gists_url":"https://api.github.com/users/nattelog/gists{/gist_id}","starred_url":"https://api.github.com/users/nattelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nattelog/subscriptions","organizations_url":"https://api.github.com/users/nattelog/orgs","repos_url":"https://api.github.com/users/nattelog/repos","events_url":"https://api.github.com/users/nattelog/events{/privacy}","received_events_url":"https://api.github.com/users/nattelog/received_events","type":"User","site_admin":false},"body":"When using archmage-client in non-browser environment the window variable is not defined. This is a fix for that. Also, a `w3cwebsocket` will be used as fallback websocket if no custom or window websocket is available. ","created_at":"2016-11-21T16:16:13Z","updated_at":"2016-11-21T16:16:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/whitelizard/archmage-client/pulls/2/commits","review_comments_url":"https://api.github.com/repos/whitelizard/archmage-client/pulls/2/comments","review_comment_url":"https://api.github.com/repos/whitelizard/archmage-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whitelizard/archmage-client/issues/2/comments","statuses_url":"https://api.github.com/repos/whitelizard/archmage-client/statuses/886407f45b07edb5dc8e3cc0717d1f313a6cbe0d","head":{"label":"nattelog:master","ref":"master","sha":"886407f45b07edb5dc8e3cc0717d1f313a6cbe0d","user":{"login":"nattelog","id":4600068,"avatar_url":"https://avatars.githubusercontent.com/u/4600068?v=3","gravatar_id":"","url":"https://api.github.com/users/nattelog","html_url":"https://github.com/nattelog","followers_url":"https://api.github.com/users/nattelog/followers","following_url":"https://api.github.com/users/nattelog/following{/other_user}","gists_url":"https://api.github.com/users/nattelog/gists{/gist_id}","starred_url":"https://api.github.com/users/nattelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nattelog/subscriptions","organizations_url":"https://api.github.com/users/nattelog/orgs","repos_url":"https://api.github.com/users/nattelog/repos","events_url":"https://api.github.com/users/nattelog/events{/privacy}","received_events_url":"https://api.github.com/users/nattelog/received_events","type":"User","site_admin":false},"repo":{"id":74381069,"name":"archmage-client","full_name":"nattelog/archmage-client","owner":{"login":"nattelog","id":4600068,"avatar_url":"https://avatars.githubusercontent.com/u/4600068?v=3","gravatar_id":"","url":"https://api.github.com/users/nattelog","html_url":"https://github.com/nattelog","followers_url":"https://api.github.com/users/nattelog/followers","following_url":"https://api.github.com/users/nattelog/following{/other_user}","gists_url":"https://api.github.com/users/nattelog/gists{/gist_id}","starred_url":"https://api.github.com/users/nattelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nattelog/subscriptions","organizations_url":"https://api.github.com/users/nattelog/orgs","repos_url":"https://api.github.com/users/nattelog/repos","events_url":"https://api.github.com/users/nattelog/events{/privacy}","received_events_url":"https://api.github.com/users/nattelog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nattelog/archmage-client","description":"Socket and session classes for connecting to an ARCHMAGE server","fork":true,"url":"https://api.github.com/repos/nattelog/archmage-client","forks_url":"https://api.github.com/repos/nattelog/archmage-client/forks","keys_url":"https://api.github.com/repos/nattelog/archmage-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nattelog/archmage-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nattelog/archmage-client/teams","hooks_url":"https://api.github.com/repos/nattelog/archmage-client/hooks","issue_events_url":"https://api.github.com/repos/nattelog/archmage-client/issues/events{/number}","events_url":"https://api.github.com/repos/nattelog/archmage-client/events","assignees_url":"https://api.github.com/repos/nattelog/archmage-client/assignees{/user}","branches_url":"https://api.github.com/repos/nattelog/archmage-client/branches{/branch}","tags_url":"https://api.github.com/repos/nattelog/archmage-client/tags","blobs_url":"https://api.github.com/repos/nattelog/archmage-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nattelog/archmage-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nattelog/archmage-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/nattelog/archmage-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nattelog/archmage-client/statuses/{sha}","languages_url":"https://api.github.com/repos/nattelog/archmage-client/languages","stargazers_url":"https://api.github.com/repos/nattelog/archmage-client/stargazers","contributors_url":"https://api.github.com/repos/nattelog/archmage-client/contributors","subscribers_url":"https://api.github.com/repos/nattelog/archmage-client/subscribers","subscription_url":"https://api.github.com/repos/nattelog/archmage-client/subscription","commits_url":"https://api.github.com/repos/nattelog/archmage-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/nattelog/archmage-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/nattelog/archmage-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/nattelog/archmage-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/nattelog/archmage-client/contents/{+path}","compare_url":"https://api.github.com/repos/nattelog/archmage-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nattelog/archmage-client/merges","archive_url":"https://api.github.com/repos/nattelog/archmage-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nattelog/archmage-client/downloads","issues_url":"https://api.github.com/repos/nattelog/archmage-client/issues{/number}","pulls_url":"https://api.github.com/repos/nattelog/archmage-client/pulls{/number}","milestones_url":"https://api.github.com/repos/nattelog/archmage-client/milestones{/number}","notifications_url":"https://api.github.com/repos/nattelog/archmage-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nattelog/archmage-client/labels{/name}","releases_url":"https://api.github.com/repos/nattelog/archmage-client/releases{/id}","deployments_url":"https://api.github.com/repos/nattelog/archmage-client/deployments","created_at":"2016-11-21T16:08:45Z","updated_at":"2016-11-21T16:08:46Z","pushed_at":"2016-11-21T16:13:19Z","git_url":"git://github.com/nattelog/archmage-client.git","ssh_url":"git@github.com:nattelog/archmage-client.git","clone_url":"https://github.com/nattelog/archmage-client.git","svn_url":"https://github.com/nattelog/archmage-client","homepage":null,"size":57,"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":"whitelizard:master","ref":"master","sha":"d009f78e0630659a5ece37cea55ba73b5f877183","user":{"login":"whitelizard","id":8565497,"avatar_url":"https://avatars.githubusercontent.com/u/8565497?v=3","gravatar_id":"","url":"https://api.github.com/users/whitelizard","html_url":"https://github.com/whitelizard","followers_url":"https://api.github.com/users/whitelizard/followers","following_url":"https://api.github.com/users/whitelizard/following{/other_user}","gists_url":"https://api.github.com/users/whitelizard/gists{/gist_id}","starred_url":"https://api.github.com/users/whitelizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitelizard/subscriptions","organizations_url":"https://api.github.com/users/whitelizard/orgs","repos_url":"https://api.github.com/users/whitelizard/repos","events_url":"https://api.github.com/users/whitelizard/events{/privacy}","received_events_url":"https://api.github.com/users/whitelizard/received_events","type":"User","site_admin":false},"repo":{"id":58769188,"name":"archmage-client","full_name":"whitelizard/archmage-client","owner":{"login":"whitelizard","id":8565497,"avatar_url":"https://avatars.githubusercontent.com/u/8565497?v=3","gravatar_id":"","url":"https://api.github.com/users/whitelizard","html_url":"https://github.com/whitelizard","followers_url":"https://api.github.com/users/whitelizard/followers","following_url":"https://api.github.com/users/whitelizard/following{/other_user}","gists_url":"https://api.github.com/users/whitelizard/gists{/gist_id}","starred_url":"https://api.github.com/users/whitelizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitelizard/subscriptions","organizations_url":"https://api.github.com/users/whitelizard/orgs","repos_url":"https://api.github.com/users/whitelizard/repos","events_url":"https://api.github.com/users/whitelizard/events{/privacy}","received_events_url":"https://api.github.com/users/whitelizard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whitelizard/archmage-client","description":"Socket and session classes for connecting to an ARCHMAGE server","fork":false,"url":"https://api.github.com/repos/whitelizard/archmage-client","forks_url":"https://api.github.com/repos/whitelizard/archmage-client/forks","keys_url":"https://api.github.com/repos/whitelizard/archmage-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whitelizard/archmage-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whitelizard/archmage-client/teams","hooks_url":"https://api.github.com/repos/whitelizard/archmage-client/hooks","issue_events_url":"https://api.github.com/repos/whitelizard/archmage-client/issues/events{/number}","events_url":"https://api.github.com/repos/whitelizard/archmage-client/events","assignees_url":"https://api.github.com/repos/whitelizard/archmage-client/assignees{/user}","branches_url":"https://api.github.com/repos/whitelizard/archmage-client/branches{/branch}","tags_url":"https://api.github.com/repos/whitelizard/archmage-client/tags","blobs_url":"https://api.github.com/repos/whitelizard/archmage-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whitelizard/archmage-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whitelizard/archmage-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/whitelizard/archmage-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whitelizard/archmage-client/statuses/{sha}","languages_url":"https://api.github.com/repos/whitelizard/archmage-client/languages","stargazers_url":"https://api.github.com/repos/whitelizard/archmage-client/stargazers","contributors_url":"https://api.github.com/repos/whitelizard/archmage-client/contributors","subscribers_url":"https://api.github.com/repos/whitelizard/archmage-client/subscribers","subscription_url":"https://api.github.com/repos/whitelizard/archmage-client/subscription","commits_url":"https://api.github.com/repos/whitelizard/archmage-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/whitelizard/archmage-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/whitelizard/archmage-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/whitelizard/archmage-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/whitelizard/archmage-client/contents/{+path}","compare_url":"https://api.github.com/repos/whitelizard/archmage-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whitelizard/archmage-client/merges","archive_url":"https://api.github.com/repos/whitelizard/archmage-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whitelizard/archmage-client/downloads","issues_url":"https://api.github.com/repos/whitelizard/archmage-client/issues{/number}","pulls_url":"https://api.github.com/repos/whitelizard/archmage-client/pulls{/number}","milestones_url":"https://api.github.com/repos/whitelizard/archmage-client/milestones{/number}","notifications_url":"https://api.github.com/repos/whitelizard/archmage-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whitelizard/archmage-client/labels{/name}","releases_url":"https://api.github.com/repos/whitelizard/archmage-client/releases{/id}","deployments_url":"https://api.github.com/repos/whitelizard/archmage-client/deployments","created_at":"2016-05-13T20:06:09Z","updated_at":"2016-07-22T05:27:11Z","pushed_at":"2016-11-21T16:16:13Z","git_url":"git://github.com/whitelizard/archmage-client.git","ssh_url":"git@github.com:whitelizard/archmage-client.git","clone_url":"https://github.com/whitelizard/archmage-client.git","svn_url":"https://github.com/whitelizard/archmage-client","homepage":null,"size":57,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whitelizard/archmage-client/pulls/2"},"html":{"href":"https://github.com/whitelizard/archmage-client/pull/2"},"issue":{"href":"https://api.github.com/repos/whitelizard/archmage-client/issues/2"},"comments":{"href":"https://api.github.com/repos/whitelizard/archmage-client/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/whitelizard/archmage-client/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/whitelizard/archmage-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whitelizard/archmage-client/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/whitelizard/archmage-client/statuses/886407f45b07edb5dc8e3cc0717d1f313a6cbe0d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"nattelog"}}