kamicane/moofx — Issue #2: Is README.md outdated?
Author: lorenzos
Created: 2012-02-28 15:31:34+00:00
State: open

I was just playing with **moofx** when I noticed that the `duration` option do not work if an integer number (intended as milliseconds) is given.

moofx(el).animate('height', 300, { duration: 10000 }); // Sets to 300px immediately
moofx(el).animate('height', 300, { duration: '10s' }); // Works

In *README.md* lots of examples shows an integer `duration` option to specify durations in ms.