yui/yui3 — pull request #274 by juandopazo (2012-09-20 16:08:51+00:00)
Title: Fix ScrollViewPaginator#scrollToIndex not taking anim duration/easing

`ScrollViewPaginator#scrollToIndex()` takes an animation duration and easing that aren't having any effect. This is because `paginator.set('index', index)` triggers another call to scrollToIndex. This patch fixes that behavior by passing an "src" option to `paginator.set('index', index, {src: UI})`.

I added tests that check the time spent in the animation (with a margin
of error)