Permalink
Commits on Dec 1, 2012
  1. Merge pull request #13 from tomds/prevent-click

    Add config option to automatically call preventDefault() on the onclick event
    committed Dec 1, 2012
Commits on Nov 30, 2012
Commits on Oct 3, 2012
  1. Merge pull request #8 from paulirish/patch-1

    fix typo in readme
    committed Oct 3, 2012
  2. fix typo in readme

    paulirish committed Oct 3, 2012
Commits on Aug 29, 2012
  1. Merge pull request #7 from neshte/master

    Touchable changes proposal
    committed Aug 29, 2012
  2. Update touchable.js

    Changed e.preventDefauling from being used on touchstart to be used on touchmove, this way events like link clicks can continue to be touchable without losing their default behaviors. If people want to prevent some default behavior they can do it externally, not in the plugin. Because is impossible to undo a defaultbehavior once it has been set.
    
    Although an alternative is to simulate a click, in case of links, simulate a click will be kind of difficult (i know you can trigger a click event, but it won't have the security permissions and stuff like simulate a Ctrl+Click or a scroll click will be an innecesary pain).
    
    Also detected that on iOS Mobile Safari browsers both touchstart and mousdown handlers were being invoked, so if an animation was fired on touchstart, after some delay mousedown triggered the animation again. I think it is cleaner to have just one trigger depending on the browser capabilities better than having a dynamic set of callbacks firing inconsistently across browsers.
    
    Additionally: Fixed some code formatting and order (personal mental issues with indenting and ordering).
    Additionally: The dynamic usage of eventListeners, tried to have them uniformed all using jQuery bindings, there is no need to recode the cross browser eventListener support if this is actually a jQuery plugin and is running with jQuery. I know this change conflicts with the comment in the summary explaining to users that this plugin can easily be ported to other libraries like Zepto, maybe not with this change, but this can be roll-backed.
    neshte committed Aug 29, 2012
Commits on Oct 1, 2011
Commits on Feb 14, 2011
  1. updated todo

    committed Feb 14, 2011
Commits on Jan 21, 2011
  1. gh

    committed Jan 21, 2011
Commits on Jan 18, 2011
Commits on Jan 17, 2011
Commits on Jan 13, 2011
  1. license

    committed Jan 13, 2011
Commits on Jan 12, 2011
  1. rm files

    committed Jan 12, 2011
  2. update Readme

    committed Jan 12, 2011
  3. Readme

    committed Jan 12, 2011
  4. refacting directory structure

    committed Jan 12, 2011
  5. fixed f***n IE

    committed Jan 12, 2011
  6. turned on logging

    committed Jan 12, 2011
  7. turned on logging

    committed Jan 12, 2011
  8. turned on logging

    committed Jan 12, 2011
  9. fix

    committed Jan 12, 2011
  10. throw

    committed Jan 12, 2011
  11. gh-pages

    committed Jan 12, 2011
  12. merge with master

    committed Jan 12, 2011
  13. synct to gh-pages

    committed Jan 12, 2011
  14. synct to gh-pages

    committed Jan 12, 2011
  15. synct to gh-pages

    committed Jan 12, 2011
  16. make IE happy

    committed Jan 12, 2011
Commits on Dec 23, 2010
  1. index

    committed Dec 23, 2010
  2. spell

    committed Dec 23, 2010