When there's a tap the swipe event is fired on Nokia Symbian and Play…
…book tablet devices (this should not be the case since this is just a tap and not a swipe). Instead of checking if x2 and y2 are > 0, just checking to see if they are defined fixes this issue. Also re-factored the code a bit by moving the delta comparison in the conditional check. This has been tested on Playbook, Nokia Symbian, iPad and iPhone devices.
When there's a tap, the swipe event is fired on Nokia Symbian and Pla…
…ybook tablet devices (this should not be the case since this is just a tap and not a swipe). It seems that there is a slight move when tap event is fired on these devices, so touch.x2 and touch.y2 get set. But because the delta comparison Math.abs(touch.x1 - touch.x2) > 30) and Math.abs(touch.y1 - touch.y2) > 30) are inside the conditional block that checks if touch.x2 or touch.y2 > 0, the last conditional else if ('last' in touch) is never reached. Moving the delta comparison in the conditional check fixes this issue. This has been tested on Playbook, Nokia Symbian, iPad and iPhone devicesremove misleading "you need to include touch.js"
"touch.js" is included in the default distribution
exclude FIELDSET elements from serializeArray()
This affected Google Chrome. Closes #340
for functional tests, show the userAgent to make it easier to compare…
… cross-platform/version results
Add new singleTap event, modify behavior for firing tap.
Allows devs to use either "tap" or "singleTap," depending on whether they want to use the 250ms "buffer" for a doubleTap. Also cache the element for performance, and avoid the target keyword.
Merge pull request #346 from davidkaneda/master
Modification to tap behavior
Merge pull request #354 from renaudleo/master
Correct misleading instructions in README
Calling get() without an index return array of all elements found (ac…
…cording to documentation). The problem was that it returned the zepto object (not a real array).
return empty array when querying invalid node type
Merge pull request #393 from dstokes/master
Return an empty array when querying an invalid nodeType
Merge pull request #391 from dbrockman/patch-1
Calling get() without an index return array of all elements found
JSONP requests that hit a 404 will now correctly invoke the error cal…
…lback. Fixes #388. Thanks @tvandervossen for the patch.
Added support for blur & focus in delegate()
Manipulated `blur` & `focus` into `focusout` & `focusin` so that the events bubble and can be caught.
made $.fn.load more compatible with jQuery
in jQuery, $.fn.load doesn't execute scripts when a selector is used. This commit adds that behaviour to Zepto.js
Merge pull request #411 from i8ramin/zepto
--- The current README file lacks any documentation on how to run the unit tests. There seem to be two different set of tests as well. I am not sure if I have covered everything here, but please update the docs with better information on how to run the tests and how to determine if they all pass.