senchalabs / jQTouch

Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).
http://www.jqtouch.com/
MIT License
2.79k stars 592 forks source link

Animation Selectors don't work #520

Open levic opened 9 years ago

levic commented 9 years ago

The documentation at https://github.com/senchalabs/jQTouch/wiki/Initialization%20Options talks about the animation selectors.

Code for this existed in the pre-coffescript version (eg v0.97.0rc7 jqtouch.js line 497).

Code to handle this does not exist in the coffeescript version [start() doesn't touch the animations array, and getAnimation() simply iterates through this array], so without modifying the jqt source the only change you can make to animations is changing the default selector.