bevacqua / dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/dragula/
MIT License
21.89k stars 1.97k forks source link

fix #447: Remove root references to document #690

Open gristow opened 2 years ago

gristow commented 2 years ago

Moves references to document within functions so that dragula can be required/imported in a non-browser context. Fixes #447.