Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added drop text support #25

Merged
merged 2 commits into from
Aug 4, 2016
Merged

Conversation

codealchemist
Copy link
Contributor

This will be useful in WebTorrent Desktop to load torrents from dropped magnet links.

@codealchemist
Copy link
Contributor Author

Relates to webtorrent/webtorrent-desktop#284

@feross
Copy link
Owner

feross commented Aug 4, 2016

LGTM, but I think this should be it's own event. All the code that uses this package currently assumes that the array passed to onDrop will contain File objects. I'll make the changes after merging this PR.

@feross feross merged commit cf16008 into feross:master Aug 4, 2016
feross added a commit that referenced this pull request Aug 4, 2016
Add `onDropText` listener for text drops
@feross
Copy link
Owner

feross commented Aug 4, 2016

Added a onDropText event. Released as 2.12.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants