jellyjs / angular2-file-drop

Angular2 component with Drag and Drop support for files
23 stars 18 forks source link

Fixes to support Safari iOS browser #6

Closed dotansimha closed 8 years ago

dotansimha commented 8 years ago

the "DragEvent" does not exists in Safari iOS and causes an error:

ReferenceError: Can't find variable: DragEvent
(anonymous function) — file-drop.js:121
(anonymous function) — file-drop.js:145
fileEvaluate — install.js:153
require — install.js:82
(anonymous function) — file-drop-module.js:12
fileEvaluate — install.js:153
require — install.js:82
(anonymous function) — index.js:5
fileEvaluate — install.js:153
require — install.js:82
(anonymous function) — app.module.ts:21
fileEvaluate — install.js:153
require — install.js:82
(anonymous function) — main.ts:5
fileEvaluate — install.js:153
require — install.js:82
Global Code — utils.js:97
dotansimha commented 8 years ago

@kamilkisiela