mattbryson/TouchSwipe-Jquery-Plugin — pull request #194 by theangrydev (2014-10-08 15:39:31+00:00)
Title: Support 10 elements in fingerData and initialize identifiers correctly

I found a bug in jquery.touchSwipe.js

The bug resulted in a NPE at line 1596 (i.e. f.end.x = evt.pageX||evt.clientX;)
This was happening because touchMove calls getFingerData for an identifier that does not exist - this is because createAllFingerData was setting the identifier of all elements to 0 and not i

Additionally the code only supported identifiers 0 to 5 but this should probably be 0 to 10 to cover the case that a device supports 10 concurrent touch events (one per finger!)