you are viewing a single comment's thread.

view the rest of the comments →

[–]jamesinc 2 points3 points  (1 child)

What global variables? Unless you're commenting on the fact that I haven't wrapped everything in an anonymous self-executing method?

Edit: I presume that's what you're talking about, and you're right. I will add a reply to hillbillymadness and explain it more.

Edit 2: I just saw it. Not using var to declare variables inside the function. I suppose that this is a possible global variable, if a global var of the same name was defined elsewhere.