On Wednesday 25 January 2006 11:34, Cam McVey wrote:
> Louis,
>
> You can do it that way, but you need to drop the brackets. So, your code
> becomes:
>
> onDrop:doTheThing
>
> This also means you can't pass anything into the function.

but you can also do:
onDrop: function() { doTheThing(args); }

if you want to pass arguments

-Jeremy
-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.

Attachment: pgpW2UcSB7zs3.pgp
Description: PGP signature

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to