Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added: requested touch tests

  • Loading branch information...
commit 7bb2d94a2c714e8f3d032c1a40d68d33c5ba0799 1 parent 867392a
Lucas Green authored committed
Showing with 17 additions and 1 deletion.
  1. +17 −1 test/touch.html
View
18 test/touch.html
@@ -131,7 +131,23 @@
})
}, 50)
},
-
+
+ testScrollDoesNotFireTap: function(t){
+ var element = $('#test').get(0), fired = false
+
+ $('#test').on('tap', function () {
+ fired = true
+ })
+
+ down(element, 0, 0)
+ move(element, 0, 20)
+ move(element, 0, 20)
+
+ up(element)
+
+ t.assertEqual(fired, false)
+ },
+
testSingleTapDoesNotInterfereWithTappingTwice: function(t){
var count = 0, element = $('#test').get(0)
Please sign in to comment.
Something went wrong with that request. Please try again.