Changeset [30e67f13c73429c9ed258a93af994dedb8dafded] by Brian Michalski
Revision 30e67f13c73429c9ed258a93af994dedb8dafded,
committed by Brian Michalski
· February 25th, 2012 @ 01:33 AM
Support multiple transitions.
Refactored transitions into a base class that provides a simple
cut transition (add new dom element, remove old element) and extend
that to provide a sequential fade (fade out new element then fade
in new element). You can create your own transitions extended the
Transition class just like Fade.
https://github.com/concerto/concerto/commit/30e67f13c73429c9ed258a9...
4 changed files
-
A
public/frontend_js/transitions/fade.js -
M
app/views/layouts/frontend.html.erb -
M
public/frontend_js/field.js -
M
public/frontend_js/transition.js