{"action":"created","issue":{"url":"https://api.github.com/repos/23/resumable.js/issues/204","labels_url":"https://api.github.com/repos/23/resumable.js/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/23/resumable.js/issues/204/comments","events_url":"https://api.github.com/repos/23/resumable.js/issues/204/events","html_url":"https://github.com/23/resumable.js/pull/204","id":54805942,"number":204,"title":"Parse drag-dropped folders and subfolders in Chrome","user":{"login":"benjamincarp","id":7663672,"avatar_url":"https://avatars.githubusercontent.com/u/7663672?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamincarp","html_url":"https://github.com/benjamincarp","followers_url":"https://api.github.com/users/benjamincarp/followers","following_url":"https://api.github.com/users/benjamincarp/following{/other_user}","gists_url":"https://api.github.com/users/benjamincarp/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamincarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamincarp/subscriptions","organizations_url":"https://api.github.com/users/benjamincarp/orgs","repos_url":"https://api.github.com/users/benjamincarp/repos","events_url":"https://api.github.com/users/benjamincarp/events{/privacy}","received_events_url":"https://api.github.com/users/benjamincarp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-19T20:01:05Z","updated_at":"2015-01-19T20:38:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/23/resumable.js/pulls/204","html_url":"https://github.com/23/resumable.js/pull/204","diff_url":"https://github.com/23/resumable.js/pull/204.diff","patch_url":"https://github.com/23/resumable.js/pull/204.patch"},"body":"This change allows resumable to parse through folders that are dragged and dropped into the drop zone if the browser supports it (just Chrome for now).  It still handles them in pretty much the usual fashion for other browsers.  \r\n\r\nIn the interest of full disclosure, the general algorithm for this was found in a blog post at http://code.flickr.net/2012/12/10/drag-n-drop/ \r\n\r\nIn addition to simply parsing the directories, I also add a property of .relativePath to files found inside a folder and use that to set the resumableFile.relativePath if file.webkitRelativePath is nothing."},"comment":{"url":"https://api.github.com/repos/23/resumable.js/issues/comments/70556714","html_url":"https://github.com/23/resumable.js/pull/204#issuecomment-70556714","issue_url":"https://api.github.com/repos/23/resumable.js/issues/204","id":70556714,"user":{"login":"steffentchr","id":16313,"avatar_url":"https://avatars.githubusercontent.com/u/16313?v=3","gravatar_id":"","url":"https://api.github.com/users/steffentchr","html_url":"https://github.com/steffentchr","followers_url":"https://api.github.com/users/steffentchr/followers","following_url":"https://api.github.com/users/steffentchr/following{/other_user}","gists_url":"https://api.github.com/users/steffentchr/gists{/gist_id}","starred_url":"https://api.github.com/users/steffentchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffentchr/subscriptions","organizations_url":"https://api.github.com/users/steffentchr/orgs","repos_url":"https://api.github.com/users/steffentchr/repos","events_url":"https://api.github.com/users/steffentchr/events{/privacy}","received_events_url":"https://api.github.com/users/steffentchr/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T20:38:43Z","updated_at":"2015-01-19T20:38:43Z","body":"Looks great -- but would you be able to add a few more lines of comments to the code? Mainly notes about the method for folder support and about the current Chrome-only status?"}}