added comment for the touches event proto addition

This commit is contained in:
John Bender 2011-09-02 13:56:37 -07:00
parent c3dfcf6bdf
commit 0b41fe808c

View file

@ -22,6 +22,9 @@
Math.abs = absFn;
$.Event.prototype.originalEvent = originalEventFn;
$.Event.prototype.preventDefault = preventDefaultFn;
// make sure the event objects respond to touches to simulate
// the collections existence in non touch enabled test browsers
$.Event.prototype.touches = [{pageX: 1, pageY: 1 }];
$($.mobile.pageContainer).unbind( "throttledresize" );