1N50MN14/Ractive-transitions-scale — pull request #1 by RactiveJS (2013-12-28 18:13:40+00:00)
Title: update to be compatible with Ractive 0.3.9

Hi Ayman,

Some changes to the transitions API with the latest version. First, parameters are passed to the transition function as arguments, rather than being attached to the transition object.

Secondly, values like `2000` or `fast` were previously interpreted as durations before the appropriate `duration` property was added to the transition. That doesn't work so well now that parameters are passed as arguments, so there's now a `t.processParams()` method, which takes care of that. It takes a second argument of default parameters.

Finally the `t.animateStyle()` method now expects the animation parameters (`duration`, `easing` and `delay`, the second two of which are optional) to be passed as the second argument, and the third argument is a callback that gets called when the animation is complete (rather than it just assuming the transition was over and calling `t.complete()` itself, which prevents more complex animations being chained together).

The docs have [been updated on the wiki](https://github.com/RactiveJS/Ractive/wiki/Transitions)

Cheers, Rich