madrobby/zepto — pull request #664 by thomasyip (2012-12-18 04:53:29+00:00)
Title: Use `originalEvent` if available for jQuery compatibility 

Zepto's `touch.js` is widely used, with or without Zepto, as evidenced by relatively large numbers of pull requests on the file, especially since jQuery does not handle those events.

This simple patch will make `touch.js` "compatible" with jQuery, helping `touch.js` somewhat a defacto standard. (we simply assign `window.Zepto = jQuery`, in case Zepto is not available.)

At jQTouch, we rather pull the effort into get `touch.js` and we are trying to rid our own. I really wish you will consider this patch.

This patch pass all existing tests in `test/touch.html`, and I don't think it warrant a new tests. (but, feel free to suggest if you think one might be appropriate.)