timruffles/ios-html5-drag-drop-shim — pull request #26 by xStrom (2014-11-26 08:34:13+00:00)
Title: Actually do cleanup.

I found out, much to my surprise, that the ```cleanup``` function is pretty much a no-op in most cases. That is because when it's called from the ```ontouchend``` event handler, the ```this``` variable inside ```cleanup``` refers to ```window```.

This patch correctly binds the ```DragDrop``` object. It also modifies the ```snapBack``` method to work with the fact that some of that code needs to run after ```cleanup```.