On Fri, Oct 31, 2008 at 5:42 AM, Chris Prince <[EMAIL PROTECTED]> wrote:
> For future extensibility, it might be best not to assume files.  You
> mentioned dragging directories.  I suspect there are other things
> people may want to drag/drop over time?

Yeah, it's not necessarily files, but it's not necessarily Blobs (i.e.
binary data) either.

How about context.dataTypes being an array of strings, so you can go

if (arrayContains(context.dataTypes, 'files')) {
  // do something with context.files
}
if (arrayContains(context.dataTypes, 'addressBookEntries')) {
  // do something with context.addressBookEntries
}

Reply via email to