We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3dfcf6 commit 0b41fe8Copy full SHA for 0b41fe8
tests/unit/event/event_core.js
@@ -22,6 +22,9 @@
22
Math.abs = absFn;
23
$.Event.prototype.originalEvent = originalEventFn;
24
$.Event.prototype.preventDefault = preventDefaultFn;
25
+
26
+ // make sure the event objects respond to touches to simulate
27
+ // the collections existence in non touch enabled test browsers
28
$.Event.prototype.touches = [{pageX: 1, pageY: 1 }];
29
30
$($.mobile.pageContainer).unbind( "throttledresize" );
0 commit comments