UpgradingBetas

David Kaneda edited this page Dec 18, 2011 · 1 revision

A quick summary of changes between betas.

Upgrading from beta 1 to beta 2

First, download the new code and replace your jqtouch/ and themes/ directories. Then, take a quick peek at Animations, PublicObject, and Extensions to get a good overview of the new features.

Lastly, specific changes to existing features in the beta include:

  • pageTransitionStart/pageTransitionEnd are now pageAnimationStart/pageAnimationEnd
  • A shortcut has been added for swipe events, so you can use the traditional jQuery-style: $('#myelement').swipe(fn);
  • jQTouch now ships by default with useFastTouch: true. If you want to use this feature and have any custom onclick events, you should replace them with tap - i.e. $('#myelement').tap(fn);