ある種のアニメーションやその他のことを行ういくつかの機能があるとしましょう。
function animations1() {
$('some_object').animation();
...
}
function animations2() {
$('some_object').animation();
...
}
function animations3() {
$('some_object').animation();
...
}
これらの関数を連鎖させる最良の方法は何でしょうか? ei call animations2when animations1is completed と call animations3, when animations2is complete?