Hi,

when using prototype and scriptaculous, isn't it confusing sometimes to remember which ones you have to use new and which ones that are just static function call.

For example:
new Insertion.Before(...);
new Effect.Opacity(...)

Effect.Fade(..);
Effect.Appear(...);

I havent really looked at the implementation, but out of curiosity, I'm just wondering is there a reason some of the function must instantiate new object, most of the time you dont even use the object after instantiating it. am I correct?

thanks,
- reynard
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to