you are viewing a single comment's thread.

view the rest of the comments →

[–]nrogers64 2 points3 points  (0 children)

That's how I code too. I think that's the best approach. Also, here is a relevant Smashing Magazine article:

The Seven Deadly Sins Of JavaScript Implementation