{"action":"closed","number":1016,"pull_request":{"url":"https://api.github.com/repos/enyo/dropzone/pulls/1016","id":40514422,"html_url":"https://github.com/enyo/dropzone/pull/1016","diff_url":"https://github.com/enyo/dropzone/pull/1016.diff","patch_url":"https://github.com/enyo/dropzone/pull/1016.patch","issue_url":"https://api.github.com/repos/enyo/dropzone/issues/1016","number":1016,"state":"closed","locked":false,"title":"Move xhr.send to a separate overridable method","user":{"login":"martinthogersen","id":239008,"avatar_url":"https://avatars.githubusercontent.com/u/239008?v=3","gravatar_id":"","url":"https://api.github.com/users/martinthogersen","html_url":"https://github.com/martinthogersen","followers_url":"https://api.github.com/users/martinthogersen/followers","following_url":"https://api.github.com/users/martinthogersen/following{/other_user}","gists_url":"https://api.github.com/users/martinthogersen/gists{/gist_id}","starred_url":"https://api.github.com/users/martinthogersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinthogersen/subscriptions","organizations_url":"https://api.github.com/users/martinthogersen/orgs","repos_url":"https://api.github.com/users/martinthogersen/repos","events_url":"https://api.github.com/users/martinthogersen/events{/privacy}","received_events_url":"https://api.github.com/users/martinthogersen/received_events","type":"User","site_admin":false},"body":"This commit makes it possible to send files as body instead of form data, and make other overrides to both xhr and formData before the request is submitted.\r\n\r\nFor example:\r\n\r\n```js\r\nDropzone.prototype.submitRequest = function(xhr, formData, files) {\r\n  xhr.send(files[0]);\r\n}\r\n```","created_at":"2015-07-21T22:59:21Z","updated_at":"2015-07-30T12:15:20Z","closed_at":"2015-07-30T12:15:20Z","merged_at":"2015-07-30T12:15:20Z","merge_commit_sha":"92d8c9719db0adb959ed61687c4a3cd8548d1252","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enyo/dropzone/pulls/1016/commits","review_comments_url":"https://api.github.com/repos/enyo/dropzone/pulls/1016/comments","review_comment_url":"https://api.github.com/repos/enyo/dropzone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enyo/dropzone/issues/1016/comments","statuses_url":"https://api.github.com/repos/enyo/dropzone/statuses/0d255d09db8e637e67d87271b41eecdfe0593a3b","head":{"label":"martinthogersen:master","ref":"master","sha":"0d255d09db8e637e67d87271b41eecdfe0593a3b","user":{"login":"martinthogersen","id":239008,"avatar_url":"https://avatars.githubusercontent.com/u/239008?v=3","gravatar_id":"","url":"https://api.github.com/users/martinthogersen","html_url":"https://github.com/martinthogersen","followers_url":"https://api.github.com/users/martinthogersen/followers","following_url":"https://api.github.com/users/martinthogersen/following{/other_user}","gists_url":"https://api.github.com/users/martinthogersen/gists{/gist_id}","starred_url":"https://api.github.com/users/martinthogersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinthogersen/subscriptions","organizations_url":"https://api.github.com/users/martinthogersen/orgs","repos_url":"https://api.github.com/users/martinthogersen/repos","events_url":"https://api.github.com/users/martinthogersen/events{/privacy}","received_events_url":"https://api.github.com/users/martinthogersen/received_events","type":"User","site_admin":false},"repo":{"id":39473852,"name":"dropzone","full_name":"martinthogersen/dropzone","owner":{"login":"martinthogersen","id":239008,"avatar_url":"https://avatars.githubusercontent.com/u/239008?v=3","gravatar_id":"","url":"https://api.github.com/users/martinthogersen","html_url":"https://github.com/martinthogersen","followers_url":"https://api.github.com/users/martinthogersen/followers","following_url":"https://api.github.com/users/martinthogersen/following{/other_user}","gists_url":"https://api.github.com/users/martinthogersen/gists{/gist_id}","starred_url":"https://api.github.com/users/martinthogersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinthogersen/subscriptions","organizations_url":"https://api.github.com/users/martinthogersen/orgs","repos_url":"https://api.github.com/users/martinthogersen/repos","events_url":"https://api.github.com/users/martinthogersen/events{/privacy}","received_events_url":"https://api.github.com/users/martinthogersen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/martinthogersen/dropzone","description":"Dropzone is an easy to use drag'n'drop library. It supports image previews and shows nice progress bars.","fork":true,"url":"https://api.github.com/repos/martinthogersen/dropzone","forks_url":"https://api.github.com/repos/martinthogersen/dropzone/forks","keys_url":"https://api.github.com/repos/martinthogersen/dropzone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martinthogersen/dropzone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martinthogersen/dropzone/teams","hooks_url":"https://api.github.com/repos/martinthogersen/dropzone/hooks","issue_events_url":"https://api.github.com/repos/martinthogersen/dropzone/issues/events{/number}","events_url":"https://api.github.com/repos/martinthogersen/dropzone/events","assignees_url":"https://api.github.com/repos/martinthogersen/dropzone/assignees{/user}","branches_url":"https://api.github.com/repos/martinthogersen/dropzone/branches{/branch}","tags_url":"https://api.github.com/repos/martinthogersen/dropzone/tags","blobs_url":"https://api.github.com/repos/martinthogersen/dropzone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martinthogersen/dropzone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martinthogersen/dropzone/git/refs{/sha}","trees_url":"https://api.github.com/repos/martinthogersen/dropzone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martinthogersen/dropzone/statuses/{sha}","languages_url":"https://api.github.com/repos/martinthogersen/dropzone/languages","stargazers_url":"https://api.github.com/repos/martinthogersen/dropzone/stargazers","contributors_url":"https://api.github.com/repos/martinthogersen/dropzone/contributors","subscribers_url":"https://api.github.com/repos/martinthogersen/dropzone/subscribers","subscription_url":"https://api.github.com/repos/martinthogersen/dropzone/subscription","commits_url":"https://api.github.com/repos/martinthogersen/dropzone/commits{/sha}","git_commits_url":"https://api.github.com/repos/martinthogersen/dropzone/git/commits{/sha}","comments_url":"https://api.github.com/repos/martinthogersen/dropzone/comments{/number}","issue_comment_url":"https://api.github.com/repos/martinthogersen/dropzone/issues/comments{/number}","contents_url":"https://api.github.com/repos/martinthogersen/dropzone/contents/{+path}","compare_url":"https://api.github.com/repos/martinthogersen/dropzone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martinthogersen/dropzone/merges","archive_url":"https://api.github.com/repos/martinthogersen/dropzone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martinthogersen/dropzone/downloads","issues_url":"https://api.github.com/repos/martinthogersen/dropzone/issues{/number}","pulls_url":"https://api.github.com/repos/martinthogersen/dropzone/pulls{/number}","milestones_url":"https://api.github.com/repos/martinthogersen/dropzone/milestones{/number}","notifications_url":"https://api.github.com/repos/martinthogersen/dropzone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martinthogersen/dropzone/labels{/name}","releases_url":"https://api.github.com/repos/martinthogersen/dropzone/releases{/id}","created_at":"2015-07-21T22:55:00Z","updated_at":"2015-07-21T22:55:02Z","pushed_at":"2015-07-21T22:58:24Z","git_url":"git://github.com/martinthogersen/dropzone.git","ssh_url":"git@github.com:martinthogersen/dropzone.git","clone_url":"https://github.com/martinthogersen/dropzone.git","svn_url":"https://github.com/martinthogersen/dropzone","homepage":"http://www.dropzonejs.com","size":5201,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"enyo:master","ref":"master","sha":"bbaa1046a4602782c1d24ae3a92dfc4cb6017bdc","user":{"login":"enyo","id":133277,"avatar_url":"https://avatars.githubusercontent.com/u/133277?v=3","gravatar_id":"","url":"https://api.github.com/users/enyo","html_url":"https://github.com/enyo","followers_url":"https://api.github.com/users/enyo/followers","following_url":"https://api.github.com/users/enyo/following{/other_user}","gists_url":"https://api.github.com/users/enyo/gists{/gist_id}","starred_url":"https://api.github.com/users/enyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enyo/subscriptions","organizations_url":"https://api.github.com/users/enyo/orgs","repos_url":"https://api.github.com/users/enyo/repos","events_url":"https://api.github.com/users/enyo/events{/privacy}","received_events_url":"https://api.github.com/users/enyo/received_events","type":"User","site_admin":false},"repo":{"id":3422939,"name":"dropzone","full_name":"enyo/dropzone","owner":{"login":"enyo","id":133277,"avatar_url":"https://avatars.githubusercontent.com/u/133277?v=3","gravatar_id":"","url":"https://api.github.com/users/enyo","html_url":"https://github.com/enyo","followers_url":"https://api.github.com/users/enyo/followers","following_url":"https://api.github.com/users/enyo/following{/other_user}","gists_url":"https://api.github.com/users/enyo/gists{/gist_id}","starred_url":"https://api.github.com/users/enyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enyo/subscriptions","organizations_url":"https://api.github.com/users/enyo/orgs","repos_url":"https://api.github.com/users/enyo/repos","events_url":"https://api.github.com/users/enyo/events{/privacy}","received_events_url":"https://api.github.com/users/enyo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enyo/dropzone","description":"Dropzone is an easy to use drag'n'drop library. It supports image previews and shows nice progress bars.","fork":false,"url":"https://api.github.com/repos/enyo/dropzone","forks_url":"https://api.github.com/repos/enyo/dropzone/forks","keys_url":"https://api.github.com/repos/enyo/dropzone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enyo/dropzone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enyo/dropzone/teams","hooks_url":"https://api.github.com/repos/enyo/dropzone/hooks","issue_events_url":"https://api.github.com/repos/enyo/dropzone/issues/events{/number}","events_url":"https://api.github.com/repos/enyo/dropzone/events","assignees_url":"https://api.github.com/repos/enyo/dropzone/assignees{/user}","branches_url":"https://api.github.com/repos/enyo/dropzone/branches{/branch}","tags_url":"https://api.github.com/repos/enyo/dropzone/tags","blobs_url":"https://api.github.com/repos/enyo/dropzone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enyo/dropzone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enyo/dropzone/git/refs{/sha}","trees_url":"https://api.github.com/repos/enyo/dropzone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enyo/dropzone/statuses/{sha}","languages_url":"https://api.github.com/repos/enyo/dropzone/languages","stargazers_url":"https://api.github.com/repos/enyo/dropzone/stargazers","contributors_url":"https://api.github.com/repos/enyo/dropzone/contributors","subscribers_url":"https://api.github.com/repos/enyo/dropzone/subscribers","subscription_url":"https://api.github.com/repos/enyo/dropzone/subscription","commits_url":"https://api.github.com/repos/enyo/dropzone/commits{/sha}","git_commits_url":"https://api.github.com/repos/enyo/dropzone/git/commits{/sha}","comments_url":"https://api.github.com/repos/enyo/dropzone/comments{/number}","issue_comment_url":"https://api.github.com/repos/enyo/dropzone/issues/comments{/number}","contents_url":"https://api.github.com/repos/enyo/dropzone/contents/{+path}","compare_url":"https://api.github.com/repos/enyo/dropzone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enyo/dropzone/merges","archive_url":"https://api.github.com/repos/enyo/dropzone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enyo/dropzone/downloads","issues_url":"https://api.github.com/repos/enyo/dropzone/issues{/number}","pulls_url":"https://api.github.com/repos/enyo/dropzone/pulls{/number}","milestones_url":"https://api.github.com/repos/enyo/dropzone/milestones{/number}","notifications_url":"https://api.github.com/repos/enyo/dropzone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enyo/dropzone/labels{/name}","releases_url":"https://api.github.com/repos/enyo/dropzone/releases{/id}","created_at":"2012-02-12T16:19:18Z","updated_at":"2015-07-30T09:23:48Z","pushed_at":"2015-07-30T12:15:20Z","git_url":"git://github.com/enyo/dropzone.git","ssh_url":"git@github.com:enyo/dropzone.git","clone_url":"https://github.com/enyo/dropzone.git","svn_url":"https://github.com/enyo/dropzone","homepage":"http://www.dropzonejs.com","size":8230,"stargazers_count":8292,"watchers_count":8292,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2114,"mirror_url":null,"open_issues_count":346,"forks":2114,"open_issues":346,"watchers":8292,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enyo/dropzone/pulls/1016"},"html":{"href":"https://github.com/enyo/dropzone/pull/1016"},"issue":{"href":"https://api.github.com/repos/enyo/dropzone/issues/1016"},"comments":{"href":"https://api.github.com/repos/enyo/dropzone/issues/1016/comments"},"review_comments":{"href":"https://api.github.com/repos/enyo/dropzone/pulls/1016/comments"},"review_comment":{"href":"https://api.github.com/repos/enyo/dropzone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enyo/dropzone/pulls/1016/commits"},"statuses":{"href":"https://api.github.com/repos/enyo/dropzone/statuses/0d255d09db8e637e67d87271b41eecdfe0593a3b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"enyo","id":133277,"avatar_url":"https://avatars.githubusercontent.com/u/133277?v=3","gravatar_id":"","url":"https://api.github.com/users/enyo","html_url":"https://github.com/enyo","followers_url":"https://api.github.com/users/enyo/followers","following_url":"https://api.github.com/users/enyo/following{/other_user}","gists_url":"https://api.github.com/users/enyo/gists{/gist_id}","starred_url":"https://api.github.com/users/enyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enyo/subscriptions","organizations_url":"https://api.github.com/users/enyo/orgs","repos_url":"https://api.github.com/users/enyo/repos","events_url":"https://api.github.com/users/enyo/events{/privacy}","received_events_url":"https://api.github.com/users/enyo/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}