Test Case Boilerplate
Fork this way...
JavaScript
$(function($) {
o = {
i: 1
}
oW = $(o);
oH = $(o);
oW.animate({
i: 10
}, {
duration: 2000,
complete: function() {
alert('first animate complete');
oW.stop(true);
oW.animate({
i: 20
}, {
duration: 2000,
complete: function() {
alert('second animate never complete')
}
});
}
});
});