Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4880 from appendto/events-swipe-unit-tests-fix

Event: Fixed loading and reloading of touch support. Fixed #4879 - Swipe...

Tested locally before green button merge, cherry pick to 1.1-stable in the works.
  • Loading branch information...
commit 7376b4523f2ef8bf167c21b4c360a03de1a3695e 2 parents 78f114a + 4f4e3b5
@johnbender johnbender authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  tests/unit/event/event_core.js
  2. +1 −0  tests/unit/event/index.html
View
1  tests/unit/event/event_core.js
@@ -132,6 +132,7 @@
var forceTouchSupport = function(){
document.ontouchend = function() {};
+ $.testHelper.reloadLib( "jquery.mobile.support.touch.js" );
$.each( components, function( index, value ) { $.testHelper.reloadLib( value ); });
//mock originalEvent information
View
1  tests/unit/event/index.html
@@ -13,6 +13,7 @@
</script>
<script src="../../../js/jquery.mobile.define.js"></script>
+ <script src="../../../js/jquery.mobile.support.touch.js"></script>
<script src="../../../js/jquery.mobile.events.js"></script>
<script src="../../../js/events/touch.js"></script>
<script src="../../../js/events/throttledresize.js"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.