I guess it's each to their own :) and that's what keeps things interesting!

Personally, any external JS files I use I like to consider libraries
of code that I can include without having to think about... and I
don't really want them doing stuff triggered by events (of any kind)
unless I first set those events up.

On 8/18/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
<snip>
>
> Maybe you are right. On the other hand I like to have all in one place
> (hey gilles ;-)).
>
> Say you want to refactor the name of one function or you want to add
> another parameter. You would have to go to two files to edit. Hm, that's
> exactly the same you are talking about, just another case...
>
> Actually I took it always for a benefit of all the addEvent functions,
> that I did not need to put everything into one single init function and
> be able to simply add an event without overwriting existing ones. I
> think the init function is kind of legacy style from the times when
> everything went into the body's onload attribute - just my 2 $.
>
>
> -- Klaus
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to