senchalabs/jQTouch — pull request #329 by dokterbob (2011-11-21 15:16:20+00:00)
Title: Attempt at fixing #278; 2d animation fallbacks

As mentioned in #278, the animation fallback mechanism actually changes the names of the animation objects rather than changing a reference to them - creating all sorts of havoc on non-3D capable devices.

This patch is a simple attempt at fixing the issue; rather than updating the name of the animation itself, it simply uses a variable `initialAnimationName` and from there on follows normal processing in order to end up at `finalAnimationName`.

The code has been tested on Android so far, iOS devices are soon to follow. Any feedback from the community is also welcome and appreciated. :)