There's a little bug in version 0.1. The jq_visual_effect
helper generates the default speed with an unquoted string. For example, it should be:$('#me').fadeTo('normal', opa, function(){});
but the buggy method generates:$('#me').fadeTo(normal, opa, function(){});
There are 2 ways to eliminate this bug.
- You can pass the
:speed
argument with"'slow'"
,"'normal'"
or"'fast'"
(i.e. add the quote yourself). - The other way is to modify the
jq_visual_effect
helper inlib/jq4r.rb
and add quotes around${speed}
.
No comments:
Post a Comment