gabriel-cardoso/ocaml-jquery — pull request #1 by pveber (2012-09-05 11:42:40+00:00)
Title: Effect duration encoding

Hi,

I spotted a bug using the fade{To,In,Out} methods of the [jQuery] class. They are due to a wrong encoding of the effect duration. I modified the example to show it, see:

https://github.com/pveber/ocaml-jquery/commit/99c61b5451190d7d9cf950215b3d528716df2737

The proposed patch uses [Obj.magic]; maybe this can be done in a more graceful way?

Cheers,
Philippe.