skidding/dragdealer — pull request #16 by w0rm (2014-01-19 18:47:44+00:00)
Title: Wrap module in UMD wrapper

Not sure if we should test that it works with requirejs (I've tested it locally and it works).

But if we need to test this, then we should fix current Cursor implementation, that doesn't allow to use two modules on one page, because it overrides `document.onmousemove` and `document.ontouchmove`. So we have to wait until [this commit](https://github.com/skidding/dragdealer/commit/034dcf929375c26076cff734654c8dd521b73d70) gets into master, or fix current Cursor to use something similar to `Dragdealer.prototype.bindEventHandler` or add cross-browser listener from [this example](https://developers.google.com/analytics/devguides/collection/analyticsjs/events#crossbrowser).

Fixes #15.