{"action":"opened","issue":{"url":"https://api.github.com/repos/uxcore/uxcore-uploader/issues/13","repository_url":"https://api.github.com/repos/uxcore/uxcore-uploader","labels_url":"https://api.github.com/repos/uxcore/uxcore-uploader/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/uxcore/uxcore-uploader/issues/13/comments","events_url":"https://api.github.com/repos/uxcore/uxcore-uploader/issues/13/events","html_url":"https://github.com/uxcore/uxcore-uploader/issues/13","id":153974051,"number":13,"title":"safari7 'DataTransfer' in window返回false导致错误","user":{"login":"weinot","id":12729854,"avatar_url":"https://avatars.githubusercontent.com/u/12729854?v=3","gravatar_id":"","url":"https://api.github.com/users/weinot","html_url":"https://github.com/weinot","followers_url":"https://api.github.com/users/weinot/followers","following_url":"https://api.github.com/users/weinot/following{/other_user}","gists_url":"https://api.github.com/users/weinot/gists{/gist_id}","starred_url":"https://api.github.com/users/weinot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinot/subscriptions","organizations_url":"https://api.github.com/users/weinot/orgs","repos_url":"https://api.github.com/users/weinot/repos","events_url":"https://api.github.com/users/weinot/events{/privacy}","received_events_url":"https://api.github.com/users/weinot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-10T10:30:49Z","updated_at":"2016-05-10T10:30:49Z","closed_at":null,"body":"```js\r\n// src/collector/picker.js\r\n\r\nif (('DataTransfer' in window) && ('FileList' in window)) {\r\n    this.triggerCollection = new Html5TriggerCollection(core, onFiles);\r\n} else {\r\n    this.triggerCollection = new FlashTriggerCollection(core, onFiles);\r\n}\r\n```\r\n上面代码在safari7（**虚拟机**）下由于 'DataTransfer' in window返回false，导致使用FlashTrigger，从而出现不能上传的错误，由于找不到真机的safari7，麻烦帮忙验证一下真机上会不会有这种情况，十分感谢！"}}