jquery.textSelect
jquery.textSelect copied to clipboard
Add MSPointer support for mobile browsers
Add support for MSPointer events as they will likely be the new standard.
See also Issues #3 and #10 for other mobile support.
Basic idea:
var eventName = window.navigator.msPointerEnabled ? 'MSPointerUp' :
('touchend' in document ? 'touchend' : 'mouseup');
See Google's Polymer project for W3C-spec-compliant Pointer events (not 100% compatible with MSPointer events): https://github.com/polymer/PointerEvents
The jQuery core team will be working to integrate the ideas from Polymer's PointerEvents and add IE7-9 support.