{"action":"opened","number":837,"pull_request":{"url":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/837","id":28937151,"html_url":"https://github.com/remotestorage/remotestorage.js/pull/837","diff_url":"https://github.com/remotestorage/remotestorage.js/pull/837.diff","patch_url":"https://github.com/remotestorage/remotestorage.js/pull/837.patch","issue_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/837","number":837,"state":"open","locked":false,"title":"Check if FileReader instance can handle `addEventListener` call (closes #836)","user":{"login":"galfert","id":843,"avatar_url":"https://avatars.githubusercontent.com/u/843?v=3","gravatar_id":"","url":"https://api.github.com/users/galfert","html_url":"https://github.com/galfert","followers_url":"https://api.github.com/users/galfert/followers","following_url":"https://api.github.com/users/galfert/following{/other_user}","gists_url":"https://api.github.com/users/galfert/gists{/gist_id}","starred_url":"https://api.github.com/users/galfert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galfert/subscriptions","organizations_url":"https://api.github.com/users/galfert/orgs","repos_url":"https://api.github.com/users/galfert/repos","events_url":"https://api.github.com/users/galfert/events{/privacy}","received_events_url":"https://api.github.com/users/galfert/received_events","type":"User","site_admin":false},"body":"This PR fixes the error described in #836.\r\n\r\nIt checks if the FileReader instance has a `addEventListener` function. If it doesn't it sets the `onloadend` handler instead.","created_at":"2015-02-09T16:58:20Z","updated_at":"2015-02-09T16:58:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/837/commits","review_comments_url":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/837/comments","review_comment_url":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/comments/{number}","comments_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/837/comments","statuses_url":"https://api.github.com/repos/remotestorage/remotestorage.js/statuses/a6d6d4f2434bd17d5a7f08cf8aa3a96ec59ec1be","head":{"label":"remotestorage:bugfix/836-addEventListener-fix","ref":"bugfix/836-addEventListener-fix","sha":"a6d6d4f2434bd17d5a7f08cf8aa3a96ec59ec1be","user":{"login":"remotestorage","id":2323242,"avatar_url":"https://avatars.githubusercontent.com/u/2323242?v=3","gravatar_id":"","url":"https://api.github.com/users/remotestorage","html_url":"https://github.com/remotestorage","followers_url":"https://api.github.com/users/remotestorage/followers","following_url":"https://api.github.com/users/remotestorage/following{/other_user}","gists_url":"https://api.github.com/users/remotestorage/gists{/gist_id}","starred_url":"https://api.github.com/users/remotestorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remotestorage/subscriptions","organizations_url":"https://api.github.com/users/remotestorage/orgs","repos_url":"https://api.github.com/users/remotestorage/repos","events_url":"https://api.github.com/users/remotestorage/events{/privacy}","received_events_url":"https://api.github.com/users/remotestorage/received_events","type":"Organization","site_admin":false},"repo":{"id":1052694,"name":"remotestorage.js","full_name":"remotestorage/remotestorage.js","owner":{"login":"remotestorage","id":2323242,"avatar_url":"https://avatars.githubusercontent.com/u/2323242?v=3","gravatar_id":"","url":"https://api.github.com/users/remotestorage","html_url":"https://github.com/remotestorage","followers_url":"https://api.github.com/users/remotestorage/followers","following_url":"https://api.github.com/users/remotestorage/following{/other_user}","gists_url":"https://api.github.com/users/remotestorage/gists{/gist_id}","starred_url":"https://api.github.com/users/remotestorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remotestorage/subscriptions","organizations_url":"https://api.github.com/users/remotestorage/orgs","repos_url":"https://api.github.com/users/remotestorage/repos","events_url":"https://api.github.com/users/remotestorage/events{/privacy}","received_events_url":"https://api.github.com/users/remotestorage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/remotestorage/remotestorage.js","description":"JavaScript client library for integrating remoteStorage in apps","fork":false,"url":"https://api.github.com/repos/remotestorage/remotestorage.js","forks_url":"https://api.github.com/repos/remotestorage/remotestorage.js/forks","keys_url":"https://api.github.com/repos/remotestorage/remotestorage.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remotestorage/remotestorage.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remotestorage/remotestorage.js/teams","hooks_url":"https://api.github.com/repos/remotestorage/remotestorage.js/hooks","issue_events_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/events{/number}","events_url":"https://api.github.com/repos/remotestorage/remotestorage.js/events","assignees_url":"https://api.github.com/repos/remotestorage/remotestorage.js/assignees{/user}","branches_url":"https://api.github.com/repos/remotestorage/remotestorage.js/branches{/branch}","tags_url":"https://api.github.com/repos/remotestorage/remotestorage.js/tags","blobs_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remotestorage/remotestorage.js/statuses/{sha}","languages_url":"https://api.github.com/repos/remotestorage/remotestorage.js/languages","stargazers_url":"https://api.github.com/repos/remotestorage/remotestorage.js/stargazers","contributors_url":"https://api.github.com/repos/remotestorage/remotestorage.js/contributors","subscribers_url":"https://api.github.com/repos/remotestorage/remotestorage.js/subscribers","subscription_url":"https://api.github.com/repos/remotestorage/remotestorage.js/subscription","commits_url":"https://api.github.com/repos/remotestorage/remotestorage.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/remotestorage/remotestorage.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/remotestorage/remotestorage.js/contents/{+path}","compare_url":"https://api.github.com/repos/remotestorage/remotestorage.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remotestorage/remotestorage.js/merges","archive_url":"https://api.github.com/repos/remotestorage/remotestorage.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remotestorage/remotestorage.js/downloads","issues_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues{/number}","pulls_url":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls{/number}","milestones_url":"https://api.github.com/repos/remotestorage/remotestorage.js/milestones{/number}","notifications_url":"https://api.github.com/repos/remotestorage/remotestorage.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remotestorage/remotestorage.js/labels{/name}","releases_url":"https://api.github.com/repos/remotestorage/remotestorage.js/releases{/id}","created_at":"2010-11-04T23:09:23Z","updated_at":"2015-02-04T02:29:50Z","pushed_at":"2015-02-09T16:56:35Z","git_url":"git://github.com/remotestorage/remotestorage.js.git","ssh_url":"git@github.com:remotestorage/remotestorage.js.git","clone_url":"https://github.com/remotestorage/remotestorage.js.git","svn_url":"https://github.com/remotestorage/remotestorage.js","homepage":"http://remotestorage.io","size":120080,"stargazers_count":588,"watchers_count":588,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":78,"forks":62,"open_issues":78,"watchers":588,"default_branch":"master"}},"base":{"label":"remotestorage:master","ref":"master","sha":"7234d13e38db58d5ed806907310cfb94d9d4cc1d","user":{"login":"remotestorage","id":2323242,"avatar_url":"https://avatars.githubusercontent.com/u/2323242?v=3","gravatar_id":"","url":"https://api.github.com/users/remotestorage","html_url":"https://github.com/remotestorage","followers_url":"https://api.github.com/users/remotestorage/followers","following_url":"https://api.github.com/users/remotestorage/following{/other_user}","gists_url":"https://api.github.com/users/remotestorage/gists{/gist_id}","starred_url":"https://api.github.com/users/remotestorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remotestorage/subscriptions","organizations_url":"https://api.github.com/users/remotestorage/orgs","repos_url":"https://api.github.com/users/remotestorage/repos","events_url":"https://api.github.com/users/remotestorage/events{/privacy}","received_events_url":"https://api.github.com/users/remotestorage/received_events","type":"Organization","site_admin":false},"repo":{"id":1052694,"name":"remotestorage.js","full_name":"remotestorage/remotestorage.js","owner":{"login":"remotestorage","id":2323242,"avatar_url":"https://avatars.githubusercontent.com/u/2323242?v=3","gravatar_id":"","url":"https://api.github.com/users/remotestorage","html_url":"https://github.com/remotestorage","followers_url":"https://api.github.com/users/remotestorage/followers","following_url":"https://api.github.com/users/remotestorage/following{/other_user}","gists_url":"https://api.github.com/users/remotestorage/gists{/gist_id}","starred_url":"https://api.github.com/users/remotestorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remotestorage/subscriptions","organizations_url":"https://api.github.com/users/remotestorage/orgs","repos_url":"https://api.github.com/users/remotestorage/repos","events_url":"https://api.github.com/users/remotestorage/events{/privacy}","received_events_url":"https://api.github.com/users/remotestorage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/remotestorage/remotestorage.js","description":"JavaScript client library for integrating remoteStorage in apps","fork":false,"url":"https://api.github.com/repos/remotestorage/remotestorage.js","forks_url":"https://api.github.com/repos/remotestorage/remotestorage.js/forks","keys_url":"https://api.github.com/repos/remotestorage/remotestorage.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remotestorage/remotestorage.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remotestorage/remotestorage.js/teams","hooks_url":"https://api.github.com/repos/remotestorage/remotestorage.js/hooks","issue_events_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/events{/number}","events_url":"https://api.github.com/repos/remotestorage/remotestorage.js/events","assignees_url":"https://api.github.com/repos/remotestorage/remotestorage.js/assignees{/user}","branches_url":"https://api.github.com/repos/remotestorage/remotestorage.js/branches{/branch}","tags_url":"https://api.github.com/repos/remotestorage/remotestorage.js/tags","blobs_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remotestorage/remotestorage.js/statuses/{sha}","languages_url":"https://api.github.com/repos/remotestorage/remotestorage.js/languages","stargazers_url":"https://api.github.com/repos/remotestorage/remotestorage.js/stargazers","contributors_url":"https://api.github.com/repos/remotestorage/remotestorage.js/contributors","subscribers_url":"https://api.github.com/repos/remotestorage/remotestorage.js/subscribers","subscription_url":"https://api.github.com/repos/remotestorage/remotestorage.js/subscription","commits_url":"https://api.github.com/repos/remotestorage/remotestorage.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/remotestorage/remotestorage.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/remotestorage/remotestorage.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/remotestorage/remotestorage.js/contents/{+path}","compare_url":"https://api.github.com/repos/remotestorage/remotestorage.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remotestorage/remotestorage.js/merges","archive_url":"https://api.github.com/repos/remotestorage/remotestorage.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remotestorage/remotestorage.js/downloads","issues_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues{/number}","pulls_url":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls{/number}","milestones_url":"https://api.github.com/repos/remotestorage/remotestorage.js/milestones{/number}","notifications_url":"https://api.github.com/repos/remotestorage/remotestorage.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remotestorage/remotestorage.js/labels{/name}","releases_url":"https://api.github.com/repos/remotestorage/remotestorage.js/releases{/id}","created_at":"2010-11-04T23:09:23Z","updated_at":"2015-02-04T02:29:50Z","pushed_at":"2015-02-09T16:56:35Z","git_url":"git://github.com/remotestorage/remotestorage.js.git","ssh_url":"git@github.com:remotestorage/remotestorage.js.git","clone_url":"https://github.com/remotestorage/remotestorage.js.git","svn_url":"https://github.com/remotestorage/remotestorage.js","homepage":"http://remotestorage.io","size":120080,"stargazers_count":588,"watchers_count":588,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":78,"forks":62,"open_issues":78,"watchers":588,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/837"},"html":{"href":"https://github.com/remotestorage/remotestorage.js/pull/837"},"issue":{"href":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/837"},"comments":{"href":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/837/comments"},"review_comments":{"href":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/837/comments"},"review_comment":{"href":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/837/commits"},"statuses":{"href":"https://api.github.com/repos/remotestorage/remotestorage.js/statuses/a6d6d4f2434bd17d5a7f08cf8aa3a96ec59ec1be"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":6,"changed_files":1}}